Talking Photo API for Developers

Talking Photo API

Drive a still portrait with speech audio—ideal for personalized outreach, digital humans, and lightweight video content.

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

Trusted by teams at

Everything You Need to Ship Talking Photo

Single-image animation with audio sync, generation modes, and timing controls for trustworthy delivery.

Portrait Animation
Animate a face from a photo using uploaded speech while preserving likeness within mode constraints.
Audio-Driven Performance
Use the same audio pipelines as other video tools—upload, reference file paths, and trim precisely.
Creative Modes
Tune generation_mode and related style fields to balance realism versus expressive motion.
Fast Generation
Great for outbound campaigns and app onboarding flows that need quick personalized clips.
Auto-Scaling Infrastructure
Scale fan-out jobs when thousands of users generate clips at once.
Commercial-Ready
Paid tiers support polished, non-watermarked exports for customer-facing products.

Integrate in 3 Steps

Ship personalized talking head experiences from a photo plus audio.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Pair Image & Audio
Upload portrait and audio files, set start/end seconds, and POST to the AI talking photo endpoint.
3
Get Results & Scale
Save the project ID. Poll GET /v1/video-projects/{id} until the job completes or listen for video.completed, then get the file URLs from downloads.
Get Started Free

Code Examples

Talking Photo 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.ai_talking_photo.generate(
    assets={
        "audio_file_path": "/path/to/1234.mp3",
        "image_file_path": "/path/to/1234.png",
    },
    end_seconds=5.0,
    start_seconds=0.0,
    name="My Talking Photo video",
    resolution="480p",
    wait_for_completion=True,
    download_outputs=True,
    download_directory="."
)
API Docs

Estimate Your API Costs

Choose your settings and volume to estimate the credits and cost.

API Calculator

How will you use the API?
For projects with recurring generation needs.
≈ 100 videos of 5 seconds each
Estimated monthly usage

24,000 Credits

≈ 100 videos (5 sec each) · $0.0749/sec
Based on your selected model, resolution, and usage volume. Rate assumes you use all included credits.
Best plan for your usage

Pro

For professional work and frequent production
$39
/ month
Billed monthly
-36%
$39
$25
/ month · $300 billed yearly
Save $168 compared to monthly
25,000 credits per month
Up to 17.4 min of video
Up to 5,000 images
OR
All payment options
Estimates in USD. Final price and currency shown at checkout.

Talking Photo 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 Talking Photo API to power real products.

Sales & Outreach
Send prospects personalized video messages narrated by synthetic or recorded audio.
Social & Meme Apps
Let users make talking memes from selfies with minimal UI surface area.
E-Commerce
Animate founder photos or mascots for launches and loyalty campaigns.
Media Kits
Produce lightweight host segments without full video shoots.
Games & Avatars
Give NPC portraits audible lines for narrative moments.
Education
Turn instructor photos into announcement clips for LMS platforms.
Try before integrating

Try Talking Photo 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.

Talking Photo API — Frequently Asked Questions

It is a video generated from a still portrait plus audio, with facial motion synchronized to the soundtrack.

Use POST /v1/ai-talking-photo with assets referencing uploaded image and audio file paths.

Set start_seconds and end_seconds to select the audio segment. Maximum clip length depends on style.generation_mode; see the endpoint reference for current limits.

Yes. Pass generation_mode and related style parameters supported by the API for realism or expressiveness.

Results vary with photo quality, lighting, and mode—validate with your own content samples.

Magic Hour processes assets per its data handling policies; check security docs for retention details.

Official Python and Node SDKs expose ai_talking_photo / aiTalkingPhoto helpers.

Track video project status via the standard Magic Hour project polling or webhook integrations.

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 Talking Photo. 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.

Start Building with the Magic Hour Talking Photo API

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