Skip to main content

API Base URL

https://crazyrouter.com

Main Endpoints

Chat API

EndpointMethodDescription
/v1/chat/completionsPOSTOpenAI Chat format
/v1/messagesPOSTAnthropic Claude format
/v1/responsesPOSTOpenAI Responses API
/v1/completionsPOSTLegacy Completions

Gemini Native Format

EndpointMethodDescription
/v1beta/models/{model}:generateContentPOSTContent generation
/v1beta/models/{model}:streamGenerateContentPOSTStreaming generation

Image API

EndpointMethodDescription
/v1/images/generationsPOSTOpenAI image generation
/v1/images/editsPOSTImage editing
/mj/submit/imaginePOSTMidjourney image generation
/ideogram/v1/ideogram-v3/generatePOSTIdeogram V3

Video API

EndpointMethodDescription
/v1/video/createPOSTUnified video creation
/v1/video/queryGETUnified video query
/kling/v1/videos/text2videoPOSTKling text-to-video
/luma/generationsPOSTLuma video generation
/runwayml/v1/tasksPOSTRunway video generation

Audio API

EndpointMethodDescription
/v1/audio/speechPOSTText-to-Speech (TTS)
/v1/audio/transcriptionsPOSTSpeech-to-Text (STT)
/suno/submit/musicPOSTSuno music generation

Other APIs

EndpointMethodDescription
/v1/embeddingsPOSTEmbeddings
/v1/rerankPOSTReranking
/v1/modelsGETModel list
/api/uploadPOSTImage upload
All endpoints support HTTPS. When using an OpenAI-compatible client, simply set base_url to https://crazyrouter.com/v1.