Image to Pixel Art
Convert photos and images to pixel art.
Image to Pixel Art
Convert any photo or image into pixel art. The model analyzes the source image and reinterprets it in a pixel art style with configurable color reduction.
Endpoint
POST /api/image-ops/to-pixelParameters
| Name | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Image URL or base64-encoded image data |
pixel_art_style | string | No | Target style: classic, modern, detailed. Default: classic |
color_count | integer | No | Number of colors in output palette (8-256). Default: 32 |
Example
curl -X POST https://api.spritesynth.com/api/image-ops/to-pixel \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image": "https://example.com/photo.png",
"pixel_art_style": "classic",
"color_count": 16
}'Response
{
"id": "conv_678",
"status": "completed",
"asset": {
"url": "https://cdn.spritesynth.com/assets/conv_678.png",
"width": 512,
"height": 512
},
"credits_cost": 1,
"duration_ms": 2200
}Tips
- Lower
color_countproduces more retro-looking results. - Works best with images that have clear subjects and distinct colors.
- Use
classicstyle for authentic retro pixel art look.
Need help?
Join our Discord community for support and tips.
Was this page helpful?