Skip to content

Universal Video API

The Universal Video API provides a unified interface for generating video content using state-of-the-art models like Sora, Veo.

Unified Endpoints

Video Generation

Endpoint: POST https://llm.siraya.ai/v1/videos/generations
Create new video sequences from text prompts or static images.

Usage Example

curl https://llm.siraya.ai/v1/videos/generations \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.0-generate-001",
    "prompt": "Ocean waves crashing against rocks",
    "seconds": 4
  }'
import requests

url = "https://llm.siraya.ai/v1/videos/generations"
data = {
    "model": "veo-3.0-generate-001",
    "prompt": "Ocean waves crashing against rocks",
    "seconds": 4
}
headers = {"Authorization": "Bearer <API_KEY>"}

response = requests.post(url, headers=headers, json=data)
print(response.json())

Check the Video Generative APIs for more details on specific model capabilities.