var2_create_dialog
TTS / voice-over (ElevenLabs v4 by default; model "elevenlabs-v3" for the previous generation, ≤5000 chars). dialogue = [{voice, text}, ...]. Default voices: EXAVITQu4vr4xnSDxMaL (Sarah, warm female), JBFqnCBsd6RMkjVDRZzb (George, warm British male). Hebrew: language_code "he" + nikud. Combined text ≤10000 chars. v4 reads English audio tags in square brackets inside text, before the words they color — [excited], [whispers], [sarcastic], [laughs], [sighs] — write them yourself, or pass auto_tag: true to have var2 add them. NOT for voice browsing — that's var2_get_voice_list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Dialog model. Default elevenlabs-v4 (most expressive, ≤10000 chars). Only pass this when the user asks for a specific version. | |
| title | No | Optional asset display name. | |
| auto_tag | No | ElevenLabs v4 only. true = var2 adds fitting audio tags ([excited], [laughs]…) to every line before generating (free, limited per hour). Omit when you wrote the tags yourself. | |
| dialogue | Yes | ||
| stability | No | 0 = expressive, 0.5 = balanced (default), 1 = monotone. | |
| project_id | No | Optional project to attach to. Defaults to the user's default project. | |
| webhook_url | No | Optional. https:// URL var2 POSTs a signed delivery to when the asset is ready (or fails). Signature header: X-VAR2-Signature: t=<unix>, v1=<hex(hmac_sha256(webhook_secret, t + "." + body))>. Retried with exponential backoff (8 attempts over ~4 days). | |
| language_code | No | ISO 639-1 (e.g. "he"). Omit to auto-detect. | |
| idempotency_key | No | Optional. Retries with the same key never double-bill (dedupes on ai_jobs.request_id). Use a stable per-user-action value (e.g. a UUID). | |
| auto_tag_density | No | How many tags auto_tag adds: light (≈1 per line), medium (default), rich. |