Перейти к основному содержанию
POST
Generate a song with lyrics from a text prompt

Авторизации

Authorization
string
header
обязательно

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).

Тело

multipart/form-data
prompt
string
обязательно

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.

Требуемый диапазон: 10 <= x <= 360

Ответ

Accepted - the task is processing

task_id
string
обязательно
status
string

Task status, processing on submit.