v2

latestOpenAPI 3.1.02026-08-01302833.9 KB
Unified Agent APIs

Unified Sound Generate

Generate sound effects or short music tracks from a text prompt.

Distinct from text-to-speech (/v1/speech/synthesize): this endpoint does NOT produce spoken words. It synthesizes raw audio (SFX, ambient, foley, instrumental music) from a natural language description.

Returns base64-encoded audio bytes plus the format and duration.

post/v1/sounds/generate

Request body

promptstring required
duration_secondsnumber
prompt_influencenumber
output_formatstring
durationnumber nullable

Response

Successful Response

{"stackTrail":"paths:/v1/sounds/generate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}