Studio: generate audio
studio_generate_audioGenerate audio via the Studio model catalog (call list_studio_models with mode='audio' for keys). Seed Audio makes dialogue, sound effects, music, or speech; MiniMax Music 3.0 and ElevenLabs Music make full songs and instrumentals with optional lyrics (ElevenLabs Music also takes duration in seconds); ElevenLabs v3 is expressive text-to-speech — the prompt is the script, inline tags like [whispers] work, and voice is any ElevenLabs voice id. SYNC — the audio URL comes back in the result. SPENDS CREDITS (per-model, see creditCost).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | No | ||
| speed | No | ||
| voice | No | Preset voice id (see capabilities.voicePresets from list_studio_models), or any ElevenLabs voice id on models with capabilities.supportsVoiceLibrary | |
| lyrics | No | Optional structured song lyrics for music models | |
| prompt | Yes | ||
| volume | No | ||
| duration | No | Target length in seconds for music models that list capabilities.durations (ElevenLabs Music: 30–300) | |
| modelKey | No | ||
| instrumental | No | Generate music without vocals when the model supports it | |
| outputFormat | No | ||
| referenceImageUrl | No | Single reference image URL — cannot be combined with referenceAudioUrls | |
| referenceAudioUrls | No | Up to 3 reference voice clip URLs (≤30s, ≤10MB each) |