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

# Quick Start

> Quickly start using our API services

# Quick Start

Welcome to our API services! This guide helps you quickly get started with image and video generation.

## Step 1: Get an API Key

1. Visit the [API Key Management page](https://api.elkapi.com/keys)
2. Sign in to your account
3. Create a new API key
4. Save your key securely (it is shown only once)

## Step 2: Choose a Model

We provide multiple AI models to choose from.

### Text Generation Models

* **GPT-5**: Powerful dialogue and text generation capabilities
* **Claude**: High-performance conversational model by Anthropic
* **Gemini**: Google's multimodal large language model

### Image Generation Models

* **GPT-Image**: High‑quality image generation

### Video Generation Models

* **VEO 3.1**: Professional video generation

## Step 3: Send a Request

### Text generation example

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5",
    "messages": [
      {
        "role": "user",
        "content": "Hello, please introduce yourself"
      }
    ]
  }'
```

### Image generation example

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-1.5",
    "prompt": "A cute panda",
    "size": "1:1",
    "n": 1
  }'
```

### Video generation example

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.1-generate-preview",
    "prompt": "Waves crashing against the shore",
    "duration": 4,
    "size": "1280x720"
  }'
```

## Step 4: Check Task Status

Because we use asynchronous processing, you need to query task status to obtain results.

```bash theme={null} theme={null}
curl -X GET https://api.elkapi.com/v1/video/generations/YOUR_TASK_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## What’s Next

<Card title="View API docs" icon="book" href="/en/api-reference/texts/general/chat-completions">
  Learn more about all available API endpoints.
</Card>

<Card title="Development Guide" icon="code" href="/en/development">
  Learn how to integrate the API into your application.
</Card>
