Skip to content

Create Video

POST
/v1/videos
  • OpenAI official Sora video generation endpoint
  • Request body is multipart/form-data; model and prompt are required
  • Supports models such as sora-2 and sora-2-pro
  • Official docs: Videos create

Authorizations

bearer
Type
HTTP (bearer)

Request Body

multipart/form-data
object

Video generation model to use (allowed: sora-2, sora-2-pro).

Text prompt describing the video to generate.

Clip duration in seconds (allowed: 4, 8, 12). Default is 4.

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

Optional image reference to guide generation.

Format"binary"

-ALL models supported parameter

-ALL models supported parameter

-ALL models supported parameter. Styles: thanksgiving, comic, news, selfie, nostalgic, anime

Responses

application/json
object

Playground

Authorization
Body

Samples