latestOpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

videos

Video Generation

Video generation endpoint for creating videos from text prompts.

Follows the OpenAI Videos API spec: https://platform.openai.com/docs/api-reference/videos

Example:

curl -X POST "http://localhost:4000/v1/videos"         -H "Authorization: Bearer sk-1234"         -H "Content-Type: application/json"         -d '{
        "model": "sora-2",
        "prompt": "A beautiful sunset over the ocean"
    }'
post/videos

Response

Successful Response

{"stackTrail":"paths:/videos:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}