AI Video & Image Creation API
Integrate generative AI video and image capabilities to your app in minutes. Built for developers, by developers.
Get Started For Freefrom magic_hour import Client
from os import getenv
client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.face_swap.create(
assets={
"image_file_path": "image/id/photo.png",
"video_source": "file",
"video_file_path": "video/id/movie.mp4",
},
start_seconds: 0,
end_seconds: 15,
height: 720,
width: 1280,
)
Trusted by teams at:
Integrate Dozens of AI Tools in Minutes
Whatever your needs, we have the right tool to help you scale.
SDKs for Your Tech Stack
Our SDKs support multiple popular languages, making integration seamless and fast
Scale Your App Automatically
Magic Hour automatically scales up compute to handle demand, with no limit. If you do not get any traffic, we scale down to zero and you are not charged.
Create an API Key for FreeBuild AI Features in a Day
Get set up in minutes with our well-documented APIs, robust SDKs in multiple languages, sample code, and tutorials for seamless AI deployment.
Take Infrastructure off Your Plate
Deploying large-scale ML means dealing with server setup, dependency headaches, oversized models, and CUDA complexities. We take care of it for you, so you can focus on innovation.
Only Pay For What You Use
We only charge you for how much you use, no monthly subscriptions or paying for GPUs when you are not using them.
Contact Us For Usage Based PricingEstimate Your API Costs
Simple transparent pricing based on your usage. Only pay for what you need and get volume discounts as you scale.
Seconds of Video
Estimated monthly cost
$46.80
Based on 24 FPS
Get Access to Usage-Based Pricing
Tell us about your usage needs, and we will provide access to our flexible, usage-based pricing model.