Gemini
optimizedGoogle 的轻量 Gemini 模型,支持百万级上下文,适合快速、多模态和成本可控的工作负载。
Gateway metadata
Gemini 2.5 Flash 适合长上下文检索、内容处理和高吞吐多模态请求。
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-flash",
"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-flash",
messages: [{ role: "user", content: "Write a concise project status update." }]
});