Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
cfgNo
seedNo
stepsNo
widthNo
heightNo
presetNoIPAdapterUnifiedLoader preset (default 'PLUS (high strength)')
promptYesPositive text prompt
weightNoIP-Adapter weight (default 0.8)
samplerNo
schedulerNo
checkpointNoCheckpoint filename; auto-selected if omitted
negative_promptNo
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?

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the tool requires custom nodes, defers to default values, auto-resolves checkpoints, and returns a prompt_id immediately with asset_id arriving later. While it doesn't address destructive/revertibility or rate limits, it covers the key behavioral traits relevant for a 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—five sentences—with each sentence adding essential context. It front-loads the purpose and then provides step-by-step guidance, return behavior, and dependency notice. No extraneous information exists.

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 the critical workflow (upload first, then use filename), explains auto-resolution of defaults and checkpoint, and describes the return pattern. It lacks specifics on how to retrieve the final asset beyond the notification, but overall it provides sufficient context for an agent to use the tool correctly.

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

Parameters3/5

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

Schema description coverage is only 38%, so the description must compensate. It adds meaning for reference_image (filename of already-uploaded image), checkpoint (auto-selected if omitted), and explains fallback defaults. However, many parameters (cfg, seed, steps, width, height, sampler, scheduler, negative_prompt) are not elaborated beyond their schema names/types, leaving gaps. The description adds some value but not enough to fully compensate for low coverage.

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 explicitly states the tool's purpose: generating an image guided by a reference image's style/subject via IP-Adapter plus a text prompt. It clearly distinguishes from sibling tools like generate_image and generate_with_controlnet by specifying the IP-Adapter mechanism and the need for a reference image.

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 usage steps: upload the reference image first using upload_image, then pass its filename as reference_image. It notes the requirement for custom nodes (ComfyUI_IPAdapter_plus) and mentions that unspecified parameters fall back to defaults and checkpoint auto-resolves. This offers good guidance on when and how to use the tool, though explicit when-not-to-use scenarios are absent.

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/sandyup/comfyui-mcp'

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