openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/videos/{id}:
get:
summary: 查询视频任务详情
deprecated: false
description: 使用查询接口以获取当前任务的状态等信息,不返回视频的url,必须通过转存接口进行转存
tags:
- 模型接口/ sora/异步格式
parameters:
- name: id
in: path
description: ''
required: true
example: video_697af7ca393081908c405136ab752411
schema:
type: string
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
id:
type: string
size:
type: string
error:
type: 'null'
model:
type: string
object:
type: string
prompt:
type: string
status:
type: string
seconds:
type: string
progress:
type: integer
created_at:
type: integer
expires_at:
type: integer
completed_at:
type: integer
remixed_from_video_id:
type: 'null'
required:
- id
- size
- error
- model
- object
- prompt
- status
- seconds
- progress
- created_at
- expires_at
- completed_at
- remixed_from_video_id
x-apifox-orders:
- id
- size
- error
- model
- object
- prompt
- status
- seconds
- progress
- created_at
- expires_at
- completed_at
- remixed_from_video_id
example:
id: video_697af7ca393081908c405136ab752411
size: 720x1280
error: null
model: sora-2
object: video
prompt: 女孩直立起飞
status: completed
seconds: '4'
progress: 100
created_at: 1769666506
expires_at: 1769752906
completed_at: 1769666597
remixed_from_video_id: null
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/ sora/异步格式
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-360267446-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []