Text-to-Video
POST /runway/pro/generate tạo tác vụ text-to-video GEN-4 theo compatibility-format với Runway qua CometAPI, hỗ trợ X-Runway-Version cho đầu ra theo phiên bản.
Sử dụng endpoint này để khởi chạy một tác vụ text-to-video GEN-4 theo compatibility-format của Runway.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.
Các trường bắt buộc
callback_urllà bắt buộcprompt,ratio,stylevàmodelxác định yêu cầu tạooptions.secondsvàoptions.motion_vectorlà bắt buộc
Đường dẫn request đã được xác thực
- Header:
X-Runway-Version: 2024-11-06 - Model:
gen4_turbo - Response:
code: 200,msg: successvàdata.task_id
Luồng tác vụ
Poll the compatibility-format feed route
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Tiêu đề
Optional Runway API version header, for example 2024-11-06.
Nội dung
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.