openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/videos:
post:
summary: 创建视频 /v1/videos
deprecated: true
description: ''
tags:
- 模型接口/ sora/异步格式
parameters:
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
default: application/json
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
model:
type: string
example: sora2-landscape
prompt:
description: 提示词
example: 女孩变成一个超人直立起飞
type: string
size:
type: string
description: |-
宽x高,会忽略具体数据 宽>高 为横屏,宽<高为竖屏
720x1280
1280x720
1024x1792
1792x1024
example: 720x1280
input_reference:
type: string
description: 图片
example: >-
https://cdn.pixabay,com/photo/2025/10/10/07/24/woman-9885226_960_720.png
seconds:
description: ' 只允许设置这三个值:10、15、25,其他值无效。并且25s需要sora-2-pro才有效'
example: '7'
type: string
watermark:
type: boolean
description: 是否需要水印,不传默认无水印(测试中)
example: 'false'
required:
- model
- prompt
examples: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example:
id: sora-2:task_01k7e89xwmfr1vjp42w574zbdb
object: video
model: sora-2
status: queued
progress: 0
created_at: 1760341326742
seconds: '10'
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: 模型接口/ sora/异步格式
x-apifox-status: deprecated
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-360265637-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []