Skip to main content
POST
Generate music from video

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
video
file
requerido

Multipart file part; e.g. video/mp4. Max file size 300MB.

prompt
string

Optional text prompt to guide music generation.

Respuesta

OK - Streaming NDJSON response with audio generation events

A single NDJSON event from the Sonilo streaming response. Additional event types beyond those listed may appear; unknown types should be ignored by clients.

copy_index
integer
requerido
Rango requerido: x >= 0
display_tags
string[]
requerido
prompt_index
integer
requerido
Rango requerido: x >= 0
stream_index
integer
requerido
Rango requerido: x >= 0
title
string
requerido
type
enum<string>
requerido
Opciones disponibles:
title
summary
string

Short natural-language description of the generated track.