generate_ipadapter
Create images influenced by 1–4 reference images using IP-Adapter style, composition, and content blending. Set reference weight and timing to control how strongly references shape the output.
Instructions
Generate image with IP-Adapter multi-reference style blending.
Feeds 1--4 reference images into the diffusion model to influence style, composition, and content of the generated output.
Args: prompt: Text prompt describing desired output reference_images: List of 1-4 image filenames from comfyui/input/ negative_prompt: What to avoid in the output negative_embedding: Textual inversion embedding name (e.g., "DeepNegative_xl_v1") to append to negative prompt width: Output width (512 recommended for 6GB VRAM) height: Output height steps: Sampling steps (10-20 for speed, 30+ for quality) cfg_scale: Classifier-free guidance scale sampler: Sampling algorithm scheduler: Noise schedule seed: Fixed seed for reproducibility (None = random) reference_weight: How strongly reference images influence output (0.0-1.0+) weight_type: "style transfer", "composition", "linear", etc. denoise: Denoising strength (1.0 = full generation) start_at: When to start applying IP-Adapter (0.0 = beginning) end_at: When to stop applying IP-Adapter (1.0 = end) embeds_scaling: Embedding scaling strategy loras: Optional list of LoRA configs [{"name": str, "weight": float}] output_format: Always "png" for now output_prefix: Filename prefix for saved images
Returns: Dict with job_id, status, queue_position
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"reference_images": "<reference_images>"
},
"name": "generate_ipadapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| loras | No | ||
| steps | No | ||
| width | No | ||
| end_at | No | ||
| height | No | ||
| prompt | Yes | ||
| denoise | No | ||
| sampler | No | dpmpp_2m | |
| start_at | No | ||
| cfg_scale | No | ||
| scheduler | No | karras | |
| weight_type | No | style transfer | |
| output_format | No | png | |
| output_prefix | No | ipadapter | |
| embeds_scaling | No | V only | |
| ipadapter_model | No | ||
| negative_prompt | No | text, watermark, blurry, low quality | |
| reference_images | Yes | ||
| reference_weight | No | ||
| clip_vision_model | No | ||
| negative_embedding | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||