Genera video Veo3 in modo asincrono tramite POST /v1/videos in CometAPI, restituendo un task id e supportando la guida del primo/ultimo frame per clip di 8 secondi.
curl --request POST \
--url https://api.cometapi.com/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'prompt=A paper kite floats above a field.' \
--form input_reference='@example-file'{
"created_at": 1773297229,
"id": "task_pa9CKKtYlTdxO7IIHOKKhXfjxEu4EQoR",
"model": "veo_3_1-4K",
"object": "video",
"progress": 0,
"seconds": "",
"size": "16x9",
"status": "queued"
}/v1/videos di CometAPI. Scegli un alias Veo attuale dalla pagina Models quando imposti model.
input_referenceinput_referenceinput_reference ordinatiInvia il job Veo
id restituito.Interroga l'endpoint video condiviso
veo-3.1-generate-preview. CometAPI mantiene la route condivisa /v1/videos e risolve un alias Veo attuale dalla pagina Models al momento della richiesta. Durante la validazione dal vivo del 2026-03-12, una richiesta con veo3-fast è stata accettata e ha restituito un task id asincrono, e il model della risposta è stato risolto in un id di modello del provider invece di ripetere l’alias inviato.Bearer token authentication. Use your CometAPI key.
Text prompt for the video job.
"A paper kite floats above a field."
CometAPI Veo alias. Use a current Veo alias from the Models page. The response may resolve this alias to a provider model id.
"veo3-fast"
Orientation hint used by the wrapper. Use a landscape-like value such as 16x9 or a portrait-like value such as 9x16.
"16x9"
Optional image input. Send one file for image-to-video or two ordered files for first-frame and last-frame guidance.
Task accepted.
curl --request POST \
--url https://api.cometapi.com/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'prompt=A paper kite floats above a field.' \
--form input_reference='@example-file'{
"created_at": 1773297229,
"id": "task_pa9CKKtYlTdxO7IIHOKKhXfjxEu4EQoR",
"model": "veo_3_1-4K",
"object": "video",
"progress": 0,
"seconds": "",
"size": "16x9",
"status": "queued"
}