Sora Open API

API for SoraOpenAI , This API will be called to generate video from text.

There is no Sora API for OpenAI yet, but you can still call me to see examples of text-to-video.

API Reference

Request url

POST https://www.soraopenapi.com/v1/video/generations

Request body


prompt  string  Required

A text description of the desired video. The maximum length is 1000 characters.


model  string  Optional Defaults to sora-1.0-turbo

The model to use for video generation.


size  string  Optional Defaults to 1920X1080

The size of the generated video.

Example request


curl https://www.soraopenapi.com/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
  "model": "sora-1.0-turbo",
  "prompt": "A cute baby sea otter",
  "size": "1920x1080"
}'
                    

Example response body

{
  "data": [
    {
      "revised_prompt": "",
      "url": "https://XXXXXX.mp4"
    }
  ]
}