curl --location --request POST '/v1/images/edits' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}
]
}