curl --location 'https://token.rcsh5.cn/aigc/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "Yt-AIGenImg",
"messages": [
{
"role": "user",
"content": "https://example.com/face.jpg"
}
]
}'{
"id": "chatcmpl-xxxxxxxxxxxx",
"object": "chat.completion",
"model": "Yt-AIGenImg",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "[{\"category\":\"合规\",\"subCategory\":\"\",\"confidence\":0.99}]"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}