在线测试

API Playground

在控制台中实时体验 AI 模型:填入 API Key,立即对话,支持流式输出与多语言代码示例一键复制。

对话 —

准备就绪

在左侧填入 API Key 并选择模型,然后开始对话

Enter 发送 Shift+Enter 换行

代码示例

随配置自动更新
cURL
curl
1curl https://tf.dxnt.com/api/v1/chat/completions \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "",
6 "messages": [{"role": "user", "content": "Hello"}],
7 "temperature": 0.7,
8 "max_tokens": 1024,
9 "stream": true
10 }'