Introduction
Write the scene the way a sound script reads: who speaks, how they sound, their exact lines in quotes, and the music and effects around them. Time ranges such as [0.0s:2.5s] pin each sound to a moment, and asking for separate tracks adds voice, effects and music files next to the full mix. One picture makes the voices fit the people and the setting in it; one to six voice clips make the result speak in those voices. Picture and voice clips are mutually exclusive in a single request. Billing follows the length of the generated audio.
| Field | Value |
|---|---|
| Input | Text |
| Output | Audio |
| Publisher | ByteDance |
| Tasks | Text to Audio, Video to Audio, Dub Video, Split Audio Tracks |
| Scene and scoring prompts | 1 to 5,000 characters |
| Text scene reference | One picture or voice clips |
| Voice reference limits | Up to 6 clips, 2 to 30 seconds each, 180 seconds combined |
| Video input | MP4 or MOV, 4 seconds to 6 minutes, up to 1080p |
| Dubbing languages | Chinese or English source speech, 30 target options |
| Dubbing glossary | Up to 100 entries |
| Separation input | WAV or MP3, 2 seconds to 6 minutes, up to 90 MB |
| Separation outputs | Speech, sound effects and background music |
| Audio format options | MP3, WAV, Ogg Opus or headerless 16-bit PCM |
| Audio sample rates | 8,000, 16,000, 24,000, 32,000, 44,100 or 48,000 Hz. Ogg Opus uses 48,000 Hz. |
Key features & highlights
Direct a new line in a familiar voice
The window-seat prompt named the reference and asked for a warm, slow delivery. The 7.4-second MP3 spoke the supplied line in a voice close to the 10-second source clip.
Build a soundtrack around the picture
We gave a silent four-second clip a prompt for rain, slow R&B and a whispered line, plus a voice reference. The returned four-second MP3 contained all three elements, and the voice sounded close to the reference.
Take the dub and captions into review
An English street clip came back as a 6.1-second Japanese-dubbed MP4. The run also delivered the dubbed audio and subtitles in both languages as SRT and JSONL files.
Get speech, effects and music on separate tracks
The ten-second input mix produced a ten-second MP3 for each of its three stem categories. Load the tracks at the same point on an editor timeline to compare them against the source mix.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Up to 5,000 characters. at least 1 characters · at most 5000 characters |
image_url | No | One JPEG, PNG or WebP picture, 300 to 6000 pixels per side and under 10 MB. The voices and the soundscape follow the people and the place it shows. at least 1 characters |
reference_audio_urls | No | One to six MP3 or WAV clips of 2 to 30 seconds each, 180 seconds together. Say in the prompt which clip belongs to which character, counting in upload order. at most 6 items |
output_format | No | Choose mp3 (the default), wav, opus or pcm. Opus is always delivered at 48000 Hz, and pcm is raw 16-bit samples without a file header that browsers cannot play. |
sample_rate | No | Pick 8000 to 48000 Hz, or leave it empty for 44100 Hz. Leave it empty when you choose opus, because that format only exists at 48000 Hz. |
pitch | No | Moves every voice up or down by as many as 12 semitones; 0 leaves the voices at their natural pitch. |
speed | No | Speeds speech up to twice the natural pace or slows it to half; 1 keeps the pace the model picks. |
volume | No | Scales loudness between half and double; 1 keeps the level the model picks. |
Pricing
$0.004 / second
Billed per second of generated audio, rounded up to whole seconds. The estimate holds the six-minute maximum and releases the difference when the task settles. Reference inputs and extra track files do not change the rate; failed and refused tasks are free.
Use cases
Prototype an audio spot before the shoot
Write the product line in full, then time the room tone and sound of the product being handled. The hotel bar run shows how a written scene with timestamps can combine a spoken line with several background sounds in a single mix.
Test a read with an approved voice
Attach a recording you are authorized to use and direct the delivery in the prompt. In the window-seat example, a 10-second reference guided the voice of a 7.4-second line.
Give a silent edit its sound
Supply the cut, the words to speak, and the effects and music to place under it. Both four-second scoring runs returned separate tracks that matched the duration of the silent clip.
Localize a product walkthrough
Send the video with its Chinese or English dialogue and select the destination language. Use the glossary to supply preferred translations for product names, then review the dubbed video and subtitles.
Rebalance a mixed recording
Send a WAV or MP3 within the upload limits to get separate speech, effects and music for your edit. The supplied ten-second sample returned three tracks with the same duration as its source.
Prompt guide & pro tips
Choose the starting material
Start with a script for Text to Audio or a cut and a new script for Video to Audio. Send a video with existing speech to Dub Video or a mixed recording to Split Audio Tracks.
Write the parts you want to hear
Quote each line in full and assign it to a speaker. Describe the room tone, add any music or effects, and give important cues a time range in your text scene.
Set the reference or dub language
For generation, choose clips of grown-ups whose voices you have the right to use and assign them to speakers by upload order, or use a rights-cleared picture of grown-ups in Text to Audio. For dubbing, select the target language, and never use likenesses or voices to impersonate someone.
Review the files against your edit
Listen to the generated track with the script or picture in front of you. Open the returned subtitles for a dub, or line up the three stems with the original mix to review what each contains.
From a written scene to a mix
Text to Audio starts with a script. Describe the voices, room tone, music and effects in the same prompt to build a scene that can be auditioned as one audio file. A picture can guide the setting and people, or voice references can guide how the speakers sound. You can also request separate track files alongside the mix when you plan to adjust individual layers.
Request parameters
Supply a prompt and set the delivery format if your edit needs something other than MP3. The two reference fields are alternatives.
| Parameter | Required | What to send |
|---|---|---|
prompt | Yes | A string of 1 to 5,000 characters with full quoted lines, speaker direction and the surrounding sounds. |
image_url | No | A nonempty URL for a reference picture. Leave out voice clips when you send a picture. |
reference_audio_urls | No | An array of 1 to 6 voice clip URLs. Use clips of 2 to 30 seconds each and at most 180 seconds combined. Leave out the reference picture when you send voice clips. |
output_format | No | mp3 by default, or wav, opus or pcm. Opus is in an Ogg container and PCM is headerless 16-bit audio. |
sample_rate | No | Integer rate in Hz from 8000, 16000, 24000, 32000, 44100 or 48000. Omit it for 44100 Hz. With Opus, omit it for 48000 Hz, the sole supported rate for that format. |
pitch | No | Integer shift from -12 to 12 semitones. The default of 0 leaves pitch at its natural level. |
speed | No | Speaking-rate multiplier from 0.5 to 2. The default of 1 keeps the natural pace. |
volume | No | Loudness multiplier from 0.5 to 2. At the default of 1, the level is unchanged. |
Write the scene in listening order
Think about what the listener hears before the opening line, what runs beneath it and what carries the scene out.
Start with the performance
Give each speaker a name and a delivery direction, then quote the words they should say. For a workshop demo, ask for a calm, measured read and put the sound of the tool in the gap after the line. Describe continuous ambience separately from individual cues, so a steady fan and a single switch click have distinct roles.
Place the cues that matter
Give important sounds a window such as [0.0s:2.5s]. Read the line aloud before assigning its window so the time allows for the pace you requested. When using voices, match each character to a clip by upload order, starting with reference audio 1. Use reference photos and recordings of grown-ups for which you have the necessary rights. Never use them to impersonate someone.
What our runs returned
In the window-seat run, a ten-second reference and a warm delivery direction produced a 7.4-second MP3 of the supplied line. The voice sounded close to the recording. The hotel bar run used a written brief with an eight-second time range and returned an 8.0-second MP3 with the quoted whisper, window rain, clinking glasses and low jazz.
Pricing
Use the Text to Audio price shown on this page. Billing uses the duration of the generated audio, rounded up to a whole second. The estimate reserves the six-minute maximum and releases the difference at settlement. Reference inputs and extra track files leave the rate unchanged.
Pick the workflow that fits
Seed Audio 1.0 is also worth considering for a script-led sound scene. In 1.5, choose Video to Audio when a cut should guide the new soundtrack, or start with Dub Video when the dialogue is already recorded and needs translation.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "bytedance/seed-audio-1.5/text-to-audio",
"input": {
"output_format": "mp3",
"prompt": "Calm ambient pads with a slow rising motif"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.

