{
"prompt": "",
"image_url": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 30,
"guidance_scale": 4,
"output_format": "png",
"negative_prompt": "blurry, ugly"
}curl --location --request POST 'https://api.302.ai/302/submit/qwen-image-edit' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "",
"image_url": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 30,
"guidance_scale": 4,
"output_format": "png",
"negative_prompt": "blurry, ugly"
}'{
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260114/1791a2598ab4e8cceaf37bfde42197f8.png",
"width": 1024,
"height": 768,
"content_type": "image/png"
}
],
"timings": {
"inference": 2.500604833010584
},
"seed": 3625886489,
"has_nsfw_concepts": [
false
],
"prompt": "The color of the clothes turns red."
}