curl --location --request POST 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "flux-2/flex-image-to-image",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"input_urls": [
"https://static.aiquickdraw.com/tools/example/1764235158281_tABmx723.png",
"https://static.aiquickdraw.com/tools/example/1764235165079_8fIR5MEF.png"
],
"prompt": "Replace the can in image 2 with the can from image 1",
"aspect_ratio": "1:1",
"resolution": "1K"
}
}'