PeumeAPI

AI generation

Avatar IV

Avatar IV is an image-to-video model that animates a single photo into an expressive, lip-synced talking-head video. Rather than only matching mouth shapes to words, it interprets the vocal...

$2.25 per lookup, only when found

Call it

curl https://api.peume.com/v1/call/avatar-iv \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "example/avatar-iv",
    "prompt": "Welcome to our product tour. Let me show you the three features our customers love most.",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: avatar-iv.

Parameters

modelRequiredstring

heygen/avatar-iv

Example: example/avatar-iv

promptRequiredstring

For Avatar IV the prompt is the spoken TTS script when no audio input_references item is supplied.

Example: Welcome to our product tour. Let me show you the three features our customers love most.

durationinteger

Example: 5

resolutionstring

720p · 1080p

Example: 720p

aspect_ratiostring

16:9 · 9:16 · 1:1

Example: 16:9

generate_audioboolean

The live rate card marks generate_audio: false for this model. Speech comes from the prompt script (TTS) or an audio input_references item, not this flag.

Example: false

input_referencesRequiredarray

Avatar IV needs a photo. The live rate card has supported_frame_images: null, so use input_references, not frame_images. Send one image object ({type: image_url, image_url: {url}}) and optionally one audio object ({type: audio_url, audio_url: {url}}) to lip-sync a supplied track.

Example: [{"type":"image_url","image_url":{"url":"https://picsum.photos/id/64/512/512"}}]

providerobject

passthrough at provider.options.heygen.parameters. Live allowed_passthrough_parameters: voice_id (TTS voice), voice_settings, motion_prompt, expressiveness (performance), fit, remove_background, background, caption, title.

Example: {"options":{"example":{"parameters":{"voice_id":"f38a635bee7a4d1f9b0a654a31d050d2"}}}}

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.