generate_with_style
Generate pixel art that matches a specific visual style from 1-4 reference images. Specify square dimensions from 16 to 512 pixels, with optional seed and background transparency for consistent sprite creation.
Instructions
Generate pixel art matching a specific visual style from 1-4 style reference images. Use this when you need consistent style across multiple assets. SQUARE images only, 16-512px. Auto-pads to nearest bucket (16/32/64/128/256/512). Variants: 16-32px → 64, 33-64px → 16, 65-128px → 4, 129-512px → 1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"style_images": "<style_images>",
"description": "<description>",
"image_size": "<image_size>"
},
"name": "generate_with_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for deterministic generation (default 0) | |
| image_size | Yes | Output dimensions (square, 16-512px) | |
| description | Yes | What to generate | |
| style_images | Yes | 1-4 style reference images | |
| no_background | No | Generate with transparent background | |
| style_description | No | Fine-tune style matching details |