发布时间:2026年4月
开发商:科大讯飞(iFlytek)
| 参数 | 数值 |
|---|---|
| 总参数量 | 70B |
| 上下文 | 128K |
| 训练平台 | 全国产算力 |
import requests
url = "https://api.xf-yun.com/v1/chat/completions"
headers = {"Authorization": "Bearer your-api-key", "Content-Type": "application/json"}
data = {"model": "x1-turbo", "messages": [{"role": "user", "content": "你好!"}]}
response = requests.post(url, headers=headers, json=data)
print(response.json()["choices"][0]["message"]["content"])
评论区