Skip to main content
Glama

try_on_image

Virtually fit one or more garments onto a person's photo by providing the person image and garment reference images.

Instructions

Virtually fit one or more garments onto a person's photo using Pruna AI.

Args: person_image: Image URL or local file path of the person garment_images: 1-11 garment reference images (URLs or local file paths). Up to 6 recommended for best quality. model: Model to use (default: p-image-try-on) prompt: Experimental guidance for non-flatlay garment images (e.g. which garment from which image to use) turbo: Faster generation. Not recommended for more than 4 garments reference_pose: Experimental. Image URL/path to repose the person before try-on seed: Random seed for reproducible generation output_format: Output format (webp, jpg, png) output_quality: Quality for jpg/webp outputs (0-100) preserve_input_size: Resize the result back to the person image size

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNo
modelNop-image-try-on
turboNo
promptNo
person_imageYes
output_formatNojpg
garment_imagesYes
output_qualityNo
reference_poseNo
preserve_input_sizeNo
Behavior4/5

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

Annotations provide no behavioral hints (readOnlyHint=false, destructiveHint=false), so the description carries full burden. It discloses recommendations (up to 6 garments, turbo not for >4), experimental flags (prompt, reference_pose), and defaults, but omits details on failure modes, rate limits, or exact output format.

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 brief and well-structured: a one-sentence summary followed by a bullet-like list of parameters. Every sentence adds value, with no redundancy or fluff.

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?

Despite 10 parameters and no output schema, the description explains each parameter well and offers usage tips. However, it lacks an explicit description of what the tool returns (e.g., an image URL) and does not specify input format requirements (e.g., valid file types).

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully explain parameters. It does so with clear explanations for all 10 parameters, including defaults, recommendations, and experimental notes—adding significant meaning beyond raw schema property names.

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 it virtually fits garments onto a person's photo using Pruna AI. The verb 'fit' and resource 'garments onto person's photo' are specific, and the tool is distinct from siblings like edit_image or generate_image due to its focused try-on functionality.

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

Usage Guidelines3/5

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

The description implicitly defines usage for virtual try-on but does not explicitly state when to use this tool over alternatives or when not to use it. Sibling tools like edit_image or generate_image are not mentioned, so an agent lacks guidance on trade-offs.

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/charlesrapp/pruna-mcp-server'

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