POST
/ai/chat
AI 对话接口
描述
调用 AI 模型进行对话。支持多种模型,包括 GPT-4、Claude、Gemini 等。
参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| model | string | 必填 | 模型名称,如 "gpt-4"、"claude-3" |
| messages | array | 必填 | 对话消息数组 |
| temperature | number | 可选 | 生成温度,默认 0.7 |
示例
curl -X POST https://api.morewater.top/ai/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3",
"messages": [
{"role": "user", "content": "你好"}
]
}'
GET
/rss/fetch
获取 RSS 订阅
POST
/web/scrape
网页抓取