Skip to content

Latest commit

 

History

137 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Hour Go SDK

Go Reference

The Magic Hour Go SDK provides convenient access to the Magic Hour API for generating AI videos, images, and audio.

For full API documentation, visit docs.magichour.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

  • create - AI Headshot Generator
  • create - AI QR Code Generator
  • delete - Delete audio
  • get - Get audio details
  • create - Auto Subtitle Generator
  • create - Face Detection
  • get - Get face detection details
  • create - Generate asset upload urls
  • create - Image Background Remover
  • delete - Delete image
  • get - Get image details
  • delete - Delete video
  • get - Get video details

About

Go library for the Magic Hour API.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages