curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "4o-image-api",
"callBackUrl": "https://your-callback-url.com/callback",
"input": {
"files_url": [
"https://example.com/image.png"
],
"prompt": "A beautiful sunset over the mountains",
"size": "1:1",
"isEnhance": false,
"uploadCn": false,
"enableFallback": false,
"fallbackModel": "FLUX_MAX"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task12345"
}
}