generate_image
Generate pixel art from a text description. Create sprites, icons, and standalone images sized 16-512px with transparent background option.
Instructions
Generate pixel art from a text description. PRIMARY generation tool — use this for standalone sprites, icons, and one-off images. 16-512px. Variants by size: ≤42px → 64, 43-85px → 16, 86-170px → 4, >170px → 1. For style-matched sets use generate_with_style. For game characters with directional views use create_character_4dir/8dir instead. For UI elements use generate_ui.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for deterministic generation (default 0) | |
| image_size | Yes | Output image dimensions | |
| description | Yes | Text description of the pixel art to generate | |
| style_image | No | Style reference image for consistent pixel art style | |
| no_background | No | Generate with transparent background | |
| style_options | No | Options controlling what to copy from the style image | |
| reference_images | No | Up to 4 reference images for subject guidance |