We have just added lip-sync to YepAPI with two HeyGen models. Send one image of your character and an MP3 or WAV of the line, and get back a video in which they say it, as long as your audio. Avatar 6 is $0.211 per second at 1080p and Avatar 6 Turbo is $0.106.
What's new
- HeyGen Avatar 6: $0.211/sec at 1080p, $0.306/sec at 2K
- HeyGen Avatar 6 Turbo: $0.106/sec at 1080p, $0.185/sec at 2K
- Audio by URL (`options.referenceAudioUrl`) or in the request (`audioData`), MP3 or WAV, up to 60 seconds
- MiniMax H3 takes up to nine reference images, a reference video and a reference audio track in one job
Endpoints in this release
How it works
Queue a job with the image in `imageData` and the speech in `options.referenceAudioUrl`, then poll it like any other video. The clip follows the audio's length and the image's shape, so there is no duration or aspect ratio to set. The prompt describes how the character behaves; it isn't spoken.
{
"model": "heygen/heygen-avatar-6-turbo",
"prompt": "Speaks quietly to the camera, small nods",
"imageData": { "mimeType": "image/jpeg", "base64": "..." },
"options": { "referenceAudioUrl": "https://example.com/line-01.mp3" }
}Who you can animate
Characters you created, or people who gave explicit consent, with audio you have the right to use. Voice cloning and face swaps are still not offered; the Acceptable Use Policy has the details.
Price updates
MiniMax H3 is $0.26/sec and Hailuo 2.3 is $0.093/sec ($0.56 for 6 seconds), following their upstream prices. Nano Banana images now come out lower: about $0.28 for a 1K Pro image and $0.14 for Flash. Kling Omni is $0.19/sec at 1080p or $0.126/sec at 720p, and $0.25 or $0.189 with a reference video.