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

# SDK compatibility overview

> Use official OpenAI and Gemini SDKs against apisale.

Point vendor SDKs at `https://api.apisale.ai` with your apisale API key (`sk-…`).

## Authentication

| Client              | Header   | Example                                |
| ------------------- | -------- | -------------------------------------- |
| curl / scripts      | `Key`    | `Authorization: Key sk-…`              |
| OpenAI / Gemini SDK | `Bearer` | SDK sends `Authorization: Bearer sk-…` |

Same key value — see [Authentication](/get-started/authentication).

## Routes

| SDK         | Base path                                    | Docs                                 |
| ----------- | -------------------------------------------- | ------------------------------------ |
| OpenAI      | `/v1/images/*`, `/v1/videos/*`, `/v1/models` | [OpenAI SDK](/sdk-compat/openai-sdk) |
| Gemini      | `/v1beta/models/*`                           | [Gemini SDK](/sdk-compat/gemini-sdk) |
| Native REST | `/v1/run/{slug}`                             | [Model APIs](/model-apis/overview)   |

Native REST exposes the full catalog; SDK routes cover common migration paths.
