speak
Generate per-line voice narration with optional pace, emotion and silence gaps; writes WAV and timing JSON, reuses cached lines and blocks over-budget jobs.
Instructions
Narrate: one item per voice line, a string or {"text", "pace"?, "emotion"?}. pace: "slower", "normal", "faster" or a speed factor 0.5-2 relative to normal (1.0 normal, 0.9 a little slower, 1.1 a little faster). emotion: a word or two (at most 20 characters, e.g. "惊讶", "平静", "surprised") passed to the voice as an instruction; how much it changes depends on the voice model. gap_s: silence between lines. Writes voice/voice.wav and voice/voice.json (line times), sets the project's voice if unset. Only changed lines cost money (cached). Paid: estimates first and refuses over budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap_s | No | ||
| lines | Yes | ||
| project | Yes |