hehe-tywd 参数
每项参数后的角标指向出处,未公布的项目不做推测。
hehe-tywd 价格
单位:人民币 / 百万 Token。
| 计费项 | 官方价 | DMXAPI 价 |
|---|---|---|
| 输入 | — | ¥1 |
| 输出 | — | ¥30 |
如何调用 hehe-tywd
DMXAPI 提供 OpenAI 兼容接口,现有代码只需改地址、令牌和模型名。
- 接口地址
https://www.dmxapi.cn/v1- 模型名
hehe-tywd
cURL
curl https://www.dmxapi.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DMXAPI_KEY" \
-d '{
"model": "hehe-tywd",
"messages": [
{"role": "user", "content": "用三句话介绍你自己"}
]
}'
Python
import os
from openai import OpenAI
client = OpenAI(
base_url="https://www.dmxapi.cn/v1",
api_key=os.environ["DMXAPI_KEY"],
)
resp = client.chat.completions.create(
model="hehe-tywd",
messages=[{"role": "user", "content": "用三句话介绍你自己"}],
)
print(resp.choices[0].message.content)
Node.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://www.dmxapi.cn/v1",
apiKey: process.env.DMXAPI_KEY,
});
const resp = await client.chat.completions.create({
model: "hehe-tywd",
messages: [{ role: "user", content: "用三句话介绍你自己" }],
});
console.log(resp.choices[0].message.content);
DMXAPI 上架记录
摘自 DMXAPI 运营日志。
- 2026.01.05
hehe-tywd 相关新闻与资料
按时间倒序,最后核对于 2026-11-20。
资料来源
以下为与该模型相关的延伸阅读。
- [1]
- [2]
- [3]
hehe-tywd 常见问题
国内如何调用 hehe-tywd?
在 DMXAPI 创建令牌后,把 base_url 设为 https://www.dmxapi.cn/v1,模型名填 hehe-tywd,即可用 OpenAI 兼容格式调用,无需改动其他代码。
hehe-tywd 的官方参数能查到吗?
本次调研未在合合信息官方站点找到该模型的文档、定价或发布公告,参数请以厂商控制台为准。