- 系统介绍
- 系统优势
- 补充说明
- 辅助功能
- 按量计费
- 按次计费
- OpenMeta
- GPT 4o Image Generation
- Midjourney Proxy
- Midjourney Chat
- 即梦AI2.0生图
- Recraft Proxy
- Flux.1 Proxy
- SD Proxy
- SD Chat
- 可灵AI
- 谷歌Veo3 视频生成
- Runway-视频生成
- 视频生成
- 任务查询
- CogVideoX Proxy
- Runway Chat
- Luma Proxy
- Luma Chat
- Pika1.5 Proxy
- Pika1.5 Chat
- Domo Proxy
- 海绵音乐(音乐生成)
- Suno Proxy
- Suno Chat
- Udio Proxy
- Udio Chat
提交图生视频任务
开发环境
https://draw.openai-next.com
开发环境
https://draw.openai-next.com
POST
https://draw.openai-next.com
视频生成
请求参数
Body 参数application/json
promptImage
string
可选
示例值:
https://example.com/beautiful_landscape.jpg
seed
integer
可选
相同的种子和参数会产生相似的结果。
范围:0 - 4294967295
>= 0<= 4294967295
示例值:
123456
model
enum<string>
使用的AI模型版本
枚举值:
gen3a_turbogen4_turbo
示例值:
gen3a_turbo
promptText
string
可选
例如:"人物开始微笑并挥手"、"云朵缓慢移动"等。
<= 1000 字符
示例值:
小猫慢慢睁开眼睛,然后开始伸懒腰
watermark
boolean
可选
默认值:
false
示例值:
false
duration
enum<integer>
视频时长,单位为秒
枚举值:
510
示例值:
5
ratio
enum<string>
可选
枚举值:
1280:768768:12801280:720720:12801104:832832:1104960:9601584:672
示例值:
1280:768
示例
{
"promptImage": "https://example.com/cat.jpg",
"model": "gen3a_turbo",
"promptText": "小猫开始走动",
"duration": 5,
"ratio": "1280:768",
"watermark": false
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://draw.openai-next.comrunwayml/v1/image_to_video' \
--header 'Content-Type: application/json' \
--data-raw '{
"promptImage": "https://example.com/cat.jpg",
"model": "gen3a_turbo",
"promptText": "小猫开始走动",
"duration": 5,
"ratio": "1280:768",
"watermark": false
}'
返回响应
🟢200成功
application/json
Body
id
string <uuid>
可选
示例值:
13db8785-77bc-4273-883b-e462f3e7ff52
示例
{
"id": "task_runway_123456"
}
🟠400请求有误
🟠401没有权限
🟠429429
🔴500服务器错误