magic_hour

Crates.iomagic_hour
lib.rsmagic_hour
version0.36.0
created_at2024-11-14 05:21:42.22268+00
updated_at2025-08-23 02:10:26.319038+00
descriptionMagic Hour Rust SDK
homepage
repository
max_upload_size
id1447432
size473,916
(magichourai-admin)

documentation

README

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

v1

v1.ai_clothes_changer

v1.ai_face_editor

v1.ai_gif_generator

v1.ai_headshot_generator

v1.ai_image_editor

v1.ai_image_generator

v1.ai_image_upscaler

v1.ai_meme_generator

v1.ai_photo_editor

v1.ai_qr_code_generator

v1.ai_talking_photo

v1.animation

v1.auto_subtitle_generator

  • create - Auto Subtitle Generator

v1.face_detection

  • create - Face Detection
  • get - Get face detection details

v1.face_swap

v1.face_swap_photo

v1.files

v1.files.upload_urls

  • create - Generate asset upload urls

v1.image_background_remover

  • create - Image Background Remover

v1.image_projects

  • delete - Delete image
  • get - Get image details

v1.image_to_video

v1.lip_sync

v1.photo_colorizer

v1.text_to_video

v1.video_projects

  • delete - Delete video
  • get - Get video details

v1.video_to_video

Commit count: 0

cargo fmt