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 on paid plans
Subscription or usage-based
Auto-scaling
dragon
galaxy sky
girl
halo
pool
space jump
spaceship
steampunk scene
anime warrior
petal storm
sunny meadow

Trusted by teams at

meta
nba
loreal
puma
cisco
deel
shopify
decathlon
dallas-mavericks
pittsburgh-pirates
tala
dyson
dazn
wsc-sports

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.
Get Started Free

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(
    name="My Image-to-Video",
    end_seconds=5,
    resolution="480p",
    assets={"image_file_path": "/path/to/image.png"},
    style={"prompt": "waves crashing"},
)
API Docs

Estimate Your API Costs

Build with model-specific APIs for video, image generation, and image editing. Compare inputs, examples, and capabilities across Magic Hour's supported models.
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Annual
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO ANNUAL covers your usage
Estimated usage
24,000credits / month
Included
25,000credits / month
Remaining headroom
1,000credits / month
TOTAL BILL
$300
/year

Image-to-Video API Pricing

Subscription plans for standard usage.

Prefer usage-based pricing?

Email us or message us in Intercom and we will set up your usage-based pricing.

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 typically moves to a paid subscription or usage-based plan.

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 $15/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. You can also contact us to set up usage-based (pay-as-you-go) pricing. 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.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

Start Building with the Magic Hour Image-to-Video API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.