OpenAI

删除视频

按 ID 删除一个视频任务。

先调用「创建视频」,用返回的 ID 替换 video_123;下载前须轮询至 completed。

DELETE /openai/v1/videos/{video_id}● 支持

OpenAI 官方文档 ↗

请求参数

  • 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

名称类型说明
idstringId of the deleted video job.
objectstringObject type; always `video.deleted`.
deletedbooleanAlways true; the job is no longer readable.