Text-to-Video
POST /runway/pro/generate generates GEN-4 text-to-video with Runway via CometAPI, supporting X-Runway-Version for versioned outputs.
Use this endpoint to start a Runway compatibility-format GEN-4 text-to-video task.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.
Required fields
callback_urlis requiredprompt,ratio,style, andmodeldefine the generation requestoptions.secondsandoptions.motion_vectorare required
Validated request path
- Header:
X-Runway-Version: 2024-11-06 - Model:
gen4_turbo - Response:
code: 200,msg: success, anddata.task_id
Task flow
Poll the compatibility-format feed route
Authorizations
Bearer token authentication. Use your CometAPI key.
Headers
Optional Runway API version header, for example 2024-11-06.
Body
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.