Skip to content

Auth & Base URL

Base URL

https://gateway.mindproxy.ai

The base address for all API calls.

Path prefixes by API style:

API styleExample path
OpenAI-compatiblehttps://gateway.mindproxy.ai/v1/...
Claude nativehttps://gateway.mindproxy.ai/v1/messages (or /anthropic/v1/messages)
Gemini nativehttps://gateway.mindproxy.ai/v1beta/models/<model>:generateContent

Authentication

Authenticate with an API key (sk-...) created in the console. The three API styles accept slightly different methods:

APIAuth method
OpenAI-compatibleAuthorization: Bearer sk-...
Claude nativex-api-key: sk-..., or Authorization: Bearer sk-...
Gemini nativeURL query ?key=sk-..., or Authorization: Bearer sk-...

Endpoint overview

MethodPathDescription
POST/v1/chat/completionsChat (streaming / non-streaming)
POST/v1/embeddingsText embeddings
POST/v1/responsesResponses API
POST/v1/images/generationsImage generation
POST/v1/images/editsImage editing
POST/v1/audio/transcriptionsSpeech to text
POST/v1/audio/speechText to speech
POST/v1/messagesClaude messages (streaming / non-streaming)
POST/v1/messages/count_tokensClaude token counting (free)
POST/v1beta/models/<model>:generateContentGemini generate
POST/v1beta/models/<model>:streamGenerateContentGemini streaming
GET/v1/modelsList available models
POST/v1/tasksCreate async task (video / MJ / async image)
GET/v1/tasks/{id}Get task status
GET/v1/tasks/{id}/eventsTask event list
POST/v1/tasks/{id}/cancelCancel task

Common request headers

HeaderPurpose
Idempotency-KeyIdempotency key. Send the same value when retrying to avoid double charges.
X-TT-Dry-Run: trueDry run: exercise auth and billing hold only, no model call, no charge — returns an estimate.

Common response headers

HeaderMeaning
X-TT-Request-IDThe gateway request id for this call; give it to support to locate the request.
X-TT-Hold-IDThe billing hold id for this call.
X-RateLimit-*Rate-limit quota info (see Errors & rate limits).
X-TT-Cache-*Cache hit / savings info (see Recharge & Billing).

Gateway: gateway.mindproxy.ai · Built with VitePress