Seed Audio 1.5 API

Multi-voice dialogue, voice cloning and songs with timed sound effects.

PlaygroundAPI
Pricing
~16.70s
POST /v2/seed-audio-1.5 · submit + poll
 1# pip install "segmind>=1.1.0"
 2# export SEGMIND_API_KEY="YOUR_API_KEY"
 3import segmind
 4
 5# Async (v2): submit to the queue and block until COMPLETED.
 6# run() returns the final result dict (600s deadline, 1.0s poll by default).
 7result = segmind.run(
 8    "seed-audio-1.5",
 9    prompt="A 1950s railway signal box on a windy night: bare wooden floorboards, a ticking wall clock, window panes rattling in their frames. Speaker 1 is Arthur, the signalman, voiced by reference clip 1. Speaker 2 is Nell, his trainee, voiced by reference clip 2. Keep each speaker's voice and accent exactly as in their reference clip. Both speak English. Do not read the timestamps or the names aloud.\n[0.0s:2.5s] Wind buffets the windows; a brass block bell rings twice.\n[2.5s:6.5s] Nell, nervous: \"Two bells, Arthur. Is that the 9:40 from Carlisle?\"\n[6.5s:12.0s] Arthur, calm and steady: \"It is. Lever number seven, both hands, and don't stop halfway.\"\n[12.0s:13.5s] A heavy iron lever is hauled back and clunks into place.\n[13.5s:16.5s] Nell, laughing with relief: \"Done! The signal's off!\"\n[16.5s:23.0s] A steam locomotive thunders past below, its whistle shrieking, then fades into the wind.",
10    reference_audios=["https://segmind-resources.s3.amazonaws.com/input/seed-audio-1.5-ref1-arthur-05b7deea.mp3", "https://segmind-resources.s3.amazonaws.com/input/seed-audio-1.5-ref2-nell-77811551.mp3"],
11    output_format="mp3",
12    speech_rate=0,
13    loudness_rate=0,
14    pitch_rate=0,
15)
16print(result["status"])                      # COMPLETED
17print(result.get("output"))                  # model output (e.g. media URL)
18print(result["metrics"]["inference_time"])   # server compute seconds
19
20# --- Or submit + poll manually (track request_id, control the cadence) ---
21from segmind import SegmindClient, InferenceFailed, InferenceTimeout
22
23client = SegmindClient()                      # reads SEGMIND_API_KEY
24payload = {
25    "prompt": "A 1950s railway signal box on a windy night: bare wooden floorboards, a ticking wall clock, window panes rattling in their frames. Speaker 1 is Arthur, the signalman, voiced by reference clip 1. Speaker 2 is Nell, his trainee, voiced by reference clip 2. Keep each speaker's voice and accent exactly as in their reference clip. Both speak English. Do not read the timestamps or the names aloud.\n[0.0s:2.5s] Wind buffets the windows; a brass block bell rings twice.\n[2.5s:6.5s] Nell, nervous: \"Two bells, Arthur. Is that the 9:40 from Carlisle?\"\n[6.5s:12.0s] Arthur, calm and steady: \"It is. Lever number seven, both hands, and don't stop halfway.\"\n[12.0s:13.5s] A heavy iron lever is hauled back and clunks into place.\n[13.5s:16.5s] Nell, laughing with relief: \"Done! The signal's off!\"\n[16.5s:23.0s] A steam locomotive thunders past below, its whistle shrieking, then fades into the wind.",
26    "reference_audios": ["https://segmind-resources.s3.amazonaws.com/input/seed-audio-1.5-ref1-arthur-05b7deea.mp3", "https://segmind-resources.s3.amazonaws.com/input/seed-audio-1.5-ref2-nell-77811551.mp3"],
27    "output_format": "mp3",
28    "speech_rate": 0,
29    "loudness_rate": 0,
30    "pitch_rate": 0,
31}
32job = client.submit_async("seed-audio-1.5", **payload)
33print(job.request_id)                         # available immediately
34try:
35    result = job.wait(timeout=600, interval=1.0)
36except InferenceTimeout as e:
37    print("still running:", e.request_id)
38except InferenceFailed as e:
39    print("failed:", e.detail)

API Endpoint

POSThttps://api.segmind.com/v1/seed-audio-1.5

Parameters

promptrequired
string

The script and the performance. Put the exact lines to speak or sing in quotes: a prompt without them is refused, so instrumental music and effects-only audio are not possible. A song needs its lyrics in the prompt. Then describe who speaks (voice, language, emotion, pace) and any sound effects or music. You can time each sound with [start s:end s], for example [2.0s:5.0s]. With reference clips, say which clip voices which speaker, in the order the clips are given. With an image, describe the scene first and then the lines.

Default: "Two friends at a busy night market. A warm, excited female voice: \"You have to try the mango sticky rice!\" A calm male voice, laughing: \"Fine, but only if you're paying.\" Sizzling woks and crowd chatter in the background, no music."
loudness_rateoptional
integer

Volume: 100 is 2x, -50 is 0.5x.

Default: 0Range: -50 - 100
output_formatoptional
string

Audio container. ogg_opus is always 48 kHz.

Default: "mp3"
Allowed values :
MP3→"mp3"
WAV→"wav"
OGG Opus→"ogg_opus"
PCM (raw)→"pcm"
pitch_rateoptional
integer

Pitch shift in semitones.

Default: 0Range: -12 - 12
reference_audiosoptional
string[]

Up to 6 voice clips (wav or mp3, 2-30 s each, 180 s in total) to clone timbre or performance. Refer to them by order in the prompt.

reference_imageoptional
string (uri)

One image (300-6000 px on each side) to set the scene the audio should match. It cannot be combined with reference audios.

sample_rateoptional
integer

Output sample rate in Hz. Defaults to 44100 (48000 for ogg_opus).

Allowed values :
8 kHz→8000
16 kHz→16000
24 kHz→24000
32 kHz→32000
44.1 kHz→44100
48 kHz→48000
speech_rateoptional
integer

Speaking speed: 100 is 2x, -50 is 0.5x.

Default: 0Range: -50 - 100

Response Type

Returns: Audio

Asynchronous requests (v2)

Use Async for video, long-running (>~60s), or high-concurrency workloads; Sync is simplest for fast image & LLM calls. Async submits a request and you poll it to completion.

  1. 1
    POST /v2/seed-audio-1.5

    Submit — returns request_id, status_url, response_url

  2. 2
    GET /v2/requests/{id}/status

    Poll — until COMPLETED or FAILED

  3. 3
    GET /v2/requests/{id}

    Result — final response body

Status states

QUEUED— Accepted, waiting for a worker
PROCESSING— Running on a worker
COMPLETED— Done — result body is ready
FAILED— Errored (incl. content/RAI blocks)
  • A FAILED request is served as HTTP 422 — the body still carries the error detail.
  • An unknown or expired request_id returns HTTP 404.
  • Results are retained for 1 hour, then expire.
  • Content / RAI blocks surface as FAILED, not a separate state.
  • Track completion by polling the status endpoint.

Common Error Codes

The API returns standard HTTP status codes. Detailed error messages are provided in the response body.

400

Bad Request

Invalid parameters or request format

401

Unauthorized

Missing or invalid API key

403

Forbidden

Insufficient permissions

404

Not Found

Model or endpoint not found

406

Insufficient Credits

Not enough credits to process request

429

Rate Limited

Too many requests

500

Server Error

Internal server error

502

Bad Gateway

Service temporarily unavailable

504

Timeout

Request timed out