名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
---|---|---|---|---|---|
body | body | object | 否 | none | |
» video | body | string | 是 | none | |
» model | body | string | 是 | 模型 | none |
» prompt | body | string | 是 | 描述词 | 支持中文 |
» options | body | object | 是 | 参数 | none |
»» structure_transformation | body | number | 是 | 结构改造 | 0-1之间 |
»» flip | body | boolean | 否 | 是否竖屏 | 默认为宽屏,即16:9 |
{
"video": "string",
"model": "string",
"prompt": "string",
"options": {
"structure_transformation": 0,
"flip": true
}
}
curl --location -g --request POST '{{BASE_URL}}/runway/v1/pro/video2video' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"video": "string",
"model": "string",
"prompt": "string",
"options": {
"structure_transformation": 0,
"flip": true
}
}'
{}