Generate music from text prompt
Sonilo
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
Generate music from text prompt
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Response
OK - Streaming NDJSON response with audio generation events
- Option 1
- Option 2
- Option 3
- Option 4
A single NDJSON event from the Sonilo streaming response. Additional event types beyond those listed may appear; unknown types should be ignored by clients.
Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Available options:
title Short natural-language description of the generated track.