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

# Introduction

> getimg.ai API for image and video generation.

The getimg.ai API gives you direct access to image and video generation in one production-ready interface. All endpoints use the `v2` prefix and the same base URL.

```text theme={null}
https://api.getimg.ai
```

## Get started

<Steps>
  <Step title="Get your API key">
    Create an API key in the [developer settings](https://getimg.ai/app/developer/api-keys).
  </Step>

  <Step title="Make your first generation">
    Follow the [quickstart](/guides/quickstart) to generate an image.
  </Step>

  <Step title="Choose a model">
    Use the [models guide](/guides/models) to understand image and video models.
  </Step>
</Steps>

## What this API covers

<Columns cols={2}>
  <Card title="Image generation" icon="image" href="/guides/generate-images">
    Generate images synchronously from a prompt and optional reference images.
  </Card>

  <Card title="Video generation" icon="video" href="/guides/generate-videos">
    Submit a video generation, poll for completion, then download the result.
  </Card>
</Columns>

## Core concepts

<CardGroup cols={3}>
  <Card title="Authentication" icon="key" href="/guides/authentication">
    Send your API key in the `Authorization` header.
  </Card>

  <Card title="Models" icon="microchip" href="/guides/models">
    Find the right model for the output you need.
  </Card>

  <Card title="Media responses" icon="download" href="/guides/media-responses">
    Understand `data`, `usage`, download URLs, and expiry.
  </Card>

  <Card title="Errors" icon="circle-exclamation" href="/guides/errors">
    Handle validation, balance, rate limit, and server errors.
  </Card>

  <Card title="Rate limits" icon="gauge" href="/guides/rate-limits">
    Understand RPM, concurrency, and retry behavior.
  </Card>
</CardGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/guides/quickstart">
    Go from API key to first image generation fast.
  </Card>

  <Card title="Generate images" icon="image-plus" href="/guides/generate-images">
    Learn the synchronous image flow and parameter basics.
  </Card>

  <Card title="Generate videos" icon="clapperboard" href="/guides/generate-videos">
    Learn the submit, poll, and download flow for videos.
  </Card>

  <Card title="Libraries" icon="code" href="/guides/libraries">
    Use the official Node.js or Python client library.
  </Card>
</CardGroup>
