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

# Authentication

> Authenticate requests with a Keyframe API key.

# Authentication

The API uses bearer keys.

```bash theme={null}
Authorization: Bearer $KEYFRAME_API_KEY
```

Keep keys server-side. Do not ship them in browsers, mobile apps, public repos, or client config.

## Idempotency

Send an `Idempotency-Key` header when creating movies or other billable jobs.

```bash theme={null}
Idempotency-Key: launch-film-001
```

If the same key is retried with the same body, Keyframe returns the original job. This prevents accidental duplicate spend.

## Environments

The planned production base URL is:

```txt theme={null}
https://api.keyframe.art/v1
```

Sandbox and preview environments may be added during beta.
