高性能 API Gateway
一站式大模型接口调用与密钥管理平台
支持的模型与价格
| 模型名称 | 输入价格 (¥) | 输出价格 (¥) |
|---|
订单金额: 0.00 元
等待支付结果...
一站式大模型接口调用与密钥管理平台
| 模型名称 | 输入价格 (¥) | 输出价格 (¥) |
|---|
¥0.0000
当前账号
-
| API Key | 额度 (已用 / 总计) | 操作 |
|---|
Base URL: https://router.aibote.net:3000/v1
请使用标准的 OpenAI 格式进行调用,将生成的 API Key 放入 Authorization 头部(Bearer Token)。
from openai import OpenAI
client = OpenAI(
api_key="你的_API_KEY",
base_url="https://router.aibote.net:3000/v1"
)
response = client.chat.completions.create(
model="gemini-3.5-flash",
messages=[{"role": "user", "content": "你好"}]
)
print(response.choices[0].message.content)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '你的_API_KEY',
baseURL: 'https://router.aibote.net:3000/v1'
});
async function main() {
const completion = await openai.chat.completions.create({
model: 'gemini-3.5-flash',
messages: [{ role: 'user', content: '你好' }],
});
console.log(completion.choices[0].message.content);
}
main();
curl https://router.aibote.net:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer 你的_API_KEY" \
-d '{
"model": "gemini-3.5-flash",
"messages": [
{
"role": "user",
"content": "你好"
}
]
}'
package main
import (
"context"
"fmt"
"github.com/sashabaranov/go-openai"
)
func main() {
config := openai.DefaultConfig("你的_API_KEY")
config.BaseURL = "https://router.aibote.net:3000/v1"
client := openai.NewClientWithConfig(config)
resp, err := client.CreateChatCompletion(
context.Background(),
openai.ChatCompletionRequest{
Model: "gemini-3.5-flash",
Messages: []openai.ChatCompletionMessage{
{Role: openai.ChatMessageRoleUser, Content: "你好"},
},
},
)
if err != nil {
fmt.Printf("ChatCompletion error: %v\n", err)
return
}
fmt.Println(resp.Choices[0].Message.Content)
}
curl https://router.aibote.net:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer 你的_API_KEY" \
-d '{
"model": "gemini-3.1-flash-image",
"messages": [
{
"role": "user",
"content": "A futuristic city skyline at sunset, cyberpunk style"
}
],
"aspectRatio": "16:9",
"imageSize": "2K"
}'
curl https://router.aibote.net:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer 你的_API_KEY" \
-d '{
"model": "veo-3.1-fast",
"messages": [
{
"role": "user",
"content": "A cute golden retriever playing in a sunny park, cinematic lighting"
}
],
"aspectRatio": "16:9",
"resolution": "1080p",
"durationSeconds": 8,
"generateAudio": true
}'
| 模型名称 (model参数) | 输入价格 (¥) | 输出价格 (¥) |
|---|