Wix App Help

Try On AI help: install, add your Gemini key and fix common problems

How to install Try On AI on a Wix store, create and paste a Google Gemini API key, place the Try it on button, compare plans and fix failed try-ons.

A S CodeLabsUpdated: 10 min read
Try On AI help: install, add your Gemini key and fix common problems

Quick answer

Try On AI adds a Try it on button to Wix Stores product pages. A shopper takes a selfie or uploads a photo and gets an AI preview of themselves wearing the product in the colour they picked. To set it up, install the app, paste your own Google Gemini API key from Google AI Studio (with billing turned on) in the app dashboard, add the button to your product page and publish. Google bills you directly for each try-on.

Key takeaways

  • The app runs on your own Google Gemini API key; Google bills your account for each try-on, and the button stays hidden until a working key is saved.
  • Unbilled Google keys get no quota for image models, so turn on billing for the key's project in Google AI Studio.
  • Every new store gets a 14-day free trial with unlimited try-ons, then the Free plan gives 20 try-ons a month. Pro is $14.99 a month and Lifetime is $100 once (early-bird price).
  • Shopper photos and previews are not stored.
  • Each shopper can do up to 5 try-ons an hour, and you can set your own monthly cap to control your Google bill.

What does Try On AI do, and what doesn't it do?

Try On AI is a Wix app by A S CodeLabs that puts a Try it on button under Add to Cart on Wix Stores product pages. The shopper picks an option, takes a selfie or uploads a photo, and after about 10 to 20 seconds sees an AI picture of themselves wearing the product, made by Google Gemini on the store owner's own key.

  • Matches the chosen variant: it uses the selected colour's product image when there is one, otherwise the main image.
  • Needs no tagging: it reads each product's name and description to work out the product type.
  • Works on both Wix Stores catalogs, in the Wix Editor and Wix Studio.

It doesn't store shopper photos, doesn't show a "powered by" line to shoppers, and doesn't include Google's AI charges in the plan price. There is no per-product switch: once placed, the button appears on every product page.

How do I install Try On AI on my Wix site?

