主题切换
openai 创建视频(带Character)
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/videos:
post:
summary: openai 创建视频(带Character)
deprecated: false
description: ''
tags:
- 视频模型/sora 视频生成/OpenAI官方视频格式
parameters: []
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
model:
example: sora-2
type: string
prompt:
example: 画面动起来
type: string
seconds:
example: '10'
type: string
input_reference:
format: binary
type: string
example: file://C:\Users\Administrator\Desktop\场景1.png
size:
description: >+
输出分辨率格式为宽度 x
高度(允许的值:720x1280,1280x720,1024x1792,1792x1024)。默认值为
720x1280。
example: 720x1280
type: string
watermark:
example: ture
type: string
private:
example: 'false'
type: string
character_url:
example: >-
https://example.com/?sample-character-video=1
type: string
character_timestamps:
example: 1,3
type: string
required:
- model
- prompt
examples: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
id:
type: string
object:
type: string
model:
type: string
status:
type: string
progress:
type: integer
created_at:
type: integer
seconds:
type: string
size:
type: string
required:
- id
- object
- model
- status
- progress
- created_at
- seconds
- size
x-apifox-orders:
- id
- object
- model
- status
- progress
- created_at
- seconds
- size
example:
id: video_6048220c-b0d9-4292-b80b-9c6eaf73f112
object: video
model: sora_video2
status: queued
progress: 0
created_at: 1762326617
seconds: '10'
size: 1280x720
headers: {}
x-apifox-name: 成功
security:
- bearer: []
x-apifox-folder: 视频模型/sora 视频生成/OpenAI官方视频格式
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/7937429/apis/api-427877359-run
components:
schemas: {}
securitySchemes:
bearer:
type: http
scheme: bearer
servers:
- url: https://new.22codex.xyz
description: 正式环境
security:
- bearer: []