Chapter 4 of 211 min

4. Endpoint Overview#

All endpoints are mounted under the /v1 prefix (locally: http://183.240.79.21:52099/v1).

CapabilityMethodPathDescription
List available modelsGET/v1/modelsReturns the models this key may access
Chat completionsPOST/v1/chat/completionsPrimary endpoint; supports streaming
ResponsesPOST/v1/responsesOpenAI Responses API compatible
Text embeddingsPOST/v1/embeddingsGenerates embedding vectors
Image generationPOST/v1/images/generationsText to image
Image editingPOST/v1/images/editsImage-to-image / inpainting (multipart)
Speech synthesisPOST/v1/audio/speechTTS; returns an audio byte stream
Speech recognitionPOST/v1/audio/transcriptionsSTT / Whisper (multipart)
RerankPOST/v1/rerankRe-ranks documents by relevance
Anthropic messagesPOST/v1/messagesAnthropic Messages API compatible
Create video taskPOST/v1/video/create, /v1/videosAsynchronous
MJ image generationPOST/v1/mj/submit/imagine, /v1/mj/submit/blend, /v1/mj/submit/actionAsynchronous
Query taskGET/v1/tasks/{id}Poll task status
Task listGET/v1/tasksPaginated / filterable
Cancel taskPOST/v1/tasks/{id}/cancelCancels and unfreezes quota

The model list returned by GET /v1/models is authoritative — the models actually available depend on your account permissions and platform configuration.