OpenAI
删除视频
按 ID 删除一个视频任务。
先调用「创建视频」,用返回的 ID 替换 video_123;下载前须轮询至 completed。
DELETE
/openai/v1/videos/{video_id}● 支持请求参数
video_idstring必填path: Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400.
返回
200 video.deleted
删除任务及其生成的内容。任务不存在返回 404。
错误按 OpenAI 格式返回,参见 错误码
响应
HTTP 200
Success
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| id | string | Id of the deleted video job. |
| object | string | Object type; always `video.deleted`. |
| deleted | boolean | Always true; the job is no longer readable. |