generate_with_ip_adapter
Generate images by combining a reference image's style or subject with a text prompt using IP-Adapter. Upload the reference image first, then specify a prompt to guide generation.
Instructions
Generate an image guided by a reference image's style/subject via IP-Adapter, plus a text prompt. Requires the ComfyUI_IPAdapter_plus custom nodes. Upload the reference first with upload_image, then pass its filename as reference_image. Unspecified params fall back to your defaults; checkpoint auto-resolves. Returns prompt_id immediately; asset_id arrives in the completion notification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | ||
| seed | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| preset | No | IPAdapterUnifiedLoader preset (default 'PLUS (high strength)') | |
| prompt | Yes | Positive text prompt | |
| weight | No | IP-Adapter weight (default 0.8) | |
| sampler | No | ||
| scheduler | No | ||
| checkpoint | No | Checkpoint filename; auto-selected if omitted | |
| negative_prompt | No | ||
| reference_image | Yes | Filename of the (already-uploaded) reference image in ComfyUI's input dir |