Image2Pixel
Image2Pixel detects the pixel grid an image implies, snaps it to that grid and reduces it to a small palette, so blurry or anti-aliased art comes back as crisp pixel art. It can also cut the background out to transparency.See more
Connect Claude, Cursor, VS Code, or Codex to Layer’s MCP server and Image2Pixel becomes a tool your agent can reach for — it picks the parameters, runs the generation, and shows you the result in the conversation.
https://mcp.app.layer.ai/mcpAsk your agent
“Use Image2Pixel to generate 4 variations of a crystal sword icon on a transparent background.”
execute_forge({
"base_model_id": "image2pixel-pixelate-image",
"prompt": "A crystal sword icon on a transparent background, game UI art",
"batch_size": 4,
"width": 1024,
"height": 1024
})Authenticate with a personal access token, post the model’s own form, and poll the inference until it completes. Every field below is accepted by this endpoint.
# Start the generation — returns an inference id straight away.
curl -X POST https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/base-models/image2pixel/inferences \
-H "Authorization: Bearer $LAYER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"guidance_file_init_image": [
{
"url": "https://example.com/input.png"
}
]
}'
# Poll until status is "complete" — the response then carries the asset URLs.
curl https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/inferences/$INFERENCE_ID \
-H "Authorization: Bearer $LAYER_TOKEN"- transparency booleandefault false
- Output the subject alone, with no backdrop behind it.
- guidance_file_init_image file[]required
- The image to modify
Why use Image2Pixel for image?
High-quality image generation
Image2Pixel delivers production-ready outputs with clean structure, sharp detail, and strong prompt adherence. Ideal for character art, environments, and marketing assets.
Strong prompt control
The model interprets creative instructions with high accuracy, even when switching between different styles, lighting setups, or character directions.
Clean compositions for UA
Maintains stable framing, clear silhouettes, and high focal clarity. Assets read well at mobile sizes, making it strong for UA experiments and ad creatives.
Rapid character and cosmetic ideation with strong structure
Quickly explore character poses, cosmetic ideas, and early art directions. Clean silhouettes and expressive results help teams evaluate concepts before moving to heavier models.
Fast UA creative exploration and thumbnail testing
Generate clear, high-readability frames that work well for quick A/B testing across networks. Test multiple creative angles and iterate quickly based on results.
Lightweight environment and item exploration for LiveOps
Draft environments, themed content, shop items, and event visuals in a rapid loop. Ideal for early-stage direction setting before committing to final polish.
FAQ
How much does Image2Pixel cost? Is it free?+
How does Layer's pricing work?+
There are no seat fees, feature gates, or plans on Layer. Instead, our platform uses a consumption based system with Creative Units (CUs) with a flexible monthly subscription. Every generation on Layer (image, video, 3D, or audio) consumes a Creative Unit, and you only pay for what you create.
Other image models on Layer
Text Removal 1.0
fal
Remove all the text from an image.
Object Removal
fal
Low-cost object removal by name or by painted area.
Expression Edit 1.0
fal
Change a face's expression to the one you describe.
Bria FIBO Edit Colorize 1.0
Bria AI
Bria's one-shot colorization, trained on licensed data.
Expression Change 2.0
fal
Give a face one of twenty named expressions.
TeleStyle 2.0
Telestyle
Repaint an image in the style of a reference image.