Skip to content

Sora 2

Video-to-video remix endpoint for Sora 2, OpenAI’s advanced model that transforms existing videos based on new text or image prompts allowing rich edits, style changes, and creative reinterpretations while preserving motion and structure...

API Endpoint

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

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/edits` \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{...}'
import requests

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

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