fashn
Installation
SKILL.md
FASHN API & SDKs
FASHN is an AI-first company specializing in human-centric generative image models tailored for fashion applications: virtual try-on, AI models, product photography, editing, and image-to-video. Everything runs through one prediction endpoint that takes a model_name plus an inputs object.
This skill helps you do two things:
- Integrate FASHN into a project: write production code against the REST API, the TypeScript SDK (
fashnon npm), or the Python SDK (fashnon PyPI). - Run a one-off generation inline: execute a single call and hand the result back to the user (see Inline quickstart).
When the user asks to add FASHN to their app / repo, integrate (write code into their project). When they ask to just do a try-on / generate an image now, run it inline.
Full per-endpoint parameter tables, the error catalog, webhooks, and credits live in reference.md. Load it when you need exact
inputsfor a givenmodel_name.
Authentication
- Get an API key from the Developer API dashboard: https://app.fashn.ai/api
- All FASHN calls are server-side: never hard-code the key or expose it client-side.
- REST: send
Authorization: Bearer $FASHN_API_KEY. Both SDKs readFASHN_API_KEYfrom the environment by default.