Overview
The FASHN API provides developers with the capability to integrate our try-on model directly into their applications. Built on a RESTful architecture, it currently supports only HTTP endpoints.
Future updates may include the release of JavaScript and Python client libraries to further simplify integration.
The base URL for the FASHN API is https://api.fashn.ai/v1/
New Use our nightly
endpoint to experiment with our latest 576x864 high-resolution model https://api.fashn.ai/nightly/
Authentication
Access to the FASHN API is secured through the use of API keys.
To obtain an API key, create an account to access our dashboard and and subscribe to a plan.
Navigate to Settings -> API in your dashboard and click on "Create new API key". Securly store your key, as you will not be able to view it again after closing the modal.
Using your API key
To authenticate each API request, you must include the API key in the header: