{
"model": "Qubico/qwen-image",
"task_type": "image-edit",
"input": {
"image": "https://storage.theapi.app/images/playground/20250924/vzsk3x73rwl.png",
"prompt": "Remove all UI text elements from the image. Keep the feeling that the characters and scene are in water. Also, remove the green UI elements at the bottom.",
"negative_prompt": "",
"seed": -1,
"denoise": 1,
"steps": 20,
"flow_shift": 3
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/f608a6c5-61e3-4f56-89c6-d1ce1e1d54d7",
"secret": ""
}
}
}
curl --location --request POST 'https://api.piapi.ai/api/v1/task' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "Qubico/qwen-image",
"task_type": "image-edit",
"input": {
"image": "https://storage.theapi.app/images/playground/20250924/vzsk3x73rwl.png",
"prompt": "Remove all UI text elements from the image. Keep the feeling that the characters and scene are in water. Also, remove the green UI elements at the bottom.",
"negative_prompt": "",
"seed": -1,
"denoise": 1,
"steps": 20,
"flow_shift": 3
},
"config": {
"webhook_config": {
"endpoint": "https://webhook.site/f608a6c5-61e3-4f56-89c6-d1ce1e1d54d7",
"secret": ""
}
}
}'
{
"code": 200,
"data": {
"task_id": "a30f9a2b-fed5-48fd-b7d4-edd7f4ead0a1",
"model": "Qubico/qwen-image",
"task_type": "image-edit",
"status": "pending",
"config": {
"service_mode": "",
"webhook_config": {
"endpoint": "https://webhook.site/f608a6c5-61e3-4f56-89c6-d1ce1e1d54d7",
"secret": ""
}
},
"input": {
"prompt": "Remove all UI text elements from the image. Keep the feeling that the characters and scene are in water. Also, remove the green UI elements at the bottom.",
"negative_prompt": "",
"image": "https://storage.theapi.app/images/playground/20250924/vzsk3x73rwl.png",
"seed": -1,
"steps": 20,
"flow_shift": 3,
"denoise": 1
},
"output": null,
"meta": {
"created_at": "2025-09-25T01:58:39.297085025Z",
"started_at": "0001-01-01T00:00:00Z",
"ended_at": "0001-01-01T00:00:00Z",
"usage": {
"type": "llm",
"frozen": 0,
"consume": 250000
},
"is_using_private_pool": false
},
"detail": null,
"logs": [],
"error": {
"code": 0,
"raw_message": "",
"message": "",
"detail": null
}
},
"message": "success"
}