generate_with_ip_adapter
Generate images that adopt the style or subject of a reference image while following your text prompt, using IP-Adapter.
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. Requires a running ComfyUI with ComfyUI_IPAdapter_plus and a matching IP-Adapter model installed, or the workflow will fail at execution time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Positive text prompt | |
| reference_image | Yes | Filename of the (already-uploaded) reference image in ComfyUI's input dir | |
| weight | No | IP-Adapter influence on the output, typically 0.0-1.0 (default 0.8); higher = closer to the reference | |
| preset | No | IPAdapterUnifiedLoader preset (default 'PLUS (high strength)') | |
| negative_prompt | No | Negative prompt (default: empty / from defaults) | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| steps | No | Sampling steps | |
| cfg | No | CFG scale | |
| sampler | No | Sampler name (e.g. euler, dpmpp_2m) | |
| scheduler | No | Scheduler (e.g. normal, karras) | |
| seed | No | Seed (omit to randomize) | |
| checkpoint | No | Checkpoint filename; auto-selected if omitted |