Create Sora2 video
Kick off a Sora2 generation job with text-to-video or optional image-to-video prompts.
Payload parameters
- Required. Must be "sora-2" to target the latest model.
- Required. Natural language description of the scene you want Sora to create.
- Optional. Base64 data URL for image-to-video mode; uploaded to storage automatically.
- Optional. Supported values: "9:16" (default) or "16:9".
- Optional. HTTPS endpoint that receives the final result payload when the task succeeds.
- Optional. Set true in webhook mode to suppress intermediate SSE progress events.
Notes
- Responses are streamed over Server-Sent Events; keep the connection open and parse progress updates until completion.
- Provide webHook to receive the final payload asynchronously without polling.
Sample request
curl -X POST https://FreeSoraGenerator.com/api/v1/video/sora-video \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-N \
-d '{
"model": "sora-2",
"prompt": "A cinematic shot of a futuristic city at sunset, captured in 4K."
}'SSE
data: {"id":"task-123","status":"running","progress":45}
data: {"id":"task-123","status":"succeeded","progress":100,"results":[{"url":"https://cdn.example.com/videos/task-123.mp4"}]}