Remove Background
AI-generatedSummary
Remove the background from an image by submitting its URL to the Recraft background removal model via the Kie.ai API, optionally waiting for the task to complete synchronously or receiving a webhook callback.
Inputs
- Image URL (required) — The URL of the image from which to remove the background.
- Reply URL — Optional webhook URL to be called when the background removal task completes.
- Reply Ref — Optional custom reference string that will be included in the webhook callback to identify the task.
- Wait for Completion — Whether to wait synchronously for the background removal task to complete before continuing the workflow (polls every 3 seconds, with a 5-minute timeout).
Output shape
a JSON object with the background removal task response from Kie.ai; if waiting for completion is enabled, the final task details including result URLs are returned, otherwise the immediate task creation response is returned
If 'Wait for Completion' is true, the node polls the task status until it completes or fails, returning the final parsed response with URLs to the resulting images. If false, the node returns immediately with the task creation response. Providing a 'Reply URL' enables asynchronous webhook callbacks with task results.