Amux AI

Overview

Last updated November 22, 2026

Endpoints, authentication, model IDs, and routing syntax for the Amux AI API.

Amux AI (amux.ai) provides inference and generation endpoints compatible with OpenAI, Anthropic, and Google Gemini, along with a unified asynchronous media task API. Existing clients and official SDKs can integrate directly by updating the base URL and API key.

Addresses and endpoints

  • API host: https://gateway.amux.ai
  • OpenAI SDK base_url: https://gateway.amux.ai/v1

Endpoints are grouped by protocol and calling pattern:

Text generation (convertible protocols)

ProtocolMethodPath
OpenAI Chat CompletionsPOST/v1/chat/completions
OpenAI ResponsesPOST/v1/responses
Anthropic MessagesPOST/v1/messages
Google GeminiPOST/v1beta/models/{model}:generateContent
/v1/models/{model}:generateContent

Image generation and editing

ProtocolMethodPath
Google GeminiPOST/v1beta/models/{model}:generateContent
/v1/models/{model}:generateContent
OpenAI ImagesPOST/v1/images/generations
OpenAI Images (edit)POST/v1/images/edits
Alibaba Model Studio ImagePOST/api/v1/services/aigc/multimodal-generation/generation
Alibaba Model Studio Image (async)POST/api/v1/services/aigc/image-generation/generation
Volcengine Ark ImagePOST/api/v3/images/generations

Audio (Text to Speech & Speech to Text)

ProtocolMethodPath
Text to SpeechPOST/v1/tools/tts
Speech to TextPOST/v1/tools/asr

Video generation

ProtocolMethodPath
Alibaba Model Studio VideoPOST/api/v1/services/aigc/video-generation/video-synthesis
Alibaba Model Studio Video (get)GET/api/v1/tasks/{id}
MiniMax VideoPOST/v2/video_generation
MiniMax Video (get)GET/v2/query/video_generation/{id}
Volcengine Ark VideoPOST/api/v3/contents/generations/tasks
Volcengine Ark Video (get)GET/api/v3/contents/generations/tasks/{id}
xAI VideoPOST/v1/videos/generations
xAI Video (edit)POST/v1/videos/edits
xAI Video (extend)POST/v1/videos/extensions
xAI Video (get)GET/v1/videos/{id}
Sand.ai VideoPOST/v2/generations
Sand.ai Video (get)GET/v2/generations/{id}

Decisions

ProtocolMethodPath
TypeSafeAI System OnePOST/v1/systemone

Embeddings

ProtocolMethodPath
OpenAI EmbeddingsPOST/v1/embeddings

Rerank

ProtocolMethodPath
Jina RerankPOST/v1/rerank

Web Search, Fetch & Document OCR

ProtocolMethodPath
Web SearchPOST/v1/tools/search
Web FetchPOST/v1/tools/fetch
Document OCRPOST/v1/tools/ocr

Unified asynchronous generation

ProtocolMethodPath
Amux TasksPOST/v1/tasks
Amux Tasks (get)GET/v1/tasks/{id}
Amux Tasks (cancel)POST/v1/tasks/{id}/cancel
  • Text protocols: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Google Gemini support cross-protocol conversion. Refer to each model detail page for supported entry points.
  • Image protocols: OpenAI Images endpoints are dedicated to image generation and editing and do not participate in text protocol conversion. Google Gemini generateContent supports both text and image generation, controlled via generationConfig.responseModalities in the request body.
  • Asynchronous media tasks: Amux Tasks provides a unified asynchronous API where the model parameter determines the modality. Image, video, and audio tasks share the same submission and retrieval endpoints.
  • Decision models: TypeSafeAI System One serves structured decision models that return typed evaluations for each question rather than free-form text, and does not participate in text protocol conversion. See Jev.
  • Embeddings and reranking: POST /v1/embeddings (compatible with OpenAI SDKs and Jina extensions) generates dense text and multimodal vectors; POST /v1/rerank scores and reorders candidate documents against a query. Both are synchronous direct-pass endpoints and do not participate in text protocol conversion. See Create Embeddings and Rerank Documents.
  • Web search and fetch tools: POST /v1/tools/search and POST /v1/tools/fetch expose unified JSON schemas for live web search and webpage extraction, routing by model (such as Jina Search, Jina Fetch, DeepSeek Search, and DeepSeek Fetch). See Web Search and Web Fetch.

Authentication

Pass your Amux AI API key using the authentication method expected by your target protocol:

ProtocolAuthentication
OpenAI-compatible endpoints, Amux Tasks, TypeSafeAI System One, Jina RerankAuthorization: Bearer <key>
Anthropic Messagesx-api-key: <key>
Google Geminix-goog-api-key: <key> or query parameter ?key=<key>

Create and manage API keys on the API Keys page in the console.

The same API key can be used to query account balances and spend limits, verify key configuration, and retrieve active base URLs. Relay services such as new-api, one-api, and sub2api can synchronize balances directly. See Get Balance and Spend Limits.

Model identifiers

Use the canonical model ID shown on the model detail page, formatted as vendor/model:

anthropic/claude-opus-5
openai/gpt-5.6
deepseek/deepseek-v3.2

Most models also accept a short name without the vendor prefix (such as claude-opus-5), which is returned as id by GET /v1/models. Model aliases are globally unique across the platform, and both forms resolve to the same model.

Selecting a provider

By default, Amux AI routes requests across available providers. To pin a request to a specific provider, append :<provider> to the model ID:

anthropic/claude-opus-5:anthropic

Pinned requests do not fail over to other providers. Omit the provider suffix when automatic failover is required.

Selecting a routing strategy

Append :@<strategy> to the model ID to specify provider ordering for a single request:

anthropic/claude-opus-5:@price
SuffixDescription
@balancedBalances availability and routing weight (default)
@pricePrioritizes lower unit prices
@latencyPrioritizes lower time to first token
@throughputPrioritizes higher output throughput
@reliabilityPrioritizes higher success rates

A routing strategy only reorders providers accessible to the current API key; it does not expand the available provider pool. Provider and strategy suffixes cannot be combined. If an API key is configured with a fixed routing strategy, the request cannot override it.

Protocol and model compatibility

Calling protocol and model support are independent dimensions. Refer to each model detail page for its supported protocols. Unsupported protocol-model combinations return an explicit error and are never silently downgraded.

When calling a model across protocols, certain protocol-specific parameters may be converted or filtered. See Text protocol conversion for detailed rules.

Next steps

  • Request parameters, response schemas, and examples: select an endpoint from the sidebar
  • Cross-protocol parameter mapping: Text protocol conversion
  • Error codes, failover, and retry guidelines: Errors and retries