Skip to main content
Glama

Start a Fashio generation job

create_generation

Launch an AI fashion generation job with image inputs and model settings. Get a processing status immediately and poll for the finished output.

Instructions

Starts an AI fashion generation job. Deducts diamonds from the account that owns the API key. Call list_models first for valid toolId values and what each needs in images. Returns immediately with status 'processing' — poll get_generation for the result. Pass templateSetId to reuse a saved style (see list_template_sets) instead of picking fashion_model/venue/pose by hand.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poseNoA pose id from list_poses.
ratioNo1:1 | 9:16 | 16:9 | 4:3 | 3:4 | 4:5 | auto
imagesNoKeys depend on toolId (e.g. garment_photo, fashion_model, venue, user_photo, jewelry_image). Values are URLs from upload_image / list_fashion_models / list_venues, or your own hosting. fashion_model and venue also accept a catalog id directly.
toolIdNoSee list_models. Required unless templateSetId is given.
durationNoai_videos only, seconds (default 5).
shotTypeNopro_studio only.
jewelryTypeNojewelry_on_model only.
stylePresetNopro_studio only.
targetRatioNophoto_reframe only — the output aspect ratio.
customPromptNoFree-text instruction. Required for photo_edit.
motionPromptNoai_videos only — describes the motion.
templateSetIdNoA saved style from create_template_set/list_template_sets. Fills in fashion_model/venue/pose/shotType/stylePreset/ratio; only the new garment's images are still required.
backgroundColorNojewelry_on_model only, optional solid studio background.
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the key side effect: 'Deducts diamonds from the account that owns the API key,' and the asynchronous behavior: returns with status 'processing' and requires polling. It does not cover error or failure behavior, but the most important operational risks are stated.

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?

Four sentences deliver the core action, cost, prerequisite, async workflow, and template alternative with no filler. The most important operational facts are front-loaded, and every sentence earns its place.

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?

For a complex 13-parameter creation tool with nested objects and no output schema, the description covers the main workflow and conditional parameters. It omits the exact response identifier and failure/error semantics, but the schema handles per-parameter details and the description points to the right sibling tools for prerequisites and polling.

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 schema already provides 100% coverage of all 13 parameters, so the baseline is 3. The description adds value beyond the schema by explaining that toolId validity and images requirements come from list_models, and that templateSetId fills in multiple style-related defaults. This cross-tool context makes parameter selection easier.

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 starts with a specific verb and resource: 'Starts an AI fashion generation job.' It clearly differentiates this creation tool from the polling tool by stating 'Returns immediately with status processing — poll get_generation for the result.' This makes the tool's role in the workflow unambiguous.

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

Usage Guidelines5/5

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

The description explicitly says to call list_models first for valid toolId values and required images keys, and to poll get_generation for the result. It also offers a clear alternative: pass templateSetId instead of manually choosing fashion_model/venue/pose. This directly guides tool selection and invocation order.

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/fashiolabs/fashio-mcp'

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