Magic Hour API Rust SDK
Overview
Introduction
Magic Hour provides an API (beta) that can be integrated into your own application to generate videos using AI.
Webhook documentation can be found here.
If you have any questions, please reach out to us via discord.
Authentication
Every request requires an API key.
To get started, first generate your API key here.
Then, add the Authorization header to the request.
| Key | Value |
|---|---|
| Authorization | Bearer mhk_live_apikey |
Warning: any API call that renders a video will utilize frames in your account.
Example Client Initialization
let client = default
.with_bearer_auth;
Module Documentation and Snippets
v1.ai_clothes_changer
- create - AI Clothes Changer
v1.ai_headshot_generator
- create - AI Headshots
v1.ai_image_generator
- create - AI Images
v1.ai_image_upscaler
- create - AI Image Upscaler
v1.ai_photo_editor
- create - AI Photo Editor
v1.ai_qr_code_generator
- create - AI QR Code
v1.animation
- create - Animation
v1.face_swap
- create - Face Swap video
v1.face_swap_photo
- create - Face Swap Photo
v1.files.upload_urls
- create - Generate asset upload urls
v1.image_background_remover
- create - Image Background Remover
v1.image_projects
v1.image_to_video
- create - Image-to-Video
v1.lip_sync
- create - Lip Sync
v1.text_to_video
- create - Text-to-Video
v1.video_projects
v1.video_to_video
- create - Video-to-Video