Create Video
Create an asynchronous video generation job through LLM Gateway using the OpenAI-compatible video API across supported providers.
Creates a new asynchronous video generation job using an OpenAI-compatible request format.
Authorization
bearerAuth Bearer token authentication using API keys
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.llmgateway.io/v1/videos" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A cinematic drone shot flying through a neon-lit futuristic city at night", "seconds": 8 }'{
"id": "string",
"object": "video",
"model": "string",
"status": "queued",
"progress": 100,
"created_at": 0,
"completed_at": 0,
"expires_at": 0,
"error": {
"code": "string",
"message": "string",
"details": null
},
"content": [
{
"type": "video",
"url": "http://example.com",
"mime_type": "string"
}
]
}How is this guide?
Last updated on