通过 Vercel 节点加速访问各大 AI 模型 API,稳定、快速、可靠
支持 GPT-4、GPT-3.5 等模型的完整 API 访问
访问 Google 最新的 Gemini Pro 和 Gemini Ultra 模型
综合性 AI 服务接口,支持多种模型和功能
Anthropic 的 Claude 3 系列模型,强大的对话能力
Elon Musk 的 xAI Grok 模型访问
强大的搜索增强型 AI 模型
https://api.aptzone.cc/openai/v1/chat/completions
https://api.aptzone.cc/gemini/v1beta/models
https://api.aptzone.cc/claude/v1/messages
https://api.aptzone.cc/newapi/v1/chat/completions
https://api.aptzone.cc/xai/v1/chat/completions
https://api.aptzone.cc/perplexity/chat/completions
curl https://api.aptzone.cc/openai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello, how are you?" } ], "temperature": 0.7 }'
import requests url = "https://api.aptzone.cc/openai/v1/chat/completions" headers = { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" } data = { "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello, how are you?" } ], "temperature": 0.7 } response = requests.post(url, headers=headers, json=data) print(response.json())
const response = await fetch('https://api.aptzone.cc/openai/v1/chat/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' }, body: JSON.stringify({ model: 'gpt-3.5-turbo', messages: [ { role: 'user', content: 'Hello, how are you?' } ], temperature: 0.7 }) }); const data = await response.json(); console.log(data);
const axios = require('axios'); const response = await axios.post('https://api.aptzone.cc/openai/v1/chat/completions', { model: 'gpt-3.5-turbo', messages: [ { role: 'user', content: 'Hello, how are you?' } ], temperature: 0.7 }, { headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' } }); console.log(response.data);