Skip to Content
Gateway

All API formats

Every endpoint the Respan gateway serves.

Send your Respan API key in Authorization: Bearer, x-api-key, or x-goog-api-key; the gateway reads whichever is set, so each SDK’s own header works. Every response carries X-Respan-Log-Id.

Chat

EndpointMethodURLProviders
OpenAI Chat CompletionsPOSThttps://gateway.respan.ai/v1/chat/completionsAll
OpenAI ResponsesPOSThttps://gateway.respan.ai/v1/responsesAll
Anthropic MessagesPOSThttps://gateway.respan.ai/v1/messagesAll
Google generateContentPOSThttps://gateway.respan.ai/v1beta/models/{model}:generateContentAll
Google generateContent on Vertex AIPOSThttps://gateway.respan.ai/api/google/vertexai/v1beta/models/{model}:generateContentVertex AI

Any model works in any chat format. Google’s methods share one path, /v1beta/models/{model}, and differ only in the method after the colon. Set the Google GenAI SDK’s base URL to https://gateway.respan.ai and it builds each path itself. To stream, set stream: true, or for Google call :streamGenerateContent?alt=sse in place of :generateContent.

Images

EndpointMethodURLProviders
Image generationPOSThttps://gateway.respan.ai/v1/images/generationsOpenAI, Gemini, OpenRouter, Together AI, xAI
Image editsPOSThttps://gateway.respan.ai/v1/images/editsOpenAI, Gemini, OpenRouter, Together AI, xAI
Google generateContentPOSThttps://gateway.respan.ai/v1beta/models/{model}:generateContentGemini

A Gemini image model, such as gemini-2.5-flash-image, also answers on Google’s generateContent, where the call is served as chat and the images come back as inlineData parts.

Video

EndpointMethodURLProviders
Create a videoPOSThttps://gateway.respan.ai/v1/videosGemini (Omni)
Get a video jobGEThttps://gateway.respan.ai/v1/videos/{id}Gemini (Omni)
Download a videoGEThttps://gateway.respan.ai/v1/videos/{id}/contentGemini (Omni)
Google predictLongRunningPOSThttps://gateway.respan.ai/v1beta/models/{model}:predictLongRunningGemini (Omni)

The first three rows are OpenAI’s Videos API. The last is Google’s own video method on the same /v1beta/models/{model} path, which also takes 360p and 4k in parameters.resolution. The Google GenAI SDK polls the operation and downloads the video from the same base URL.

Audio

EndpointMethodURLProviders
SpeechPOSThttps://gateway.respan.ai/v1/audio/speechOpenAI, Groq, Mistral, DeepInfra, EmpirioLabs, OpenRouter
TranscriptionPOSThttps://gateway.respan.ai/v1/audio/transcriptionsOpenAI, Groq, Mistral
TranslationPOSThttps://gateway.respan.ai/v1/audio/translationsOpenAI, Groq

Embeddings

EndpointMethodURLProviders
EmbeddingsPOSThttps://gateway.respan.ai/v1/embeddingsOpenAI, Gemini, Mistral, Fireworks, Together AI
Google embedContentPOSThttps://gateway.respan.ai/v1beta/models/{model}:embedContentOpenAI, Gemini, Mistral, Fireworks
Google batchEmbedContentsPOSThttps://gateway.respan.ai/v1beta/models/{model}:batchEmbedContentsOpenAI, Gemini, Mistral, Fireworks

Realtime

EndpointMethodURLProviders
OpenAI RealtimeWebSocketwss://gateway.respan.ai/v1/realtime?model={model}OpenAI, Gemini, Mistral, StepFun, EmpirioLabs
OpenAI LiveWebSocketwss://gateway.respan.ai/v1/live/sessionsOpenAI
Gemini LiveWebSocketwss://gateway.respan.ai/ws/google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent?model={model}OpenAI, Gemini, Mistral
Mistral realtime transcriptionWebSocketwss://gateway.respan.ai/v1/audio/transcriptions/realtime?model={model}OpenAI, Gemini, Mistral
Phonic speech-to-speechWebSocketwss://gateway.respan.ai/sts/ws?model={model}Phonic

Decisions

EndpointMethodURLProviders
Respan System OnePOSThttps://gateway.respan.ai/api/v1/systemoneTypeSafe, OpenAI, Azure OpenAI, OpenRouter, EmpirioLabs, Morph
OpenAI decisionsPOSThttps://gateway.respan.ai/openai/v1/decisionsTypeSafe, OpenAI, Azure OpenAI, OpenRouter, EmpirioLabs, Morph
Gemini decisionsPOSThttps://gateway.respan.ai/v1beta/decisionsTypeSafe, OpenAI, Azure OpenAI, OpenRouter, EmpirioLabs, Morph