ShopFashion.si Agent Tryon API

The Agent Tryon API from ShopFashion.si — 1 operation(s) for agent tryon.

GitHub OpenAPI

Operations 1

POST /api/agent-tryon AI try-on preview of a described style on a consenting person's photo; returns… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopfashion-si:shopfashion-si-agent-tryon-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopfashion-si-agent-tryon-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ShopFashion.si shopping API for AI agents Agent Tryon API
  version: 1.0.0
  description: 'Free, read-only shopping helper for AI assistants. Built for AI shopping assistants like Grok Bot. Not affiliated with or endorsed by xAI. Safe for AI shoppers: We never take payment or card data. Checkout happens on the seller''s site (Etsy, Nordstrom, ASOS, Amazon and other retailers) with the owner approving. Photo try-on requires consent; photos are processed by our image partner and we don''t store them. Every response carries a transparent affiliate disclosure. Prices, shipping, returns and stock are confirmed on the seller''s page. Rate limit: about 60 calls per IP per day (shop+bundle); try-on shares the site''s daily image caps.'
servers:
- url: https://shopfashion.si
- url: https://shopfashion-si.pages.dev
tags:
- name: Agent Tryon
paths:
  /api/agent-tryon:
    post:
      operationId: agentTryOn
      summary: AI try-on preview of a described style on a consenting person's photo; returns…
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - image_base64
              - style
              - consent
              properties:
                image_base64:
                  type: string
                  description: 'JPEG or PNG, ≤1.5MB (≤1024px long side recommended); data: URL prefix allowed'
                style:
                  type: string
                  maxLength: 80
                  description: Clothing/accessory description, e.g. 'black and white striped sweater'
                who:
                  type: string
                  enum:
                  - one
                  - left
                  - middle
                  - right
                  - all
                  default: one
                variations:
                  type: integer
                  minimum: 1
                  maximum: 5
                  default: 1
                mode:
                  type: string
                  enum:
                  - auto
                  - edit
                  - generate
                  default: auto
                  description: edit = change the garment already in the photo (shorten, lengthen, recolor...), anchored to the original; works on garment-only photos too. Always returns 1 image. generate = style a new piece on the person. auto = classify from the style text.
                consent:
                  type: boolean
                  const: true
                  description: Asserts the photo owner/person consented
      responses:
        '200':
          description: Images
          content:
            application/json:
              schema:
                type: object
                properties:
                  images:
                    type: array
                    items:
                      type: object
                      properties:
                        index:
                          type: integer
                        style:
                          type: string
                        variation:
                          type:
                          - string
                          - 'null'
                        mime:
                          type: string
                        image_base64:
                          type: string
                        shop_url:
                          type: string
                  stopped_early:
                    type:
                    - object
                    - 'null'
        '400':
          description: bad_input / consent_required / bad_style
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: 'flagged: the image model''s safety filter refused this photo'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: daily_cap
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: transient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Agent Tryon
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          enum:
          - bad_input
          - rate_limited
          - consent_required
          - bad_style
          - daily_cap
          - flagged
          - transient
          - method_not_allowed
        message:
          type: string