You install Try On AI from the Wix App Market. Your site needs Wix Stores, because the app reads product names, descriptions, images and options. These steps describe the App Market flow once the listing is public.

  1. Find the app

    In your site dashboard, open the Wix App Market and search for Try On AI.

  2. Add it to your site

    Click Add to Site, pick your store site if asked, and approve the permissions (read store products, and read and write the app's own data).

  3. Open the app dashboard

    Wix opens the app page in your dashboard (later: Apps > Try On AI), with four numbered cards: key, button placement, button and plan.

Installing alone puts nothing on your shop. Shoppers see the button only after you save a working key, place the button and publish.

How do I get a Gemini API key and where do I paste it?

Create the key in Google AI Studio and paste it into card 1. Your Google AI key in the app dashboard. The key belongs to your Google account, so Google bills you directly, with no markup from A S CodeLabs. See Google's Gemini API key guide.

  1. Create the key

    Open Google AI Studio, sign in with your Google account and click Create API key. Copy the whole key. Classic keys start with "AIza"; newer ones start with "AQ." and both work.

  2. Turn on billing

    Turn on billing for the key's project, as described in Google's Gemini API billing page. Free Google AI keys get no quota for image models, so try-ons fail without billing.

  3. Paste and save

    In the app dashboard, paste the key into the API key field and click Check & save key. The app makes a test call to Google before saving.

  4. Confirm it is connected

    The badge changes from Not set to Connected and only the key's last four characters are shown. Use Replace key to swap it or Remove key to take it out, which hides the button.

With Lifetime, A S CodeLabs helps set up your Google AI key within 24 hours of purchase: email admin@ascodelabs.com with your site name. You can also set a spending cap on the project in Google AI Studio.

How do I put the Try it on button on my product pages?

Use card 2. Add the button to your product page, then publish. The button is a product page plugin, so placing it once covers every product page. Wix explains the layout of the Wix Studio product page.

  1. Click Add to product page

    In card 2, click Add to product page and confirm in Wix's box. The button goes under Add to Cart.

  2. Or add it in the Editor

    If the automatic option fails, open your site in the Editor, go to the Product Page, click the product widget, then Plugins (or Add Plugins), choose Try On button and click Add.

  3. Publish and check

    Publish the site and reload a product page. Back in the dashboard, card 2 shows On your product page with the time the button last loaded.

The app guesses each product's type from its name and description, checked in this order:

Product types Try On AI recognises (from the app's code)
TypeExample words in the product name or description
Eyewearglasses, sunglasses, goggles, frames, aviators
Headwearcap, hat, beanie, fedora, beret, hijab, visor
Outerwearjacket, coat, hoodie, blazer, cardigan, sweater
Dressesdress, gown, abaya, saree, kaftan, jumpsuit
Bottomspants, trousers, jeans, shorts, skirt, leggings
Topsshirt, t-shirt, tee, blouse, polo, kurta
Jewellerynecklace, earrings, pendant, chain, choker
Bagsbag, backpack, handbag, tote, purse

If no word matches, the product is treated as a top. Shoes, watches, rings and other items outside this list aren't supported, so use clear product names.

Which settings can I change in the dashboard?

All settings are on the app's dashboard page and apply to every product page. Click Save at the top right. The shop can take about a minute to pick up a change.

SettingWhereWhat it does
On/off switch3. ButtonShows or hides the button on all product pages
Button text3. ButtonUp to 40 characters; default "Try it on"
Button colour3. ButtonColour of the button and the dialog buttons; default near-black
Your own monthly cap4. Plan and limitsStops try-ons for the month after this many; 0 means no cap
Model4. Plan and limitsGoogle image model, default gemini-3.1-flash-image; leave it unless support asks

A fixed limit of 5 try-ons per shopper per hour applies on every plan. Only successful try-ons count toward the monthly and hourly limits.

How much does Try On AI cost?

Free gives 20 try-ons a month, Pro costs $14.99 a month, and Lifetime costs $100 once (early-bird price). New stores first get a 14-day free trial with unlimited try-ons, counted from first use. On every plan, Google bills you for the AI through your own key.

Try On AI plans (December 2026)
FreeProLifetime
Price$0$14.99 a month; yearly billing where offered$100 once (early-bird price)
Try-ons20 a monthUnlimitedUnlimited
BillingNoneRecurring, cancel any timeOne payment, no subscription
Key setup helpNoNoWithin 24 hours of purchase
Google AI usagePaid by you to GooglePaid by you to GooglePaid by you to Google

After the trial, a store without a paid plan moves to Free. Once the 20 try-ons are used, shoppers see a monthly limit message until the next month. Plans are never shown to shoppers.

How do I upgrade or cancel?

Open card 4. Plan and limits and click Choose Monthly (the Pro subscription) or Get Lifetime. Wix checkout opens in a new tab, so allow pop-ups. After paying, reload the dashboard to see your plan badge. Wix's guide to upgrading an app covers the same flow.

Cancel Pro in your Wix account, as described in canceling an app subscription. Lifetime is one payment with nothing to cancel. Renewals, cancellations and refunds follow Wix's rules, per the Try On AI terms.

What happens to shopper photos and my API key?

Shopper photos are not stored. The photo is shrunk in the browser (at most 1,024 pixels on its long side), sent over HTTPS to the app's server, passed to Google's Gemini API under your Google account, and discarded. The preview isn't stored either.

  • Your key sits in an encrypted field in the app's data collection on your own Wix site, is used only on the app's server and never reaches shoppers' browsers.
  • Shopper counts: a Wix visitor or member ID is stored with an hourly count for the 5-per-hour limit; no names or emails.
  • Google's side is governed by Google's Gemini API terms on your account, and image charges go to your Google bill.

Full detail is in the Try On AI privacy policy. Shoppers should only upload photos of themselves or someone who agreed.

Why is the button missing or try-ons failing?

Most problems come from a missing key, a button that isn't placed or published, a Google quota or billing limit, or a product or photo the AI can't use. Owner-side problems show as a yellow Try-ons are failing box in the dashboard; shoppers just see "Try-on isn't available right now".

What you seeLikely causeWhat to do
No button on the product pageNo key, switch off, not placed or not publishedCheck cards 1 to 3, publish, wait a minute and reload
"Google didn't accept that key"Key wrong, incomplete or revokedCopy the whole key again and save
Dashboard: Google refused your API keyKey deleted or restricted in GoogleCreate a new key and use Replace key
Dashboard: no quota left for image modelsNo billing on the project, or quota used upTurn on billing; see Google's rate limits
Dashboard: monthly spending cap reachedProject hit your Google spend capRaise it in Google AI Studio under Spend
"This product has no picture to try on"No image for the product or colourAdd a product image
"We couldn't use that photo"Google blocked the photoUse a clear, front-facing photo
"That took too long"No answer from Google in about 55 secondsTry again
"Could not load settings. Is the CMS added to this site?"The app's data needs the site's CMSAdd the CMS, then reopen the app

Other known limits: without a camera, shoppers can use Upload photo (JPEG, PNG or WebP). A shopper who hits 5 try-ons in an hour is asked to wait. If the button is placed twice, only the first shows.

How do I contact Try On AI support?

Email admin@ascodelabs.com with your site name, what you expected, what happened and the exact message you saw. A screenshot of the dashboard warning helps, but crop out anything private and never include your API key. Product details, terms and launch updates are on the Try On AI app page.

Frequently asked questions

Do I need my own Google Gemini API key to use Try On AI?

Yes. Every plan uses your own Gemini API key from Google AI Studio. The button stays hidden until a working key is saved, and Google bills your account for each image.

Why does my key save but try-ons still fail?

Usually the key's project has no billing, so no image quota, or it hit a spending cap you set. The dashboard warning says which. Fix it in Google AI Studio and try again.

Can I turn the button on for only some products?

No. One switch controls the button on all product pages. Once placed and with a key saved, it shows on every product page; products with no picture give a message instead of a preview.

Are shopper photos stored by Try On AI?

No. A photo is used once to make the preview and then discarded, and the preview isn't stored. It is sent to Google's Gemini API under your own Google account, as the privacy policy explains.

What happens when the 14-day free trial ends?

Your store moves to the Free plan with 20 try-ons a month unless you choose Pro or Lifetime. Your settings and key stay as they are.

How long does a try-on take?

Usually 10 to 20 seconds, and the dialog says so while it works. After about 55 seconds without an answer from Google, the shopper can try again with the same photo.

Can A S CodeLabs set up my Google key for me?

With Lifetime, yes: help setting up your Google AI key within 24 hours of purchase. Email admin@ascodelabs.com with your site name, but never the key itself.

Read more from our blogs