更新一个视频
开发环境
开发环境
PATCH
https://api.synthesia.io/v2/videos/{VIDEO_ID}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.synthesia.io/v2/videos/' \
--header 'Authorization: $API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{ "title":"Hello, World!", "description":"This is my first synthetic video, made with the Synthesia API!", "ctaSettings": { "label": "Click me!", "url": "https://www.synthesia.io/" }, "visibility": "public" }'
响应示例响应示例
{
(video object keys)
}
请求参数
Path 参数
VIDEO_ID
string
必需
Header 参数
Authorization
string
必需
示例值:
$API_KEY
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
返回响应
修改于 2024-01-30 07:55:01