探索神秘世界,开启命运之门
注册即送1000积分,开启神秘之旅
请妥善保管您的API密钥,调用API时需要在请求头中携带 X-Api-Key
请求地址:GET /api/types
说明:获取所有可用的占卜类型列表
GET /api/types
返回示例:
[
{
"key": "yijing",
"title": "易经占卜",
"description": "古老智慧的结晶,六十四卦揭示命运密码",
},
...
]
请求地址:POST /api/divinate
请求头:
Content-Type: application/json
X-Api-Key: 您的API密钥
{
"type": "yijing", // 占卜类型(必填)
"input": "3,5,2" // 输入内容(必填)
}
{
"success": true,
"type": "yijing",
"title": "易经占卜",
"result": "卦象解读...",
"input": "3,5,2",
"tokenCost": 100,
"balance": 900
}
每次API调用消耗 100 积分
当前余额:- 积分