Script Submit contract guide
Use this format to provide finished spoken text and cast assignments.
Schema and examples
No sign-in is needed to prepare your file. Sign in when you validate or submit it, or load your saved personal voices.
Gemini script schema (v2) · Legacy personal / mixed schema (v3) · Personal voices and delivery schema (v4)
Valid examples: Narration JSON · Conversation JSON · Chinese dialogue JSON
Loading the contract reference...
Final Audio Script format
Submit one JSON object using final_audio_script_2 for Gemini voices or final_audio_script_4 for personal or mixed voices with the new delivery and variation options. It needs a title, language, performance, ordered units, and a cast row for every spoken speaker. Earlier final_audio_script_1 files still work with Normal delivery.
- A Gemini spoken line can use
{"kind":"speech","speaker_id":"...","text":"...","delivery":"urgent"}. Choose a delivery ID below or omit it for Normal. Its text is recorded exactly.sceneandsectionheadings andstanza_breakare silent. - Set
delivery_catalog_versiontodelivery_catalog_2. Delivery is a best-effort performance direction; the cast profile remains the same person on every line. - Each cast row needs
speaker_id,name,story_function(narrator,other, orantagonist), and one inlineprofile. The profile name must match the cast name. - A Gemini profile uses
play_cast_profile_1with gender, exact Dali voice ID, age ID, personality ID, and language. Useenfor an English script profile; useundfor other script languages. Saved-person references are not admitted here yet.
Defaults and required fields
For final_audio_script_2, omit a speech line's delivery to use normal. You may also omit content_form when no form applies. An explicit null delivery is not a valid choice.
There are no automatic defaults for the title, language, performance, spoken text, speaker IDs, or cast. Every spoken speaker needs a matching cast row and a complete inline voice profile. The schema_version, catalog_version, and delivery_catalog_version are required. Validation identifies missing or invalid fields before audio creation.
Example cast row from the current server contract:
Personal voices: quick start
- Sign in, then choose Get my available personal voices below.
- Expand your voice and download its mixed-script example. It includes your exact voice reference, an Original personal voice with Pause Before, and a Gemini speaker.
- Edit the spoken text and cast, then return to Script Submit, upload or paste the JSON, validate, and review before creating audio.
Use final_audio_script_4, catalog_version: play_cast_builder_1, and delivery_catalog_version: delivery_catalog_2. Personal profiles use personal_cast_profile_1, the matching cast name, your exact voice_id and voice_revision, language (en, zh or de), and preset_id: gang_natural_v1 (Natural). Do not add personal_preset_id in version 4.
Delivery and voice variation are separate
On a personal speech unit, use "delivery":"normal" (the default) or "delivery":"pause_before" for one 0.8-second pause before that turn. These work with Original and every supported variation. Energetic, Question, Reflective, Emphatic, Quiet, Sad and Angry are available experimentally as described below. Other Gemini delivery directions are not supported on personal turns.
Experimental, tester group only: "delivery":"energetic" uses Chatter exaggeration 0.9 and CFG 0.3 for expressive or dramatic synthesis, while leaving pitch, resonance, and playback speed unchanged when variation is Original. It is a best-effort candidate for listening review, not a guaranteed emotion. Use the same text with Normal and Energetic to compare. Energetic and Pause Before are separate choices in this version; they cannot be selected together on one turn.
Experimental Question, tester group only: "delivery":"question" gives Chatter a terminal question-punctuation cue during synthesis. Words and the saved script stay unchanged. Only the final fragment of a long turn receives the cue; earlier sentences remain as written. Voice reference, pitch, resonance, playback speed, and Natural synthesis settings stay unchanged. Text already ending in a question mark may sound identical to Normal. This is best effort, not a dedicated question-style model control; listening review is required.
Experimental Sad and Angry, tester group only: use "delivery":"sad" for a subdued candidate (exaggeration 0.35, CFG 0.25, temperature 0.65), or "delivery":"angry" for a forceful candidate (exaggeration 1.1, CFG 0.5, temperature 0.8). Both keep seed 42 and normal playback speed. Original variation applies no volume, pitch, resonance or speed processing. These are parameter recipes, not dedicated sadness or anger controls. Review identical-text comparisons for mood, naturalness and voice similarity before production use.
Experimental Quiet, tester group only: use "delivery":"quiet" for a restrained synthesis candidate (exaggeration 0.25, CFG 0.5). Temperature, seed and playback speed match Normal. With Original variation there is no volume, pitch, resonance or speed processing. This is not a whisper control or a guaranteed soft delivery; compare against Normal before using it in production.
Experimental Reflective and Emphatic, tester group only: use "delivery":"reflective" for a restrained synthesis candidate (exaggeration 0.3, CFG 0.3), or "delivery":"emphatic" for an emphasis candidate (exaggeration 0.7, CFG 0.5). Both retain Natural temperature and playback speed. With Original variation, neither applies pitch, resonance or speed processing. These names describe intended effects of parameter tuning, not dedicated emotional model controls; compare identical text with Normal and review the result.
| Variation | JSON | Access |
|---|---|---|
| Original: preserve the source voice | {"preset":"original"} | Existing personal-voice access |
| Deep: lower, slower voice | {"preset":"deep"} | Tester group only |
| Cartoon: higher, faster voice | {"preset":"cartoon"} | Tester group only |
| Custom: choose pitch, resonance and speed | {"preset":"custom","pitch_semitones":-3,"resonance_ratio":0.9,"speed":0.95} | Tester group only |
Put the chosen object in voice_variation on the whole script, a personal cast row, or a personal speech unit. A turn overrides its cast row; a cast row overrides the script; the default is Original. Overrides replace the entire recipe rather than combining adjustments. Script-level variation affects only personal speakers; Gemini speakers keep their own delivery settings.
{"kind":"speech","speaker_id":"your_speaker_id","text":"A new chapter begins.","delivery":"pause_before","voice_variation":{"preset":"deep"}}
This turn fragment requires tester access; replace its speaker ID with one in your cast. For Custom, provide all three numbers: pitch_semitones from -7 to 7, resonance_ratio from 0.75 to 1.30, and speed from 0.80 to 1.25. Named variations accept only preset. These are variations of the same saved voice; no new import is needed.
Personal and mixed scripts allow 1,500 words or Chinese characters, 100 speaking turns, and audio strictly under ten minutes. Personal speech uses the experimental allowance; Gemini segments use normal recording allowance and capacity. A failed segment does not produce a partial finished recording.
Existing version 3 scripts and synthesis presets
Version 3 remains supported. Its personal profile selects a preset below; personal_preset_id can override it per turn. Personal turns use Normal delivery only. To use version 4 variations or Pause Before, change the schema version, use the Natural profile preset, and remove per-turn personal_preset_id.
| Legacy synthesis preset | Preset ID | Direction |
|---|
Available system voices and cast dimensions
System voices
| Voice | Voice ID for profile | Gender | Use |
|---|
Gemini per-line delivery
| Delivery | ID for speech unit | Direction |
|---|
Gender IDs
female, male