Асинхронная генерация видео
Асинхронно генерируйте видео Veo3 через POST /v1/videos в CometAPI, получая id задачи и поддержку first/last-frame guidance для 8-секундных клипов.
Используйте эту страницу, чтобы запустить задачу Veo через общий маршрут CometAPIDocumentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/videos. При указании model выберите актуальный alias Veo на странице Models page.
Выберите шаблон запроса
- Text-to-video: не отправляйте файлы
input_reference - Image-to-video: отправьте один
input_reference - First-frame and last-frame guidance: отправьте два упорядоченных файла
input_reference
Поток задачи
Отправьте задачу Veo
id.Опрашивайте общий video endpoint
Разрешение alias
Полеmodel в ответе может содержать разрешённый backend model id, а не alias, который вы отправили. Используйте страницу Models page, чтобы найти актуальные alias Veo.Авторизации
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. 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.