Skip to main content
Glama

generate_with_ip_adapter

Generate an image combining a reference image's style or subject with a text prompt using IP-Adapter. Upload the reference image first, then provide 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
cfgNoCFG scale
seedNoSeed (omit to randomize)
stepsNoSampling steps
widthNoImage width in pixels
heightNoImage height in pixels
presetNoIPAdapterUnifiedLoader preset (default 'PLUS (high strength)')
promptYesPositive text prompt
weightNoIP-Adapter influence on the output, typically 0.0-1.0 (default 0.8); higher = closer to the reference
samplerNoSampler name (e.g. euler, dpmpp_2m)
schedulerNoScheduler (e.g. normal, karras)
checkpointNoCheckpoint filename; auto-selected if omitted
negative_promptNoNegative prompt (default: empty / from defaults)
reference_imageYesFilename of the (already-uploaded) reference image in ComfyUI's input dir
Behavior4/5

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

Without annotations, the description carries the full burden. It discloses that unspecified params use defaults, checkpoint auto-resolves, and returns prompt_id immediately with asset_id later. It also warns that the workflow will fail without prerequisites. This is adequate for a non-destructive generation tool.

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

Conciseness5/5

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

The description is concise (6 sentences) and front-loaded with the purpose. Every sentence adds value, with no redundancy or filler. It efficiently covers purpose, prerequisites, behavior, and fallbacks.

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 the complexity (13 parameters, no output schema), the description is quite complete. It explains prerequisites, upload step, default behavior, async result handling, and failure conditions. It could mention return format more explicitly, but overall it is sufficient.

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?

Schema coverage is 100% (baseline 3). The description adds context beyond schema: it explains reference_image must be uploaded first, weight's influence range and default, checkpoint auto-resolution, and default fallbacks. This provides meaningful enrichment.

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 the tool generates an image guided by a reference image's style/subject via IP-Adapter, plus a text prompt. This distinguishes it from sibling tools like generate_image and generate_with_controlnet, which use different techniques.

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 explicit prerequisites (ComfyUI_IPAdapter_plus custom nodes, upload reference first, running ComfyUI with matching IP-Adapter model) and explains that unspecified params fall back to defaults. It does not explicitly list when not to use or compare to all alternatives, but the context is clear.

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