> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Sora 2 Trial

The Sora 2 trial edition connects directly to the version of Sora 2 on the ChatGPT website. It costs less than the official API but is less reliable.

The Sora 2 Pro trial edition likewise uses the ChatGPT website's Sora 2 Pro model. Compared with the standard edition, it offers 1080p output and a 15-second duration setting.

### Model parameters

* Model IDs: `sora-2-all` and `sora-2-pro-all`
* Pricing: Check the [model marketplace](https://geekai.co/models?platform=openai\&type=video) for current prices.
* Endpoint: `https://geekai.co/api/v1/videos/generations`
* Parameters: [Video generation API](https://docs.geekai.co/en/api/video/generations.md)
* Authentication: [Get an API key](https://docs.geekai.co/en/docs/quick_start.md)

> [!NOTE]
>
> The trial editions do not support the following common video generation parameters:
>
> * `negative_prompt`
> * `image_tail`
> * `size`
> * `with_audio`
> * `quality`
> * `fps`
> * `watermark`

Supported `aspect_ratio` values:

* `16:9`: landscape (default)
* `9:16`: portrait

Supported `resolution` values:

* `720p`: standard resolution (default)
* `1080p`: high resolution (Sora 2 Pro trial only)

Supported `duration` values:

* `10` seconds (default)
* `15` seconds
* `25` seconds (Sora 2 Pro trial only)

### Model pricing

The Sora 2 and Sora 2 Pro trial editions are billed per generation, regardless of video duration:

![GeekAI pricing for the Sora 2 and Sora 2 Pro trial editions](https://static.geekai.co/storage/2026/03/14/image-20260314010628167.png)

The Sora 2 trial can cost as little as CNY 0.20 per video. Select the low-cost route for the API key used to make the request.

### Text to video

Generate a video from a text description:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
    "model":"sora-2-all",
    "prompt":"Wide tracking shot: a pale blue-green two-door coupe travels along a desert highway. Heat ripples distort the air beneath the blazing midday sun."
}'
```

The JSON response contains the generated video URL:

```json theme={null}
{
    "model": "sora-2-all",
    "task_id": "a0a0474f-d074-4a92-8cae-d58ce5d2c91c",
    "task_status": "succeed",
    "video_result": [
        {
            "url": "https://static.geekai.co/video/2025/10/14/0b2d6b5aee6f01622b6b4315e0193b09.mp4"
        }
    ]
}
```

### Image to video

Generate a video from a reference image and a text prompt:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
    "model":"sora-2-pro-all",
    "prompt":"A refrigerator door opens. A cute, chubby purple monster steps out, stretches, and grins at the camera.",
    "image":"https://cdn.openai.com/API/docs/images/sora/sora_monster_original_2.jpeg",
    "resolution": "1080p",
    "duration": 15
}'
```

The JSON response contains the generated video URL:

```json theme={null}
{
    "model": "sora-2-pro-all",
    "task_id": "3cb3e175-79bf-47f0-8ac5-8c4a26cfc74c",
    "task_status": "succeed",
    "video_result": [
        {
            "url": "https://static.geekai.co/video/2025/10/14/3e2e00928877112d0fff4affa16f55c0.mp4"
        }
    ]
}
```

To create a task asynchronously and retrieve its result, follow the same steps as in the [Sora 2 asynchronous example](https://docs.geekai.co/en/docs/video/openai/sora-2#asynchronous-tasks).

### Reliability

Both trial editions use the ChatGPT website versions. The website's stricter controls make requests more likely to fail than with the official API. For a customer-facing application, use the [official API editions of Sora 2 and Sora 2 Pro](https://docs.geekai.co/en/docs/video/openai/sora-2).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.