Introduction
Upload a WAV or MP3 of 2 seconds to 6 minutes. The result is three files as long as the input: one with the speech, one with the effects and one with the music bed, ready to remix, translate over or clean up separately. Pick a different file format or sample rate if MP3 at 44100 Hz does not suit your editor. Billing follows the length of the input recording, and all three tracks are included.
| Field | Value |
|---|---|
| Input | Audio |
| 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 |
|---|---|---|
audio_url | Yes | WAV or MP3, 2 seconds to 6 minutes and up to 90 MB. The price follows its length. at least 1 characters |
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. |
Pricing
$0.004 / second
Billed per second of the input recording, rounded up to whole seconds, for recordings of 2 seconds to 6 minutes; all three tracks are included. The estimate uses the length of an uploaded file, or six minutes for a link, and releases the difference at settlement.
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.
Open a mixed recording as three tracks
Split Audio Tracks takes a mixed audio recording and returns separate files for speech, sound effects and background music. Use it when you have a single mix but need access to its component sounds in an editor. The three tracks give you places to listen for the spoken line, an effect that lands under it or the music bed. You can then rebalance the parts your edit needs.
Request parameters
Give the endpoint a WAV or MP3 recording and choose the format you want for the returned tracks.
| Parameter | Required | What to send |
|---|---|---|
audio_url | Yes | A nonempty URL for a WAV or MP3 recording that runs from 2 seconds to 6 minutes and is at most 90 MB. |
output_format | No | Set mp3, wav, opus or pcm for the stems. MP3 is the default. Opus is in an Ogg container, and PCM is raw 16-bit audio without a header. |
sample_rate | No | Set 8000, 16000, 24000, 32000, 44100 or 48000 Hz. The default is 44100 Hz. With Opus, omit the rate to use its required 48000 Hz. |
Prepare a mix that answers your editing question
Pick an excerpt from the mix you intend to revise, then choose a stem format you can bring into the same project.
Check the file before sending it
Use a short excerpt that includes the combination you need to work on. For example, export the section of a product demo where a click and a music cue overlap the narrator's line. A clip with the relevant sounds lets you judge the separation in context. When the source is a completed video, prepare its audio as a supported WAV or MP3 before sending it to this endpoint.
Match the output to the editing session
Check the sample rate your project uses before choosing an output setting. If you want an Ogg Opus file, plan on 48000 Hz. For raw PCM, confirm your tool can import headerless 16-bit audio and set the rate accordingly. Use the same start point for each stem when you bring the files into your timeline.
Audition the tracks before changing the mix
Listen to the speech, effects and music in isolation and then play them together under the scene. If the goal is a clearer voiceover, work on the moment where the score competes with speech and check the change against the original mix. If you are preparing replacement dialogue, use the effects and music files as the starting material for the background bed, and listen through the edit for sounds that need further work.
What came back from the ten-second mix
We sent a ten-second mixed clip and got three ten-second MP3 files. One held speech, one sound effects and one background music. This run showed that each returned stem spanned the length of that input. Listen to the individual tracks on your own excerpt to see how much of each sound is useful for your edit.
Pricing
Find the Split Audio Tracks price on this page. The input recording is the billing basis, rounded up to a whole second, and the rate includes the three tracks. The estimate uses the uploaded file's length, or six minutes for a link. Once the task settles, any difference between the estimate and charge is released.
When to pick a related family
Consider Vocal Isolator v1 when the deliverable you want is a voice extraction. Choose Split Audio Tracks when music and effects also need their own files. If your recording is a guide for writing a new scene, choose Text to Audio and describe the dialogue and sound you intend to create.
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/audio-separation",
"input": {
"audio_url": "https://example.com/reference.mp3",
"output_format": "mp3"
}
}'
# 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.

