- GET START
- OpenAI Compatiable Endpoint
- Audio
- Anthropic Compatiable Endpoint
- Music Generation Endpoint
- Image Generation Endpoint
- Video Generation Ednpoint
- runway(video)
- PIKA(video)
- luma (video)
- kling (video)
- MiniMax Conch(video)
- Software Integration Guide
- cometapi Site API Call Testing
- OpenManus
- Chatbox
- CherryStudio
- Cursor
- ChatHub
- cline
- dify
- gptme
- Immersive Translation
- Lobe-Chat
- Zotero
- LangChain
- AnythingLLM
- Eudic Translation
- OpenAI Translator
- ChatAll Translation
- Pot Translation
- GPT Academic Optimization (gpt_academic)
- NEXT CHAT (ChatGPT Next Web)
- Obsidian's Text Generator Plugin
- Open WebUI
- avante.nvim
- librechat
- Lazy Customer Service
- utools-ChatGPT Friend
- IntelliJ Translation Plugin
- n8n
generate(Reference images)
POST
https://api.cometapi.com/runway/pro/generate
视频生成
Maintainer:Not configured
Request
Header Params
Authorization
string
optional
Example:
Bearer {{api-key}}
X-Runway-Version
string
optional
Example:
2024-11-06
Body Params application/json
callback_url
string
required
ratio
string
required
prompt
string
required
style
string
required
model
string
required
options
object
required
seconds
integer
required
motion_vector
object
required
Example
{
"callback_url": "http://baidu.com",
"image": "https://db.xiaohuhd.com/1.jpeg",
"style": "cinematic",
"model": "gen4",
"prompt": "Smile, Eat Burger",
"options": {
"seconds": 10,
"image_as_end_frame": false,
"flip": false,
"motion_vector": {
"x": -6.2,
"y": 0,
"z": 0,
"r": 0,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.cometapi.com/runway/pro/generate' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'X-Runway-Version: 2024-11-06' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url": "http://baidu.com",
"image": "https://db.xiaohuhd.com/1.jpeg",
"style": "cinematic",
"model": "gen4",
"prompt": "Smile, Eat Burger",
"options": {
"seconds": 10,
"image_as_end_frame": false,
"flip": false,
"motion_vector": {
"x": -6.2,
"y": 0,
"z": 0,
"r": 0,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}'
Responses
🟢200OK
application/json
Body
code
integer
required
msg
string
required
data
object
required
task_id
string
required
exec_time
number
required
Example
{
"code": 200,
"msg": "success",
"data": {
"task_id": "9f6243e5-3ab8-49c3-9c3c-6309ef5c96bd",
"state": "",
"status": "",
"prompt": "",
"prompt_en": null,
"video_url": null,
"poster": null,
"last_frame": null,
"msg": null,
"point": "",
"refund": "",
"create_time": "",
"update_time": ""
},
"exec_time": 20.930577
}