latestOpenAPI 3.1.02026-08-236994571.1 MB
79928a3d37d3
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/v1/videos
Response
Successful Response
{"stackTrail":"paths:/v1/videos:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}