generate_image
Generate an image from a text prompt using ComfyUI's default SD1.5 template locally. Provides an on-ramp for image generation without cloud services.
Instructions
Generate an image from a text prompt — the fast on-ramp.
Runs ComfyUI's default SD1.5 template via comfy run-template (override
with COMFY_T2I_TEMPLATE + matching slot envs) — same run path/target
as run_workflow: this machine unless COMFYUI_URL/COMFYUI_HOST
says otherwise; never Cloud.
Args:
checkpoint: swaps the checkpoint model; must already be installed on
the machine that RUNS the job. Omit for the template's default.
wait: True (default) blocks/streams progress; False submits and
returns a prompt_id to poll via job(action="status").
timeout_seconds: used only when wait=True; ignored (fixed short
submit timeout) when wait=False.
Returns: same envelope shape as run_workflow (prompt_id + outputs).
Gotchas:
Always FREE, a local OSS graph — use
partner_generatefor paid PARTNER models.For a chosen template or hand-authored workflow, use
search_templates->fetch_template->run_workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| prompt | Yes | ||
| checkpoint | No | ||
| timeout_seconds | No |