Skip to content

Universal Video API

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

Unified Endpoints

1. Video Generation

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

2. Video Editing (Remix)

Endpoint: POST https://video.siraya.pro/v1/videos/edits
Remix or edit videos generated within our platform.

Usage Example

curl https://video.siraya.pro/v1/videos/generations \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo3-fast",
    "prompt": "Ocean waves crashing against rocks",
    "output_format": "url"
  }'
import requests

url = "https://video.siraya.pro/v1/videos/edits"
data = {
    "model": "sora-2-video-to-video",
    "video_id": "your-previous-video-id",
    "prompt": "Make it a sunset scene",
    "output_format": "url"
}
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.