The Seed Audio 1.5 Text To Audio API generates a single audio track from a text prompt, supporting narration, dialogue, background music, and sound effects, with optional subtitles and storage formats of wav, mp3, pcm, and ogg_opus.
taskId.Enum: application/json
Bearer authentication token. Example: Bearer {{APIKey}}.
Generation mode. Set to text for text to audio. Available options: text, reference, separation, dubbing.
Text prompt describing the audio to generate. Include the complete speech content in quotation marks when narration or dialogue is required. Maximum 10000 characters.
Audio container format. Available options: wav, mp3, pcm, ogg_opus. Default: wav.
Whether to append an audio rhythm marker to the end of the generated audio. Default: false.
Output audio settings. Not supported by video translation and audio separation.
Output sample rate in Hz. Available options: 8000, 16000, 24000, 32000, 44100, 48000. Default: 44100, except ogg_opus which only supports 48000.
Speech rate. Range: [-50, 100]. Default: 0. -50 is about 0.5x and 100 is about 2x.
Loudness. Range: [-50, 100]. Default: 0. -50 is about 0.5x and 100 is about 2x.
Pitch. Range: [-12, 12]. Default: 0. Higher values raise the pitch.
Additional outputs. Available options: subtitles.srt, subtitles.jsonl. Text to audio does not support video_url.
Returns 0 for success, or a specific error code.
Returns "success" or a descriptive error message.
The unique identifier for the task. Use this ID with the Polling API to retrieve the generated output.
Use the Polling API to retrieve the processing results.
Alternatively, you can enable Callback to receive task results automatically upon completion.
{
"code": 0,
"message": "success",
"data": {
"audios": [
{
"audioUrl": "https://dreamapi-rs-aigc.newportai.com/dreamapi/o/2026-12-04/b566c876abcf421ebdee5a352f79bda7.wav",
"audioType": "wav"
}
],
"subtitles": [
{
"url": "https://dreamapi-rs-aigc.newportai.com/dreamapi/o/2026-12-04/b9e6576731124c26a0b258141085f3ee",
"format": "srt",
"role": "generated"
}
],
"task": {
"taskId": "API-f27fa970d9154723bd82163f793f5534",
"status": 3,
"errorCode": 0,
"reason": "ok",
"taskType": "seed_audio_1.5",
"executionTime": 23748,
"expire": 1796376453391
}
}
}curl -X POST 'https://api.newportai.com/api/async/seed_audio_1.5' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{key}}' \
-d '{
"mode": "text",
"prompt": "A clear Mandarin narration over light rain on leaves with a soft piano. Narrator line: \"Good morning, listen, the rain is falling on the leaves outside the window.\"",
"include": ["subtitles.srt"]
}'{
"code": 0,
"message": "success",
"data": {
"taskId": "API-f27fa970d9154723bd82163f793f5534"
}
}