Endpoints
Gemini generateContent
Call HiLinkup with the Google Gemini generateContent-compatible format.
POST
Gemini 兼容生成内容
Use the Gemini-style endpoint when your application already follows Google’s Gemini API request shape. Keep
Replace
contents, parts, and generationConfig; replace the host, API key, and model ID.
Reference format: Gemini API text generation. HiLinkup supports common text generation structures; capabilities depend on the selected model.
“Gemini generateContent” is the protocol shape, not a requirement to use an overseas Gemini model. Examples use the HiLinkup platform model
aliyun/kimi-k3; confirm available IDs with /v1/models.Endpoint
{model} with an available Gemini-compatible model ID, for example:
Headers
Minimal request
Configuration map
Last modified on August 12, 2026