videos
Video Generation
Changed onVideo 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
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/videos
- AuthAPI key in header x-litellm-api-key
Request body multipart/form-data
Response
Successful Response
unknown required
Changes
- breaking
the
/request property contentMediaType changed fromtoapplication/octet-stream - info
the
/request property format was generalized frombinaryto no format - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking