Sonilo
Proxy

Generate music from text prompt

Generate music from a text prompt using Sonilo text-to-music AI. Requires a prompt describing the desired music and a caller-specified duration. Returns a streaming NDJSON response with titles, audio chunks, and completion events.

post/proxy/sonilo/t2m/generate

Request

Request body multipart/form-data

durationinteger required

Desired duration of the output track in seconds.

promptstring required

Text prompt describing the desired music. Max length 1000 characters.

Response

OK - Streaming NDJSON response with audio generation events

Changes

No recorded changes to this operation across all 1 revision of this API.