协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
generating-audio【开发与工程】ALWAYS read this skill before generating spoken audio or calling audio_generate — a voiceover, narration, an ad read, a character line, or any script read aloud. Turns a script into speech — picks the model and voice, prepares the text for reading, and splits a long script into clips. Use whenever the user asks for text-to-speech, a voiceover, narrat…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Turn a script into spoken audio via the audio_generate tool. Two decisions drive quality: which
voice reads it, and how the script is written for the ear.
Scope. Speech — a voice reading written words, delivered as its own audio file. Nothing here makes non-speech sound, alters audio that already exists, or combines two tracks into one.
Lip-synced dialogue spoken by a character inside a video clip belongs to generating-videos.
Generate only from the exact words that will be spoken.
Write to a duration. Speech runs about two to three words a second, so a fifteen-second read is thirty to forty-five words. Set the word count before writing, and trim words rather than speeding up the delivery.
eleven-v3 is the default — the most expressive read, and right for anything heard as a
performance. Reach for another only on a clear signal:
| Reach for another model when the script… | Model |
|---|---|
| Is a long, even read — an explainer, documentary narration, an audiobook chapter — where the voice must not drift | eleven-multilingual-v2 |
| Is high-volume, a throwaway draft, or cost-sensitive, and expressiveness doesn't matter | eleven-flash-v2.5 |
When the user names a model, use it. Per-request character limits differ sharply between models, and
an over-limit script is rejected rather than truncated — list_audio_models carries each ceiling.
Call list_voices, filtered by what the brief demands — gender, accent, age, use_case,
language, or free-text search. Each row carries a preview_url.
There is no default voice: every request needs a voice_id chosen here, passed as voice.
Display names are not accepted.
preview_urls and let them pick.language, and that the model of Step 2 covers it.voice_id the user pastes themselves is taken as given.voice_id for every clip in the job.use_case
first, then age — and search again. Only when gender and accent alone come back empty is the
account genuinely short of voices; then relay the tool's hint verbatim, since the cause and the fix
differ by provider and by whose key is in use.text is read out word for word, so write it the way it should sound.
Direct the delivery with stability and style (references/directing-the-read.md), never with instructions
written into the text.
Speech comes only from audio_generate. If it errors, or no voice fits, say so and stop — never
substitute another text-to-speech tool the host happens to expose. A different engine means a
different voice, no access to the account's voices, and output outside the media directory.
Call audio_generate with a requests list — one object per clip, up to ten per call.
text and voice (both required — the voice_id from Step 3); model only when
Step 2 chose a non-default; speed, stability, style, similarity_boost, format as needed.voice and model across every object, for the same reason. In a dialogue, one voice
per character, consistent across that character's lines.stability. Worth it on one short line, not a whole script.Share the audio file path(s). When the script was split, label each with the section it covers.
generating-videos to get music or effects out of its
native audio: that bakes the sound into the picture, so it can never serve as a track the user
mixes. An already-cloned voice still works by its voice_id, and another language works by
translating the script and generating it fresh.error: "no_voices_available" → relay the hint; it distinguishes an empty account from a key
lacking permission to read voices, and the fixes differ.references/directing-the-read.md diagnoses it symptom by symptom.error: "no_provider_configured" → relay the tool's hint (the user must set their key).references/directing-the-read.md — tuning the delivery with stability, style,
similarity_boost and speed, and diagnosing a read that isn't working.