generate-image
Generate Foundry VTT tabletop art from prompts, producing drafts for quick curation or final renders, with refine mode to re-render selected drafts. Returns absolute PNG paths for easy selection.
Instructions
Generate Foundry table art with the local ComfyUI instance. Returns absolute PNG paths — read them to curate. Draft batches are ~2 s/image; final renders arrive finished at the preset output resolution (upscale pipeline included).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Purpose preset — fixes generation and output resolution. No raw dimensions. | |
| mode | No | draft: fast klein batch for curation. final: dev-quality render from the prompt alone, finished at output resolution. refine: dev img2img over sourceImage (a picked draft) — keeps its scene skeleton, re-renders in dev style, finished at output resolution. | draft |
| seed | No | Fixed seed; random when omitted. | |
| slug | Yes | Short kebab-case subject name used in output filenames, e.g. "smugglers-cove". | |
| batch | No | Draft mode only: images per batch. | |
| prompt | Yes | The full image prompt. | |
| denoise | No | Refine mode only. 0.7 (pinned by test) keeps the scene skeleton in dev style; ~0.55 clones composition but inherits the draft rendering style. | |
| sourceImage | No | Refine mode only (required there): absolute path of the picked draft PNG. |