Generate a fake-text chat story video
generate_fake_text_videoCREATES a fake-text video: a phone chat conversation that types itself out over a gameplay or green-screen background, every line read aloud in the voice you pick for that side. YOU WRITE THE SCRIPT: there is no writer behind this endpoint, and the messages array you send IS the conversation, in that order, one {text, from} per chat bubble (get_recipe fake-text has the format advice and a worked example). Show it to the user as plain text before spending anything. AFTER: this one call makes the finished video (the answer carries the price split and renders_automatically: true; no fire or render step). Wait with wait_for_generation; when terminal get_video carries the file url. start_confirmed: false means the job exists: do not create it again, watch it (get_recipe fake-text). COST: quoted per character of dialogue, in two parts that are both charged: call estimate_only: true first and state estimated_tokens (the total). A longer script costs more, AND SO DOES THE VOICE PROVIDER (ElevenLabs is about four times openai per character): change a provider and re-run estimate_only; never carry an older quote across that change. NOT OFFERED (say so rather than approximating it): music, chosen gameplay clips, images or sound effects in the chat, contact photos, a second chat, the cantina skin. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).
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": {
"messages": "<messages>",
"contact_name": "<contact_name>"
},
"name": "generate_fake_text_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | The language the conversation is written in, by name ('English', 'German'); default English. Write `messages` in it too: this labels the script, it does not translate it. | |
| messages | Yes | The conversation, in order, one entry per chat bubble. This is the script, and you write it. | |
| template | No | The chat app skin. Defaults to `imessage`. | |
| background | No | `random` (a gameplay clip, the usual choice) or `greenscreen` (plain, to key out later). Default `random`. | |
| voice_left | No | The voice for the LEFT side. The voice id, in the provider named by `voice_provider_*` (omit for its first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (`usable_for: 'audio', limit: 100`; read `has_more`). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot. | |
| voice_right | No | The voice for the RIGHT side: same rules as `voice_left`. | |
| aspect_ratio | No | Defaults to `9:16`, the vertical shape every short-form platform wants. | |
| contact_name | Yes | The name at the top of the phone screen: who the owner is texting ('Mom', 'Jake ❤️'). | |
| estimate_only | No | Price only; creates nothing. | |
| idempotency_key | No | Retry key (IDEMPOTENCY). | |
| voice_speed_left | No | The LEFT side's reading speed. 1 normal (default), 1.15 fast, 1.25 very fast. Faster makes the video shorter and costs nothing extra (the price is per character). | |
| voice_speed_right | No | The RIGHT side's reading speed: as `voice_speed_left`. | |
| notification_sounds | No | Play a message tone as each bubble arrives. Defaults to true. | |
| voice_provider_left | No | Who reads the LEFT side. `elevenlabs` is the web app's default, `openai` is cheaper and covers every language with the same eight voices. Defaults to `openai`. IT CHANGES THE PRICE: ElevenLabs costs about four times openai per character, so call `estimate_only` again after changing it. | |
| voice_provider_right | No | Who reads the RIGHT side: same choices and price rule as `voice_provider_left`. |