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

# MaxAPI developer documentation

> Call text, image, video, audio, and music models through one API platform.

Use one account and API key for OpenAI-compatible endpoints and provider-native APIs. Endpoint pages include the full URL, request parameters, code samples, response schemas, and an interactive playground.

<CardGroup cols={3}>
  <Card title="Start in five minutes" icon="rocket" href="/en/quickstart">
    Send your first chat request with the OpenAI SDK or cURL.
  </Card>

  <Card title="Browse the API catalog" icon="square-terminal" href="/en/api-reference/overview">
    Find endpoints by text, image, video, audio, or tools.
  </Card>

  <Card title="Choose an API format" icon="shuffle" href="/en/guides/choose-api">
    Compare OpenAI-compatible, task-based, and provider-native formats.
  </Card>
</CardGroup>

## API base URL

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

OpenAI SDKs normally use the `/v1` base path:

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

<Info>
  Append provider-native routes directly to `https://api.maxapi.ai`. Do not add an extra `/v1` before routes such as `/wan/*`, `/kling/*`, or `/vidu/*`.
</Info>

## Browse by capability

<CardGroup cols={2}>
  <Card title="Text & embeddings" icon="messages" href="/en/api-reference/text">Chat, completions, and vector embeddings.</Card>
  <Card title="Image generation" icon="image" href="/en/api-reference/images">Generate, edit, upscale, segment, and restore images.</Card>
  <Card title="Video generation" icon="video" href="/en/api-reference/video">Create and edit videos through asynchronous tasks.</Card>
  <Card title="Audio & music" icon="waveform" href="/en/api-reference/audio-music">Speech, transcription, sound effects, music, and lyrics.</Card>
  <Card title="Tools & presentations" icon="wrench" href="/en/api-reference/tools">Presentation, file, image utility, and account endpoints.</Card>
  <Card title="Client integrations" icon="plug" href="/en/usercases/index">Configure Cursor, Claude Code, Chatbox, and other clients.</Card>
</CardGroup>

## Make your first call

<Steps>
  <Step title="Create an API key">Create a key in the MaxAPI console and store it only in a server-side environment variable.</Step>
  <Step title="Choose a model and endpoint">Copy the exact model ID, then open the matching capability and provider in the API catalog.</Step>
  <Step title="Review the contract">Check the HTTP method, full URL, authentication header, required fields, and success response.</Step>
  <Step title="Test or copy code">Use the endpoint playground or copy a cURL, Python, JavaScript, Go, or Java example.</Step>
</Steps>

<CardGroup cols={3}>
  <Card title="Authentication" icon="key" href="/en/guides/authentication">Store and send your API key safely.</Card>
  <Card title="Async tasks" icon="clock" href="/en/guides/async-tasks">Handle image, video, and music jobs.</Card>
  <Card title="Errors" icon="triangle-alert" href="/en/guides/errors">Handle HTTP and provider errors with safe retries.</Card>
</CardGroup>
