Text-to-Video
POST /runway/pro/generate генерує GEN-4 text-to-video за допомогою Runway через CometAPI, підтримуючи X-Runway-Version для версійованих результатів.
Використовуйте цей endpoint, щоб запустити задачу Runway compatibility-format GEN-4 text-to-video.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Обов’язкові поля
callback_urlє обов’язковимprompt,ratio,styleіmodelвизначають запит на генераціюoptions.secondsіoptions.motion_vectorє обов’язковими
Валідований шлях запиту
- Заголовок:
X-Runway-Version: 2024-11-06 - Модель:
gen4_turbo - Відповідь:
code: 200,msg: successіdata.task_id
Потік задачі
Poll the compatibility-format feed route
Авторизації
Bearer token authentication. Use your CometAPI key.
Заголовки
Optional Runway API version header, for example 2024-11-06.
Тіло
Webhook URL that receives a POST request with the result when the task completes.
Aspect ratio of the generated video, e.g. 16:9, 9:16, 1:1.
Text prompt describing the video content to generate.
Artistic style for the generated video, e.g. cinematic.
Model version to use, e.g. gen4.
Advanced generation options including duration and camera motion.