# Frequently Asked Questions

For AI agents: this is the Markdown version of https://docs.fashiolabs.com/faq.html. The index of all Fashio API docs is at https://docs.fashiolabs.com/llms.txt, and the complete reference in one file is at https://docs.fashiolabs.com/llms-full.txt.

Short answers to the questions we hear most from developers integrating the Fashio API.

## Is this the same engine as the Fashio app?

Yes. The API and the Fashio app share the same generation pipeline and the same diamond credit balance on your account. There is no separate "API-only" model or quality tier — a call to `POST /v1/generations` runs through the exact same pipeline as a tap in the app.

## Do I need to poll, or is there a webhook?

Today you poll `GET /v1/generations/:id` until `status` is `completed` or `failed` — see [Quickstart](https://docs.fashiolabs.com/quickstart.md) for the full flow. There is no public webhook for API consumers yet; it's on the [roadmap](https://docs.fashiolabs.com/roadmap.md).

## Can I pass my own hosted image URLs instead of using /v1/uploads?

Yes. Any publicly reachable image URL works anywhere an image field is accepted. `POST /v1/uploads` is a convenience for getting a hosted URL — it isn't a requirement if you already host your product images somewhere reachable.

## What image formats and sizes are accepted?

JPEG, PNG, or WebP, up to 8 MB, when uploading via `POST /v1/uploads`. Self-hosted URLs you pass directly aren't limited by this cap, but keep them reasonably sized for faster generations.

## How many API keys can I have?

Up to 5 active keys per account. Create and revoke keys from the dashboard under **Profile → API Keys** — see [Authentication](https://docs.fashiolabs.com/authentication.md) for how to use one.

## What happens if a generation fails?

The diamonds charged for it are automatically refunded. Check the `errorMessage` field on the generation for why it failed — see [Rate Limits & Errors](https://docs.fashiolabs.com/rate-limits.md) for the full list of error codes and what they mean, or top up if the failure was credit-related on [Pricing & Credits](https://docs.fashiolabs.com/pricing.md).

## Which tool should I use to change a garment's background?

Depends on the result you want. For a clean, transparent cutout, use [Remove Background](https://docs.fashiolabs.com/tools/remove_background.md). To put the garment on a model in a real scene instead, use [Virtual Try-On](https://docs.fashiolabs.com/tools/virtual_model.md).

## Is there a sandbox / test mode?

No. There is no separate sandbox — every key is live, and every successful generation spends real diamonds. Test with a topped-up account; see [Pricing & Credits](https://docs.fashiolabs.com/pricing.md) for how to add credits.

---

Source: https://docs.fashiolabs.com/faq.html · OpenAPI spec: https://docs.fashiolabs.com/openapi.yaml · Docs index: https://docs.fashiolabs.com/llms.txt
