Seed Audio 1.5

POSThttps://api.newportai.com/api/async/seed_audio_1.5

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.

  • Submit a POST request to the Seed Audio 1.5 API to obtain a taskId.
  • Submit a POST request to the Polling API to retrieve the generated audio results.
  • Configure a Callback URL to receive results automatically on completion.

Request Headers

Content-Type string Required

Enum: application/json

Authorization string Required

Bearer authentication token. Example: Bearer {{APIKey}}.

Request Body

mode string Required

Generation mode. Set to text for text to audio. Available options: text, reference, separation, dubbing.

prompt string Required

Text prompt describing the audio to generate. Include the complete speech content in quotation marks when narration or dialogue is required. Maximum 10000 characters.

outputFormat string

Audio container format. Available options: wav, mp3, pcm, ogg_opus. Default: wav.

watermark boolean

Whether to append an audio rhythm marker to the end of the generated audio. Default: false.

audioConfig object

Output audio settings. Not supported by video translation and audio separation.

sample_rate integer

Output sample rate in Hz. Available options: 8000, 16000, 24000, 32000, 44100, 48000. Default: 44100, except ogg_opus which only supports 48000.

speech_rate integer

Speech rate. Range: [-50, 100]. Default: 0. -50 is about 0.5x and 100 is about 2x.

loudness_rate integer

Loudness. Range: [-50, 100]. Default: 0. -50 is about 0.5x and 100 is about 2x.

pitch_rate integer

Pitch. Range: [-12, 12]. Default: 0. Higher values raise the pitch.

include string[]

Additional outputs. Available options: subtitles.srt, subtitles.jsonl. Text to audio does not support video_url.

Response

code integer

Returns 0 for success, or a specific error code.

message string

Returns "success" or a descriptive error message.

data object
taskId string

The unique identifier for the task. Use this ID with the Polling API to retrieve the generated output.

Errors

10192Illegal param

Polling

Use the Polling API to retrieve the processing results.

Callback

Alternatively, you can enable Callback to receive task results automatically upon completion.

0Task Completed
{
  "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
    }
  }
}
Request
cURL
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"]
}'
0Successful
{
  "code": 0,
  "message": "success",
  "data": {
    "taskId": "API-f27fa970d9154723bd82163f793f5534"
  }
}