BYOK (Bring Your Own Key) lets you connect your own AI provider API key to MirrorNex. Instead of paying $0.25 per try-on, you pay a $0.03 platform fee plus your AI provider's costs directly.
Why use BYOK?
BYOK is ideal for:
- High-volume stores — Significant cost savings at scale
- Existing AI accounts — Leverage credits or enterprise pricing you already have
- Cost control — Monitor and manage AI costs through your own provider dashboard
Cost comparison
| Monthly Try-Ons | Pay As You Go | BYOK (estimated) |
|---|---|---|
| 50 | $11.25 | ~$4-6 |
| 200 | $48.75 | ~$12-18 |
| 1,000 | $248.75 | ~$50-80 |
BYOK estimates include $0.03 platform fee + typical AI provider costs. Actual AI costs vary by provider.
How to set up BYOK
-
Create a Fashn.ai account
Sign up at fashn.ai and set up billing on your account. -
Generate an API key
In your Fashn.ai dashboard, generate an API key to use with MirrorNex. -
Open MirrorNex settings
In your Shopify admin, go to Apps → MirrorNex → Settings. -
Enter your API key
Find the BYOK section and paste your Fashn.ai API key. Click Save. -
Verify it works
Run a test try-on to confirm your key is connected properly.
Done! Once configured, all try-ons will use your API key. You'll pay $0.03 to MirrorNex (via Shopify billing) plus AI costs to your provider.
Supported AI provider
MirrorNex BYOK currently supports:
- Fashn.ai — The AI provider powering MirrorNex virtual try-on
To use BYOK, you'll need to create an account with Fashn.ai and generate an API key from their dashboard.
BYOK billing
With BYOK, you have two separate charges:
- MirrorNex platform fee — $0.03/try-on, billed through Shopify at month end
- Fashn.ai costs — Billed directly by Fashn.ai based on their pricing
Important: Make sure your Fashn.ai account has sufficient credits/balance. If your API key runs out of credits, try-ons will fail until you add more.
Switching between BYOK and Pay As You Go
You can switch anytime:
- To enable BYOK: Add your API key in settings
- To disable BYOK: Remove your API key — you'll automatically fall back to Pay As You Go pricing