Skip to main content
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.

Start in five minutes

Send your first chat request with the OpenAI SDK or cURL.

Browse the API catalog

Find endpoints by text, image, video, audio, or tools.

Choose an API format

Compare OpenAI-compatible, task-based, and provider-native formats.

API base URL

OpenAI SDKs normally use the /v1 base path:
Append provider-native routes directly to https://api.maxapi.ai. Do not add an extra /v1 before routes such as /wan/*, /kling/*, or /vidu/*.

Browse by capability

Text & embeddings

Chat, completions, and vector embeddings.

Image generation

Generate, edit, upscale, segment, and restore images.

Video generation

Create and edit videos through asynchronous tasks.

Audio & music

Speech, transcription, sound effects, music, and lyrics.

Tools & presentations

Presentation, file, image utility, and account endpoints.

Client integrations

Configure Cursor, Claude Code, Chatbox, and other clients.

Make your first call

1

Create an API key

Create a key in the MaxAPI console and store it only in a server-side environment variable.
2

Choose a model and endpoint

Copy the exact model ID, then open the matching capability and provider in the API catalog.
3

Review the contract

Check the HTTP method, full URL, authentication header, required fields, and success response.
4

Test or copy code

Use the endpoint playground or copy a cURL, Python, JavaScript, Go, or Java example.

Authentication

Store and send your API key safely.

Async tasks

Handle image, video, and music jobs.

Errors

Handle HTTP and provider errors with safe retries.