- OpenAI通用接口
- 全能模型接口
- kimi
- 通义千问
- 智谱
- 秘塔搜索
- 讯飞星火
- 海螺
- deepseek
- Openai
- Suno(音乐)
- Midjourney(绘画)
- Flux(绘图)
- Recraft(绘图)
- Ideogram(绘画)
- Luma(视频)
- Runway(视频)
- 可灵(视频)
Act-one 表情迁移
开发中
POST
https://api.ecovai.cn/runway/pro/video2video
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Authorization
string
可选
示例值:
{{YOUR_API_KEY}}
Body 参数application/json
callback_url
string
可选
video
string
上传16:9的资源
image
string
上传16:9的资源
options
object
可选
motion_multiplier
integer
可选
flip
boolean
可选
默认值:
false
示例
{
"callback_url": "http://baidu.com",
"video": "http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"model": "gen3",
"prompt": "像素风格",
"options": {
"structure_transformation": 0.5,
"flip": true
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ecovai.cn/runway/pro/video2video' \
--header 'Authorization: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url": "http://baidu.com",
"video": "http://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4",
"model": "gen3",
"prompt": "像素风格",
"options": {
"structure_transformation":0.5,
"flip": true
}
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
task_id
string
必需
state
string
必需
status
string
必需
prompt
string
必需
prompt_en
null
必需
video_url
null
必需
poster
null
必需
last_frame
null
必需
msg
null
必需
point
string
必需
refund
string
必需
create_time
string
必需
update_time
string
必需
exec_time
number
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"task_id": "9034a8e8-c920-4590-9f48-3ce5df78c65a",
"state": "",
"status": "",
"prompt": "",
"prompt_en": null,
"video_url": null,
"poster": null,
"last_frame": null,
"msg": null,
"point": "",
"refund": "",
"create_time": "",
"update_time": ""
},
"exec_time": 3.23708
}
修改于 2025-02-10 14:09:37