Generate music or podcast
Music / podcast / sound-effect generation. Distinct from
`/v1/audio/speech` (TTS): this endpoint covers Stable Audio,
GLM TTS, MOSS, and SoulX Podcast where the prompt-to-audio
path is generative rather than spoken-word.
Long-running generations (> 60s) return `202 Accepted` with a
`job_id` and `poll_url`; poll `/v1/jobs/{job_id}` until
complete.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Request
This endpoint expects an object.
model
prompt
Natural-language description of the audio to generate.
input
Script / lyrics for podcast / multi-speaker models.
duration
Output length in seconds.
steps
Number of denoising steps. Higher = better quality but slower.
cfg_scale
Prompt adherence. Higher = closer to prompt but less creative.
seed
Random seed for reproducibility.
output_format
Allowed values:
Response
Audio response (URL by default, or inline bytes).
data
