Hi 这里是SpiderAI, 希望这份文档能让你明白API的调用方式,如果有问题欢迎添加我的微信询问(备注SpiderAI):duyanbz
curl --location --request POST '/api/kimi_com/chat/completion/' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'chat_id=d1puqtd96bkabee75hsg' \
--data-urlencode 'message=你好,Kimi' \
--data-urlencode 'kimi_model=kimi' \
--data-urlencode 'use_search=false'data: {"chat_type": "chat", "chat_content": ""}
data: {"chat_type": "chat", "chat_content": "你好"}
data: {"chat_type": "chat", "chat_content": "呀"}
data: {"chat_type": "chat", "chat_content": "!"}
data: {"chat_type": "chat", "chat_content": "有什么"}
data: {"chat_type": "chat", "chat_content": "可以"}
data: {"chat_type": "chat", "chat_content": "帮"}
data: {"chat_type": "chat", "chat_content": "你的"}
data: {"chat_type": "chat", "chat_content": "吗"}
data: {"chat_type": "chat", "chat_content": "?"}
data: {"chat_type": "chat", "chat_content": ""}
data: {"chat_type": "chat", "chat_content": ""}
data: {"chat_type": "chat", "chat_content": ""}
data: {"chat_type": "DONE", "chat_content": ""}