X-Oneapi-Request-Id 作为日志查询的 request_id。curl --location 'https://tk.wxdatas.cn/v1/images/edits' \
--header 'Authorization: Bearer sk-xxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"model": "string",
"input": {
"messages": [
{
"role": "string",
"content": [
{
"image": "string",
"text": "string"
}
]
}
]
},
"parameters": {
"n": 0,
"negative_prompt": "string",
"prompt_extend": true,
"watermark": true,
"size": "string"
}
}'{
"created": 0,
"data": [
{
"url": "string",
"b64_json": "string",
"revised_prompt": "string"
}
]
}