Infistar offers a shared account and API key across multiple AI models. Keep the request format your application already uses and select a model that supports that endpoint.

Base URL

For OpenAI-compatible clients, use:
https://infistar.ai/v1
For networks in mainland China, use https://infistar.cc/v1. Both addresses use the same account and API key. Configure one base URL per client; do not append /v1 twice. Claude Code uses the site origin without /v1, as explained in its setup guide.

Authentication

Create a key in Console → Token Management and send it in the request header:
Authorization: Bearer YOUR_API_KEY
Keep the key on your server. See Authentication and permissions.

Discover available models

Call GET /v1/models with the key you will use. Copy the exact returned model ID; a display name, plan name, or supplier name is not a model ID. A listed model does not necessarily support every endpoint. Check its current interface types in Model Square.

Select an endpoint

WorkflowEndpointEnglish guide
Available modelsGET /v1/modelsModels
Chat messagesPOST /v1/chat/completionsChat Completions
Responses and structured inputPOST /v1/responsesResponses
Anthropic MessagesPOST /v1/messagesMessages
Image generation or editingPOST /v1/images/generations, POST /v1/images/editsImages
Video jobs and resultsPOST /v1/videos, GET /v1/videos/{task_id}Videos
Gemini, embeddings, reranking, realtime audio, speech, and transcription depend on the selected model and endpoint. The broader compatibility matrix (Chinese) provide the remaining interfaces. Start with a small non-streaming request. Then test only the streaming, tools, media, or other capabilities your application actually requires. Check the response and usage log before increasing traffic.