Skip to main content
POST
Seed Audio 1.5
Generate spoken dialogue with ambience and effects. Quote the lines and optionally provide one image or up to six reference voices. With a target duration, billing uses the requested seconds even if playback is shorter or longer. Omit duration to reserve 72 tokens ($1.44). The final charge uses the billable seconds reported by the model, which can differ from playback length. Use the returned img_uuid to poll GET /api/v1/jobs/detail, or pass custom_callback_url. One audio file, followed by any requested subtitles. Download each file from its json[].value URL. For output-based billing, successful job details include cost and billed_seconds.

Headers

Authorization
string
required

Your GoEnhance API key.

Body

application/json
model
enum<string>
required
Available options:
seed-audio-1-5
prompt
string
required

Describe the scene and quote the exact words each speaker should say. Music-only or effects-only prompts are unsupported.

Required string length: 1 - 10000
duration
integer

Target and billed length. Omit to use the model’s reported billable seconds after generation.

Required range: 5 <= x <= 360
image_urls
string[]

One public image under 10 MB, 300–6000 pixels per side and a 0.4–2.5 aspect ratio. Mutually exclusive with audio_urls.

Required array length: 1 element
audio_urls
string[]

Provide reference voices in prompt order. Each item is a public WAV or MP3 URL (2–30 seconds, up to 15 MB) or a speaker:// voice ID.

Required array length: 1 - 6 elements
speech_rate
integer
default:0

Speech speed adjustment.

Required range: -50 <= x <= 100
loudness_rate
integer
default:0

Volume adjustment.

Required range: -50 <= x <= 100
pitch_rate
integer
default:0

Pitch shift in semitones.

Required range: -12 <= x <= 12
subtitles
boolean
default:false

Include SRT and JSONL subtitle files.

format
enum<string>
default:mp3

PCM is raw 16-bit audio. Ogg Opus requires 48000 Hz.

Available options:
wav,
mp3,
pcm,
ogg_opus
sample_rate
enum<integer>

Defaults to 44100 Hz, or 48000 Hz for Ogg Opus.

Available options:
8000,
16000,
24000,
32000,
44100,
48000
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required