Saltar al contenido principal
POST
Generate a song with lyrics from a text prompt

Autorizaciones

Authorization
string
header
requerido

Bearer token authentication. Normally a Firebase or Cloud JWT. A 'comfyui-' prefixed API key is also accepted in this header: the prefix classifies the value as an API key and it is validated exactly as if it had been sent in X-API-Key. Accepted on the operations served by the comfyFirebase auth middleware (BE-9720, parity with ingest).

Cuerpo

multipart/form-data
prompt
string
requerido

Text prompt describing the song, max 2000 characters. Lyrics go inside the prompt as a Lyrics: block with [Verse], [Chorus] and [Bridge] section tags.

Required string length: 1 - 2000
duration
integer

Approximate target length of the song in seconds. Omit it and the model picks a natural length.

Rango requerido: 10 <= x <= 360

Respuesta

Accepted - the task is processing

task_id
string
requerido
status
string

Task status, processing on submit.