Gemini
verifiedGoogle 的高能力 Gemini 模型,支持百万级上下文,适合复杂推理、代码和多模态任务。
Gateway metadata
Gemini 2.5 Pro 适合长文档分析、复杂代码任务和需要更大上下文窗口的生产工作流。
1,048,576 context tokens with endpoints: /v1/chat/completions.
Use the model id in any OpenAI-compatible request routed through the gateway.
curl
curl https://uouo.cloud/v1/chat/completions \
-H "Authorization: Bearer $UOUODUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-pro",
"messages": [
{ "role": "user", "content": "Write a concise project status update." }
]
}'SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.UOUODUO_API_KEY,
baseURL: "https://uouo.cloud/v1"
});
const completion = await client.chat.completions.create({
model: "gemini-2.5-pro",
messages: [{ role: "user", content: "Write a concise project status update." }]
});