Image to layers skill
Split a flat image into separate visual layers such as the subject, the background and individual objects.
Use it in the browser
Upload an image in the layer workspace, inspect each layer and continue editing in the browser.
Open Image to LayersCall it from your agent
Pass a public image URL to convert_image_to_layers. 30 credits per standard or turbo job, 50 for pro or hd.
MCP toolconvert_image_to_layers
Connects with OAuth to your existing ImageToLayers account. No separate API key.
MCP setup guideBefore and after
One product photo and the nine layers separated from it.


Clean background

Left monstera leaf

Right palm leaf

Stone platform

Pebble group

Packaging box

Cream jar

Pump bottle

Front palm leaf
Sample set from the ImageToLayers library. Areas that were hidden behind objects are reconstructed by AI, not recovered from the original.
What this skill does
Separate visual elements
Subjects, backgrounds and individual objects come back as separate layers.
Choose a quality tier
standard and turbo produce 2 to 5 layers. pro and hd produce 5 to 10.
Request a layer count
Set num_layers within the range of the chosen tier, or omit it and let the model decide.
PNG output per layer
A completed MCP job returns a download link for each layer image.
Tool parameters
The inputs the MCP tool accepts.
image_urlstring (URL)RequiredPublic HTTP or HTTPS URL pointing directly to a JPG, PNG, WEBP or GIF image, up to 20 MB. Local files are not supported.
qualityenumOptionalstandard and turbo cost 30 credits. pro and hd cost 50 credits.
Allowed values:
standard, turbo, pro, hdDefault:
standardnum_layersinteger (2–10)OptionalRequested layer count: 2 to 5 for standard and turbo, 5 to 10 for pro and hd.
request_idstring (1–200)RequiredA unique ID you choose for this request. Reusing it returns the original job.
How an agent runs it
- 1
Provide an image URL
The agent calls convert_image_to_layers with a public image URL, a quality tier and a request_id.
- 2
Receive a job ID
The tool checks credits, imports the image and starts an asynchronous job.
- 3
Poll and download
The agent calls get_job until the job completes, then downloads the layer images.
Example tool call
{
"name": "convert_image_to_layers",
"arguments": {
"image_url": "https://example.com/product-photo.jpg",
"quality": "pro",
"num_layers": 9,
"request_id": "layers-2026-001"
}
}Connects with OAuth to your existing ImageToLayers account. No separate API key. MCP setup guide
Related skills
Extend image
Grow a picture beyond its borders to reach a new aspect ratio.
View skillText to SVG
Generate a native SVG vector image from a written description.
View skillFrequently asked questions
What does the image to layers skill return?
Through MCP, a completed job returns one PNG download link per layer.
How many layers can I get?
2 to 5 with standard or turbo, and 5 to 10 with pro or hd. The result depends on the image.
Which images can an agent send?
A public URL that points directly to a JPG, PNG, WEBP or GIF file up to 20 MB.
Are hidden parts of the image recovered?
No. Content behind an object is generated or inferred by the model, so review it before relying on it.
How much does one job cost?
30 credits for standard or turbo, and 50 credits for pro or hd.
How do I get the result from an agent call?
The tool returns a job_id straight away. Poll get_job with that ID until the status is completed or failed. Completed jobs include time-limited download links; call get_job again if a link has expired.
Do I need a separate account or API key for agents?
No. Your MCP client connects with OAuth to your existing ImageToLayers account.
What happens if a request is retried?
Send the same request_id. You get the original job back instead of a second charge.
AI-generated and AI-edited results may vary. Review important visual details before publishing or using outputs in production.
Split your own image
Try it in the browser, or hand the task to your agent.