curl --location -g --request POST '{{webkaiBaseUrl}}/api/Index' \
--form 'method="imageToGptGenerate"' \
--form 'api_key="46be42971a4f27e66fc2577861ec2df1"' \
--form 'content="画一个猫咪"'
{
"code": 200,
"msg": "请求成功",
"time": 1753756214,
"data": {
"id": "foaicmpl-e4120f63-c461-40c6-8dde-0ff16af74eb2",
"object": "chat.completion",
"created": 1753756136,
"model": "sora_image",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "\n\n"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}
}