Skip to content

About

Seed Audio 1.5 API guide: text to audio, stem separation, video dubbing and video translation, plus Seed TTS 3.0, with cURL, Python and JavaScript examples via Muapi.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Seed Audio API: Seed Audio 1.5 Text to Audio, Stem Separation, Video Dubbing & Translation on Muapi

Developer guide to ByteDance Seed's Seed Audio model family through Muapi. Seed Audio 1.5 is available as four endpoints: text to audio (speech, music and sound effects in one clip of up to six minutes), stem separation, video dubbing and video translation into 30 languages. Seed TTS 3.0 for classic text to speech is documented too. Every endpoint is an async API with polling or webhooks, and the repo has runnable cURL, Python and JavaScript examples.

Related Projects

Overview

Endpoints and pricing

Endpoint What it does Price
seed-audio-1.5-text-to-audio Speech, music and sound effects from a prompt, up to 360 s, optional voice or image references $0.006 / second of requested duration (10 s minimum)
seed-audio-1.5-stem-separation Split audio into speaker, sound-effect and music tracks $0.006 / second of input audio
seed-audio-1.5-video-dubbing Voice-over aligned to the timing of a reference video $0.024 / second of input video
seed-audio-1.5-video-translation Dub a video into 30 languages, with subtitles $0.036 / second of input video
seed-tts-3.0 Text to speech, 520 voices, 100+ languages and dialects $0.025 / 1,000 characters

A 30-second text-to-audio clip costs $0.18. Input length for stem separation, dubbing and translation is measured from the file you submit (rounded up to the second, capped at 360 s); a URL that cannot be read is rejected before you are charged.

All requests go to https://api.muapi.ai/api/v1/<endpoint> with an x-api-key header. A submission returns a request_id; poll GET /api/v1/predictions/{request_id}/result until the task is completed, or pass a webhook URL. File URLs are in outputs.

Seed Audio 1.5 request fields

seed-audio-1.5-text-to-audio

Field Type Required Default Description
prompt string Yes — Lines to perform plus speaker, language, emotion, pace, music and sound effects. Up to 10,000 characters.
duration integer No 30 Target length in seconds, 1 to 360. Billed on this value, 10 s minimum. The audio follows your prompt and can differ slightly.
audio_urls string[] No — Up to 6 reference voices (wav or mp3, 2–30 s each, up to 15 MB). State in the prompt which reference each speaker uses.
image_url string No — One reference image. Cannot be combined with audio_urls.
output_format enum No mp3 mp3, wav, pcm or ogg_opus.
sample_rate enum No 44100 8000, 16000, 24000, 32000, 44100 or 48000 (ogg_opus allows only 48000).
speed / volume number No 1 0.5 to 2.
pitch integer No 0 Semitones, -12 to 12.

seed-audio-1.5-stem-separation

Field Type Required Default Description
audio_url string Yes — wav or mp3, 2–360 s, up to 90 MB.
prompt string No vocals, effects, music Which tracks to separate and how to describe them.
output_format / sample_rate enum No mp3 / 44100 As above.

Returns one file per track, by default in the order speaker, sfx, bgm.

seed-audio-1.5-video-dubbing

Field Type Required Default Description
video_url string Yes — mp4 or mov, 4–360 s, 12–60 fps, up to 200 MB.
prompt string Yes — The complete text spoken in the video, plus the voice, emotion and pacing. Requests without the spoken text are rejected.
audio_urls string[] No — Up to 6 reference voices.
speed / volume / pitch, output_format, sample_rate No As for text to audio.

Returns the new audio track, timed to the video.

seed-audio-1.5-video-translation

Field Type Required Default Description
video_url string Yes — Source video with Chinese or English speech, mp4 or mov, 4–360 s.
target_language enum Yes es-ES One of 30: zh en ja ko de fr pt-BR th id vi ms fil it ru nl pl tr sv es-ES es-MX ar pt-PT fi da no cs hu el ro hi.
subtitle_url string No — Your own UTF-8 SRT in the target language; skips machine translation. Cannot be combined with glossaries.
glossaries object[] No — {"source": "...", "target": "..."} pairs that pin how terms are translated.
dialogue_enhancement enum No off off, low, medium or high.
output_format / sample_rate enum No As above.

Returns the dubbed video, the dubbed audio track and subtitle files, in that order.

cURL

# Text to audio
curl -X POST https://api.muapi.ai/api/v1/seed-audio-1.5-text-to-audio \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A warm, intimate female narrator says in English: \"At the end of the lane stood a bookshop that opened only when it rained.\" Begin with gentle rain and two quiet footsteps, then a small brass doorbell.","duration":15}'

# Response: {"request_id":"REQUEST_ID"}
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"

Runnable versions are in examples/. curl.sh, python/seed_audio.py and javascript/seed_audio.mjs run any of the four endpoints (text-to-audio, stem-separation, video-dubbing, video-translation; default text-to-audio). Each reads MUAPI_API_KEY from the environment, submits a request, polls until completion and prints the output URLs. The Seed TTS examples are alongside them. They follow the documented schema but have not been verified against a live Muapi call.

Choosing between Seed audio and other Muapi audio models

Endpoint Best for Price
seed-audio-1.5-text-to-audio Whole-scene audio: voice, music and effects together $0.006 / sec
seed-tts-3.0 Many languages, dialects and voices; style instructions $0.025 / 1,000 chars
elevenlabs-v4-turbo Fast English narration $0.04 / 1,000 chars
elevenlabs-v4 Expressive English speech $0.08 / 1,000 chars

FAQ

Is the Seed Audio 1.5 API available? Yes, as four endpoints on Muapi: text to audio, stem separation, video dubbing and video translation.

How long can the audio be? Text to audio generates up to 360 seconds. Stem separation, dubbing and translation accept inputs of up to 360 seconds.

Does video dubbing return a video? No, it returns an audio track timed to the video. Use video translation for a dubbed video with subtitles.

Which ByteDance Seed speech model should I use? Seed Audio 1.5 for scenes with music and effects, Seed TTS 3.0 for plain narration with 520 preset voices.

Will this repo cover later Seed Audio versions? Yes; examples are added as each version goes live on Muapi.

License

MIT

About

Seed Audio 1.5 API guide: text to audio, stem separation, video dubbing and video translation, plus Seed TTS 3.0, with cURL, Python and JavaScript examples via Muapi.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors