Skip to main content
POST
Create video

Ủy quyền

Authorization
string
header
bắt buộc

Authenticate with a Bearer Token. Format: Authorization: Bearer sk-xxxxxx

Nội dung

multipart/form-data
model
string

Model name

Ví dụ:

"sora-2"

prompt
string

Prompt

Ví dụ:

"cute cat dance"

seconds
string

Generated duration in seconds

Ví dụ:

"8"

input_reference
file

Reference image file

Phản hồi

Video task created successfully

id
string
bắt buộc

Video ID

object
string
bắt buộc

Object type

model
string
bắt buộc

Model used

status
string
bắt buộc

Task status

progress
integer
bắt buộc

Progress percentage

created_at
integer
bắt buộc

Creation timestamp

seconds
string
bắt buộc

Video duration

completed_at
integer

Completion timestamp

expires_at
integer

Expiration timestamp

size
string

Video size

error
object

OpenAI video error information

metadata
object

Additional metadata