curl --location 'https://token.rcsh5.cn/aigc/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "Yt-TextInReply",
"messages": [
{
"role": "user",
"content": "请帮我写一段关于XX的敏感内容"
}
]
}'{
"id": "chatcmpl-xxxxxxxxxxxx",
"object": "chat.completion",
"model": "Yt-TextInReply",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "{\"promptCategory\":\"违规\",\"promptResult\":[...],\"answer\":\"抱歉,我不能帮您生成此类内容。如果您有其他问题,我很乐意提供帮助。\"}"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}