Base URL and Authentication
Endpoint address, Bearer token and the /v1 suffix
1. Endpoint / Base URL
For text, image and video models, set your client's Base URL or API Endpoint to:
https://jiniu.aiSome third-party tools expect the version prefix to be part of the base URL:
https://jiniu.ai/v1How to tell which one you need: if the client ends up requesting .../v1/chat/completions, use the bare domain; if it only appends /chat/completions to whatever you enter, use the address with /v1.
2. Authentication
All endpoints use standard Bearer token authentication over HTTPS:
Authorization: Bearer YOUR_API_KEYThere must be exactly one space between Bearer and the key.
Clients that speak other providers' dialects can also authenticate the way they normally do — the gateway accepts x-api-key (Anthropic style) and x-goog-api-key or the key query parameter (Gemini style), and converts them internally.
See API Keys for how to create and scope a key.