Skip to main content
POST
Create video

承認

Authorization
string
header
必須

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

ボディ

multipart/form-data
model
string

Model name

:

"sora-2"

prompt
string

Prompt

:

"cute cat dance"

seconds
string

Generated duration in seconds

:

"8"

input_reference
file

Reference image file

レスポンス

Video task created successfully

id
string
必須

Video ID

object
string
必須

Object type

model
string
必須

Model used

status
string
必須

Task status

progress
integer
必須

Progress percentage

created_at
integer
必須

Creation timestamp

seconds
string
必須

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