generate_avatar
Generate talking avatar
Description
ANIMATE A PHOTO so it talks: the presenter in `image` says `script` word for word, a separate voice lip-synced onto the still. Use it ONLY when the user asks for an animated photo / talking photo / lip-sync look by name; for any other talk-to-camera or spokesperson ask use generate_video with `speak` (the person filmed saying it, which reads as real footage). About a minute, lifelike expressions and gestures that follow the words, 1080p (or 2k). The per-second credit price is in hermoso_capabilities (avatarEngines); dryRun:true returns this exact job's hold without rendering. Blocks until done where the host allows, else returns a job id to poll with get_job. Requires canAvatar. Spends credits; a refusal before rendering costs nothing.
Parameters
| Parameter | Type | Description |
|---|---|---|
imagerequired | string | local path or URL of the presenter portrait. Using a real person’s face, likeness or voice confirms you are them or have their consent, take full, unlimited responsibility for its use and will cover any claim against Hermoso (hermoso.ai/terms). Paid plan only; recorded. |
scriptrequired | string | the words the avatar speaks |
voice | string | voice name (Aria / Sarah / George / Adam). Leave it out and the voice matches the person in `image`; if nobody can be read, the call is refused free asking for one |
engine | string | leave out for the standard engine; only an engine listed in hermoso_capabilities avatarEngines is accepted |
resolution | string | '1080p' (default) or '2k' |
prompt | string | optional direction for expression and movement (e.g. calm, few gestures) |
seed | integer | fixed seed, only for an engine other than standard |
acceptQueue | boolean | only for an engine hermoso_capabilities marks oneAtATime: wait in line |
dryRun | boolean | return the credits this exact job would hold, without rendering |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/generate_avatar.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_avatar","arguments":{"image":"<string>","script":"<string>"}}}
CLI
hermoso call generate_avatar --json '{"image":"<string>","script":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
generate_videoGenerate videohermoso_capabilitiesHermoso models, options and credit costsget_jobGet render jobstitch_videoStitch multi-scene videoproduct_sizzleProduct sizzlemake_effectRun a one-click effect on a photoadvance_story_filmRun the next stage of a story filmstart_story_filmStart a story filmget_story_cardRead a story card recipelist_story_cardsList story film cards