Skip to content

rout.my documentation

rout.my exposes a unified API for chat, embeddings, image generation, video generation, and compatibility formats used by popular clients. The quick-start examples are pre-filled with rout.my defaults so a new user only needs to paste their API key.

Base URLs

PurposeURL
OpenAI-compatible APIhttps://api.rout.my/v1
Gemini-compatible APIhttps://api.rout.my/compatible/v1beta
Anthropic-compatible APIhttps://api.rout.my/v1
Embed image URLshttps://api.rout.my/embed

Main endpoints

EndpointMethodWhat it does
/v1/modelsGETLists model IDs visible to your account.
/v1/chat/completionsPOSTOpenAI-style chat, tools, vision input, streaming, and image-capable chat models.
/v1/responsesPOSTOpenAI Responses-style request shape for agents and Codex-like clients.
/v1/embeddingsPOSTText embeddings for search, retrieval, clustering, and similarity.
/v1/images/generationsPOSTOpenAI-style image generation endpoint.
/v1/video/generationsPOSTSynchronous video generation endpoint.
/embed/image:{model}GETReturns raw image bytes for direct use in HTML or Markdown.

Start here

Ready defaults

Client or taskUse this model
OpenAI-compatible chat and SDK examplesopenai/gpt-5.4
Codex custom provideropenai/gpt-5.4
Cheaper/faster OpenAI-compatible fallbackopenai/gpt-5.4-mini
Claude Code and Anthropic SDKanthropic/claude-sonnet-4.6

Model IDs for advanced users

Use GET /v1/models only when you want a different model. If you change the examples, copy the exact id returned by the API.

API documentation for rout.my.