repository
0.8.5
Repository: https://github.com/magichourhq/magic-hour-go.git
Documentation: pkg.go.dev
# README
Magic Hour Go SDK
Magic Hour provides an API (beta) that can be integrated into your own application to generate videos and images using AI.
Webhook documentation can be found here.
If you have any questions, please reach out to us via discord.
Install
go get -u github.com/magichourhq/magic-hour-go
Usage
Initialize the client
import (
sdk "github.com/magichourhq/magic-hour-go/client"
)
// generate your API Key at https://magichour.ai/developer
client := sdk.NewClient(sdk.WithBearerAuth("my api key"))
[!WARNING] Any API call that renders a video will utilize frames in your account.
Module Documentation and Snippets
V1.AiClothesChanger
- create - AI Clothes Changer
V1.AiHeadshotGenerator
- create - AI Headshots
V1.AiImageGenerator
- create - AI Images
V1.AiImageUpscaler
- create - AI Image Upscaler
V1.AiPhotoEditor
- create - AI Photo Editor
V1.AiQrCodeGenerator
- create - AI QR Code
V1.Animation
- create - Animation
V1.FaceSwap
- create - Face Swap video
V1.FaceSwapPhoto
- create - Face Swap Photo
V1.Files.UploadUrls
- create - Generate asset upload urls
V1.ImageBackgroundRemover
- create - Image Background Remover
V1.ImageProjects
V1.ImageToVideo
- create - Image-to-Video
V1.LipSync
- create - Lip Sync
V1.TextToVideo
- create - Text-to-Video
V1.VideoProjects
V1.VideoToVideo
- create - Video-to-Video