Skip to content

Sora 2 Pro

Image-to-video endpoint for Sora 2 Pro, OpenAI's state-of-the-art video model capable of creating richly detailed, dynamic clips with audio from natural language or images.

API Endpoint

POST `https://video.siraya.pro/v1/videos/generations``

Request Parameters

Parameter Type Required Description
Authorization string Yes Your API Key (e.g., Bearer <API_KEY>).

Body

Parameter Type Default Description
model string - The model ID: Header.
prompt string - A text description for the video content.
image_url string - (Optional) Input image URL.
output_format string url Result format (url or b64_json).

Usage Examples

curl https://video.siraya.pro/v1/videos/generations` \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{...}'
import requests

url = "https://video.siraya.pro/v1/videos/generations`"
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <API_KEY>"
}
data = {...}

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