GET /v1/models. An endpoint’s existence does not mean every model supports it.
| Use | Endpoint | Confirm before calling |
|---|---|---|
| Available models | GET /v1/models | Current key and group |
| Chat | POST /v1/chat/completions | model, messages, streaming support |
| Responses | POST /v1/responses | model, input, required tool capabilities |
| Claude Messages | POST /v1/messages | anthropic-version: 2023-06-01, max_tokens, messages |
| Gemini | POST /v1beta/models/{model}:generateContent | Model in URL, contents; streaming uses streamGenerateContent?alt=sse |
| Embeddings | POST /v1/embeddings | Embedding model, input, dimensions |
| Reranking | POST /v1/rerank | Reranking model, query and documents |
| Image generation | POST /v1/images/generations | Image model and supported size/quality |
| Image editing | POST /v1/images/edits | Edit capability and required input format |
| Video | POST /v1/videos, GET /v1/videos/{task_id} | Save the ID and poll until complete |
| Realtime audio | GET /v1/realtime?model={model} | WebSocket, Realtime model and server-side authorization |
https://infistar.ai for international HTTPS requests and wss://infistar.ai for Realtime. Add /v1 only where the client expects a versioned base address.