Skip to content

magichourhq/magic-hour-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Hour Rust SDK

Crates.io Version

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

cargo add magic_hour

Usage

use magic_hour;

let client = magic_hour::Client::default()
    // generate your API Key at https://magichour.ai/developer
    .with_bearer_auth("my api token");

Warning

Any API call that renders a video will utilize frames in your account.

Module Documentation and Snippets

  • create - Generate asset upload urls
  • create - Image Background Remover
  • delete - Delete image
  • get - Get image details
  • delete - Delete video
  • get - Get video details