Skip to main content
Glama

Create Lip-Synced Talking Character Video

create_talking_video

Animate an AvatarSay character avatar (ast_...) with lip-synced speech in 40+ languages using one of 8 preset voices. New accounts get their first short talking clip (<=4s / <=50 chars) for 0 credits in Fast Preview (~15–30s via VEED Fabric 1.0 Fast, includes AvatarSay.com corner watermark)! Buying any credit pack unlocks watermark-free exports and Studio HD (~2–4 min via Kling AI Avatar v2 Standard, 720×1280 / 960×960 / 1280×720 MP4) for 12 credits/s (minimum 5s = 60 credits, maximum 30s). Enqueues asynchronously and returns jobId immediately. Poll get_job for the MP4 URL. Failed renders refund credits automatically. Requires Authorization: Bearer avs_...

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "assetId": "<assetId>",
      "script": "<script>",
      "voice": "<voice>"
    },
    "name": "create_talking_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
voiceYesBuilt-in multilingual voice ID: Friendly_Person, Wise_Woman, Lively_Girl, Calm_Woman, Casual_Guy, Deep_Voice_Man, Patient_Man, Young_Knight.
scriptYesSpoken dialogue line in any supported language (2–400 chars, up to 30 seconds of speech; <=50 chars qualifies for the 0-credit first clip on new accounts).
assetIdYesAvatarSay character asset ID (ast_...) from generate_avatars -> get_job, import_character_portrait, or list_avatars. Camera photos of real people are not supported.
languageNoOptional language hint for pronunciation (default "auto", supporting 40+ languages): auto, English, Russian, French, Spanish, German, Arabic, Portuguese, Japanese, Korean, Chinese, Italian, Turkish, Polish, Dutch, Hindi, Indonesian, Vietnamese, Ukrainian, Slovak.
maxCreditsNoMaximum credits authorized for this video.
qualityModeNoOptional render mode: "fast" (480×864 / 864×480 / 640×640, ~15–30s; required for 0-credit free trial) or "hd" (Studio HD 720×1280 / 1280×720 / 960×960, ~2–4m; default for credit-paid renders).
requireFreeNoOnly create the video if the free clip is available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / script / description
      Previous value: -"Spoken dialogue line in any supported language (2–400 chars, up to 30 seconds of speech; <=75 chars qualifies for the 0-credit first clip on new accounts)."New value: +"Spoken dialogue line in any supported language (2–400 chars, up to 30 seconds of speech; <=50 chars qualifies for the 0-credit first clip on new accounts)."
  2. Changed1 schema field changed
    • changedInput schema / properties / qualityMode / description
      Previous value: -"Optional render mode: \"fast\" (480×864 / 864×480 / 480×480, ~15–30s; required for 0-credit free trial) or \"hd\" (Studio HD 720×1280 / 1280×720 / 960×960, ~2–4m; default for credit-paid renders)."New value: +"Optional render mode: \"fast\" (480×864 / 864×480 / 640×640, ~15–30s; required for 0-credit free trial) or \"hd\" (Studio HD 720×1280 / 1280×720 / 960×960, ~2–4m; default for credit-paid renders)."
  3. Changed4 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Optional language hint for pronunciation (default \"auto\", supporting 40+ languages): auto, English, Russian, French, Spanish, German, Arabic, Portuguese, Japanese, Korean, Chinese, Italian, Turkish, Polish, Dutch, Hindi, Indonesian, Vietnamese, Ukrainian."New value: +"Optional language hint for pronunciation (default \"auto\", supporting 40+ languages): auto, English, Russian, French, Spanish, German, Arabic, Portuguese, Japanese, Korean, Chinese, Italian, Turkish, Polish, Dutch, Hindi, Indonesian, Vietnamese, Ukrainian, Slovak."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "auto",
      -  "English",
      -  "Russian",
      -  "French",
      -  "Spanish",
      -  "German",
      -  "Arabic",
      -  "Portuguese",
      -  "Japanese",
      -  "Korean",
      -  "Chinese",
      -  "Italian",
      -  "Turkish",
      -  "Polish",
      -  "Dutch",
      -  "Hindi",
      -  "Indonesian",
      -  "Vietnamese",
      -  "Ukrainian"
      -]New value: +[
      +  "auto",
      +  "English",
      +  "Russian",
      +  "French",
      +  "Spanish",
      +  "German",
      +  "Arabic",
      +  "Portuguese",
      +  "Japanese",
      +  "Korean",
      +  "Chinese",
      +  "Italian",
      +  "Turkish",
      +  "Polish",
      +  "Dutch",
      +  "Hindi",
      +  "Indonesian",
      +  "Vietnamese",
      +  "Ukrainian",
      +  "Slovak"
      +]
    • addedInput schema / properties / maxCredits
      Added value: +{
      +  "description": "Maximum credits authorized for this video.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / requireFree
      Added value: +{
      +  "description": "Only create the video if the free clip is available.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / qualityMode / description
      Previous value: -"Optional render mode: \"fast\" (480p/640p, ~15–30s; required for 0-credit free trial) or \"hd\" (Studio HD 720p/960p, ~2–4m; default for credit-paid renders)."New value: +"Optional render mode: \"fast\" (480×864 / 864×480 / 480×480, ~15–30s; required for 0-credit free trial) or \"hd\" (Studio HD 720×1280 / 1280×720 / 960×960, ~2–4m; default for credit-paid renders)."
  5. Changed1 schema field changed
    • addedInput schema / properties / qualityMode
      Added value: +{
      +  "description": "Optional render mode: \"fast\" (480p/640p, ~15–30s; required for 0-credit free trial) or \"hd\" (Studio HD 720p/960p, ~2–4m; default for credit-paid renders).",
      +  "enum": [
      +    "fast",
      +    "hd"
      +  ],
      +  "type": "string"
      +}
  6. Changed3 schema fields changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Optional language hint for pronunciation (default \"auto\", supporting 40+ languages): auto, English, Russian, French, Spanish, German, Arabic, Portuguese, Japanese, Korean, Chinese, Italian, Turkish, Polish, Dutch, Hindi, Indonesian, Vietnamese, Ukrainian.",
      +  "enum": [
      +    "auto",
      +    "English",
      +    "Russian",
      +    "French",
      +    "Spanish",
      +    "German",
      +    "Arabic",
      +    "Portuguese",
      +    "Japanese",
      +    "Korean",
      +    "Chinese",
      +    "Italian",
      +    "Turkish",
      +    "Polish",
      +    "Dutch",
      +    "Hindi",
      +    "Indonesian",
      +    "Vietnamese",
      +    "Ukrainian"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / script / description
      Previous value: -"English spoken dialogue line (2–400 chars, up to 30 seconds of speech; <=75 chars qualifies for the 0-credit first clip on new accounts)."New value: +"Spoken dialogue line in any supported language (2–400 chars, up to 30 seconds of speech; <=75 chars qualifies for the 0-credit first clip on new accounts)."
    • changedInput schema / properties / voice / description
      Previous value: -"Built-in English voice ID: Friendly_Person, Wise_Woman, Lively_Girl, Calm_Woman, Casual_Guy, Deep_Voice_Man, Patient_Man, Young_Knight."New value: +"Built-in multilingual voice ID: Friendly_Person, Wise_Woman, Lively_Girl, Calm_Woman, Casual_Guy, Deep_Voice_Man, Patient_Man, Young_Knight."
  7. Changed1 schema field changed
    • changedInput schema / properties / assetId / description
      Previous value: -"AvatarSay image asset ID (ast_...) from generate_avatars -> get_job or list_avatars. Photo uploads are not supported."New value: +"AvatarSay character asset ID (ast_...) from generate_avatars -> get_job, import_character_portrait, or list_avatars. Camera photos of real people are not supported."
  8. Changed1 schema field changed
    • changedInput schema / properties / script / description
      Previous value: -"English spoken dialogue line (2–400 chars, up to 30 seconds of speech)."New value: +"English spoken dialogue line (2–400 chars, up to 30 seconds of speech; <=75 chars qualifies for the 0-credit first clip on new accounts)."
  9. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description discloses asynchronous enqueue behavior, the exact cost model (12 credits/s, 5s minimum = 60 credits, 30s maximum), watermarking on free previews, automatic credit refunds on failed renders, and the Bearer auth requirement. These are the material side effects and constraints an agent needs before spending credits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph that front-loads the action and then layers cost and workflow details, so an agent reading only the first sentence still knows what the tool does. The pricing and render-mode clauses are packed tightly and could be split for scanability, but no sentence is genuinely wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an async, credit-consuming, no-output-schema tool, the description covers everything needed to call it correctly: input prerequisites, cost bounds, async jobId handling, the follow-up sibling to poll, and refund behavior on failure. Nothing an agent must know before invoking is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: that Fast Preview is required for the 0-credit first clip, the 12-credits-per-second pricing that governs script length, and the minimum 5s = 60 credits floor. It stops short of explaining maxCredits/requireFree interactions, which remain schema-only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource ('Animate an AvatarSay character avatar (ast_...) with lip-synced speech'), plus scope qualifiers (40+ languages, 8 preset voices) that separate it from a generic video or voice-line tool. An agent can identify exactly what this produces without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete operating guidance: it 'Enqueues asynchronously and returns jobId immediately' and instructs 'Poll get_job for the MP4 URL', naming the sibling to use next. It also frames the free-trial vs credit-paid paths, but it never explicitly states when NOT to use this tool (e.g., versus create_npc_voice_line for audio-only output).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources