Image-to-Video API for Developers
Image-to-Video API
Upload an image, describe motion, and receive a video. Ideal for social, ads, and creative tools—without running your own diffusion stack.
Free credits on signup
Transparent per-credit pricing
No watermarks with paid plans or credit packs
Subscriptions, credit packs, or usage-based billing
Auto-scaling
dragon
galaxy sky
girl
halo
pool
space jump
spaceship
steampunk scene
anime warrior
petal storm
sunny meadow
Trusted by teams at
Everything You Need to Ship Image-to-Video
Bring stills to life with motion prompts and model options—one API for vertical, square, and landscape delivery.
Image-to-Video Generation
Start from a single (or start/end) image and generate motion-aligned video for ads, social, and product demos.
Resolution & Framing
Control dimensions and output quality so clips match TikTok, Reels, YouTube, and web placements.
Optional Motion Prompts
Guide camera moves, pacing, and style with prompts while the pipeline handles temporal consistency.
Fast Turnaround
Async processing with clear job states—optimized so your UX stays snappy while renders complete.
Auto-Scaling Infrastructure
Elastic compute for bursty creator traffic or steady SaaS usage—no GPU fleet to operate.
Commercial-Ready
Non-watermarked outputs on paid tiers for apps, agencies, and platforms shipping to customers.
Integrate in 3 Steps
From image upload to animated clip—fully managed end to end.
1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Upload an Image & Prompt Motion
Provide an image file path (after upload) and optional motion prompt. The API returns a video project job.
3
Get Results & Scale
Receive the output via response or webhook. Deploy to production — infrastructure scales automatically.
Code Examples
Image-to-Video in a few lines of code. Install an SDK or use the REST API directly.
from magic_hour import Client
from os import getenv
client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.image_to_video.generate(
assets={"image_file_path": "/path/to/1234.png"},
end_seconds=5.0,
name="Image To Video video",
resolution="720p",
wait_for_completion=True,
download_outputs=True,
download_directory="."
)Generate Image-to-Video with Leading AI Models
Turn images into videos using Magic Hour's supported video models. View each model's API page for inputs, examples, and usage details.

Kling 3.0
High-quality video generation with improved motion, cinematic fidelity, and strong prompt control.

Seedance 2.5
Best for premium realism, detail, and natural motion. Reference-to-video included.

Veo 3.1
Google's frontier model. Great for realism, polish, dialogue, and prompt adherence.

LTX 2.5
Lightricks' fastest model. Synced audio, long clips, and rapid iteration.

MiniMax H3
Reference-driven video with native audio and longer durations.

Seedance 2.0
High-quality text-to-video and image-to-video. Strong coherence and style control.

Kling 3.0 Omni
Dialogue-friendly video with native audio and reference-to-video.

Wan 2.2
Smooth motion and coherence for video-to-video. Preview first frame first.

Google Omni
Edit videos with natural language prompts. Precise first/last frames and high-resolution output.

Wan 3.0
High-quality video with native audio, long clips, and end-frame control.

Kling 2.6
Best for action, motion blur, and controlled camera moves.

Veo 3.1 Lite
Balanced realism and audio at a lower cost than Veo 3.1.

Seedance 2.0 Mini
Faster, lower-cost Seedance 2 with reference-to-video.

Seedance 1.5
Best for smooth, consistent motion with an end frame.
Estimate Your API Costs
Every generation uses credits. Prepay with a subscription or one-time credit packs, or request usage-based billing for monthly invoicing and volume discounts.
Pricing tier options
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Yearly
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 60,000 images
PRO YEARLY covers your usage
- 24,000credits / month
- 25,000credits / month
- 1,000credits / month
Estimated usage
Included
Remaining headroom
TOTAL BILL
$300
/year
SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
Image-to-Video API Pricing
Subscription plans for standard usage.
Need usage-based billing?
Email us or message us in Intercom for monthly billing with graduated volume discounts.
Built for Builders
See how developers use the Image-to-Video API to power real products.
Social & Creator Tools
Let users animate portraits, memes, and product stills into short clips inside your editor or mobile app.
Ads & Performance Marketing
Spin up motion variants from static product shots for testing hooks and creative fatigue.
E-Commerce Catalogs
Turn on-model stills into subtle motion loops for PDPs, email, and paid social retargeting.
Media & Entertainment
Prototype shots, storyboards, and pitch materials without blocking on full production schedules.
Games & Avatars
Animate character art and player uploads for profile videos, lobby loops, and shareable moments.
Education & Training
Make diagrams, slides, and still diagrams more engaging with light motion for learners.
Try before integrating
Try Image-to-Video Free — No Code Required
Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.
Image-to-Video API — Frequently Asked Questions
It converts still images into short videos using generative models. You supply image assets (via upload URLs) and optional prompts.
No. Magic Hour runs inference and scaling. You integrate with REST or SDKs and handle only your app logic.
Use the file upload endpoints to obtain file_path values, then reference those paths in the image-to-video request body.
When supported by the product configuration, you can supply additional frame references—check the docs for current fields.
Common raster image formats used elsewhere in Magic Hour APIs apply; see the reference for exact MIME and size limits.
Projects return identifiers you poll via the video project APIs or observe through webhooks when enabled.
New accounts include trial credits. Production usage can use a paid subscription, one-time credit packs, or usage-based billing by request.
Full request and response schemas live at docs.magichour.ai under the image-to-video tool and API reference.
Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. One-time credit packs add credits without a subscription. Usage-based billing with graduated volume discounts is available by request. A free tier with credits is available on signup — no credit card required.
Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Image-to-Video. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.
New accounts get free credits to test supported free-tier API endpoints. Some models and resolutions require a paid plan; check the current endpoint page and pricing before integrating.