Skip to main content
Glama

generate_with_ip_adapter

Generate an image guided by a reference image's style or subject via IP-Adapter, plus a text prompt. Upload the reference image first, then pass its filename and prompt.

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

TableJSON Schema
NameRequiredDescriptionDefault
promptYesPositive text prompt
reference_imageYesFilename of the (already-uploaded) reference image in ComfyUI's input dir
weightNoIP-Adapter influence on the output, typically 0.0-1.0 (default 0.8); higher = closer to the reference
presetNoIPAdapterUnifiedLoader preset (default 'PLUS (high strength)')
negative_promptNoNegative prompt (default: empty / from defaults)
widthNoImage width in pixels
heightNoImage height in pixels
stepsNoSampling steps
cfgNoCFG scale
samplerNoSampler name (e.g. euler, dpmpp_2m)
schedulerNoScheduler (e.g. normal, karras)
seedNoSeed (omit to randomize)
checkpointNoCheckpoint filename; auto-selected if omitted
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the tool requires custom nodes, the reference image must be uploaded beforehand, it returns a prompt_id immediately with asset_id arriving later, and execution will fail if prerequisites are not met. This provides solid transparency without contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at about 4 sentences, front-loaded with the core purpose. It efficiently covers prerequisites, behavior, and return values without extraneous content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 13 parameters (2 required) and no output schema, the description covers important aspects: return values (prompt_id and asset_id via notification), prerequisites, and failure conditions. For a tool of this complexity, it is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers 100% of parameters, so baseline is 3. The description adds value by clarifying that reference_image is a filename for an already-uploaded image, weight influences output strength, preset is for IPAdapterUnifiedLoader, and checkpoint auto-resolves. This context goes beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool generates an image guided by a reference image's style/subject via IP-Adapter plus a text prompt. It effectively distinguishes from sibling tools like generate_image and generate_with_controlnet by specifying the IP-Adapter mechanism.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool: when style/subject guidance from a reference image is desired. It mentions prerequisites such as uploading the reference image first and requiring ComfyUI_IPAdapter_plus custom nodes. However, it does not explicitly state when not to use this tool or list alternatives, though this is implied by sibling tool names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server