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.
POST https://www.soraopenapi.com/v1/video/generations
A text description of the desired video. The maximum length is 1000 characters.
The model to use for video generation.
The size of the generated video.
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"
}'
{
"data": [
{
"revised_prompt": "",
"url": "https://XXXXXX.mp4"
}
]
}