Skip to main content

OpenAPI & Postman

For provider-level debugging, OpenTryOn includes:

AssetPath
OpenAPI 3 / Swagger snapshotopenapi/opentryon-media.openapi.yaml
Postman collectionpostman/opentryon-media.postman_collection.json

These describe upstream HTTP APIs (BytePlus Seedance/Seedream, Kling Video, Luma Ray 3.2, xAI Grok Imagine, Ideogram, Pruna predictions, …).

The source of truth for calling models from apps remains:

  1. opentryon CLI
  2. MCP tools
  3. Python adapters under tryon.api

View in Swagger / Redoc

npx @redocly/cli preview-docs openapi/opentryon-media.openapi.yaml
# or import the YAML into https://editor.swagger.io /

Postman

File → Import → select postman/opentryon-media.postman_collection.json, then set collection variables (ARK_API_KEY, PRUNA_API_KEY, …).

Legacy FastAPI demo docs

api_server.py still exposes its own /docs Swagger UI for the older VTON demo endpoint. Prefer CLI/MCP for the full model set.

More detail: openapi/README.md.