Starting from an image
A pixflux, map or isometricTile asset can start from a PNG instead of
from nothing:
"gold_knight": {
"prompt": "a knight in golden armor with a red cape",
"initImage": "art/knight.png",
"initImageStrength": 100
}
PixelLab reworks the image toward the prompt. initImageStrength (1 to 999)
sets how strongly the starting image holds, and its default of 300 holds much
harder than the number suggests. Measured on a 64x64 knight with the prompt
above (November 2026, the same on pixflux and map):
| Strength | Result |
|---|---|
| 30 | The prompt wins: a new gold knight at about the same scale and placement. |
| 100 | A blend: the original silhouette and armor, with gold trim and a red cape. |
| 300 (default) | The starting image, lightly redrawn. No gold, no red. |
| 800 | The starting image, all but unchanged. |
So to restyle a sprite while keeping its shape, set about 100; leave the
default only when you want a faithful redraw. For a controlled edit of an
existing asset, with a parent the plan tracks, a
revision is the better tool; initImage is for a loose
starting file.
The file is hashed into the asset's identity, with the strength when it is
set, so replacing it marks the asset stale and renaming it does not. A missing
file is a manifest error, and a file changed between plan and gen is
refused at submit. It costs nothing extra: each of these billed the
generator's usual 1 generation.
