Change Background Color of a Photo: White, Black or Any Hex
deAPI
Remove the background and put the subject on a color of your choice — a hex code such as #FFFFFF or #1E40AF, or a name like white — optionally centered on a square canvas. Good for catalogs, profile photos and brand assets. The example is a public CC0 product photo; replace it with your own image links.
Input
Output fields
Sign up on Apify or log in
The AI Background Remover API: Remove BG to Transparent PNG Actor is ready to run with the inputs already set for "Change Background Color of a Photo: White, Black or Any Hex". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Change Background Color of a Photo: White, Black or Any Hex" task
The AI Background Remover API: Remove BG to Transparent PNG Actor will start running based on the input automatically. You can also change all the input fields, like image urls, background color, and more, to match your specific use case.
Receive the "Change Background Color of a Photo: White, Black or Any Hex" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image url, status, download link, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Change Background Color of a Photo: White, Black or Any Hex" task via API.

Integrate "Change Background Color of a Photo: White, Black or Any Hex" into your workflow
Connect "Change Background Color of a Photo: White, Black or Any Hex" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay