circle-boltGenerate

Sora 2 Price: 0.10$ (10s, 15s)

Sora 2 Pro Price: 0.30$ (20s , 25s)

Sora 2 Parameters

  • prompt (required) - Text description

  • duration (optional, default: 15, available: 10, 15, 20, 25 (20s and 25s video costs 0.30$) - Video duration in seconds

  • aspect_ratio (optional, default: "16:9", available: "16:9", "9:16") - Video aspect ratio

  • image_url (optional) - Single reference image

Request
curl --location 'https://api.unifically.com/sora-2/generate' \
--header 'Authorization: Bearer KEY' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--data '{
    "prompt": "dancing robot",
    "aspect_ratio": "16:9",
    "image_url": "urlhere"
    "duration": 15
}'
Response from generation endpoints
{
    "code": 200,
    "data": {
        "task_id": "01k76zrfzfe8988e06b8pg3wen",
        "output": {},
        "error": {}
    }
}

Last updated