gate_txt2img
Generate an image from a text prompt using the active ComfyUI pipeline and return full image URLs. Set seed, dimensions, preset, and negative prompt for controlled text-to-image output.
Instructions
Generate an image from a text prompt using the active profile's pipeline (MOSS-Image DeBand or SD 3.5 Large fp8). Returns full image URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for reproducible generation (optional, default random integer). | |
| width | No | Image width in pixels (default: 1024). | |
| height | No | Image height in pixels (default: 1024). | |
| preset | No | Speed/quality preset (for moss-image): 'Fast alt' (default, 10 steps, recommended), 'Fast' (10 steps), 'Balanced' (14 steps), 'Quality' (25 steps). | |
| prompt | Yes | Text description of the image to generate (positive prompt). | |
| negative_prompt | No | Optional negative prompt elements to avoid (default: 'worst quality, bad anatomy, watermark, jpeg artifact'). | |
| timeout_seconds | No | Maximum seconds to wait for generation (default: 180). |