Create Video
POST
/v1/videos
- OpenAI official Sora video generation endpoint
- Request body is
multipart/form-data;modelandpromptare required - Supports models such as
sora-2andsora-2-pro - Official docs: Videos create
Authorizations
bearer
Type
HTTP (bearer)
Request Body
multipart/form-data
model
string
Required
Video generation model to use (allowed: sora-2, sora-2-pro).
prompt
string
Required
Text prompt describing the video to generate.
seconds
string
Clip duration in seconds (allowed: 4, 8, 12). Default is 4.
size
string
Output resolution as width x height (allowed: 720x1280, 1280x720, 1024x1792, 1792x1024). Default is 720x1280.
sora-2 supports 720x1280, 1280x720
sora-2-pro supports 1024x1792, 1792x1024
input_reference
string
Optional image reference to guide generation.
Format
"binary"watermark
string
-ALL models supported parameter
private
string
-ALL models supported parameter
style
string
-ALL models supported parameter. Styles: thanksgiving, comic, news, selfie, nostalgic, anime
Responses
application/json
object
id
string
object
string
model
string
status
string
progress
integer
created_at
integer
seconds
string
size
string