text_to_voice_preview_stream
Streams MP3 audio preview for a generated voice ID, returning audio/mpeg bytes; set output_path to save the file or omit it for inline base64.
Instructions
Text To Voice Preview Streaming Returns audio/mpeg bytes; pass output_path to save them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Where to write the returned bytes. Relative paths resolve against ELEVENLABS_OUTPUT_DIR. Omit it to get the data inline as base64 (small files only). | |
| generated_voice_id | Yes | The generated_voice_id to stream. |