Many customers want something unique on a phone case, poster or mug but have no artwork to upload. An AI design option lets them describe what they want, pick a style and see the result on the product before they buy.
This guide explains how to let customers generate designs with AI on Shopify using the AI option in Live Product Options (LPO): what it does, how to set it up, what it costs you per customer and where the documentation stops.
What the option does
The AI option gives the customer up to four tools, and you choose which ones to switch on (LPO option reference):
- Generate an image from a text prompt.
- Style, a choice from styles you offer. Each style is a hidden prompt that is combined with the customer's text.
- Edit an existing image with a text prompt.
- Remove background, for a cut-out.
The result can show in the live preview, or be passed to a linked upload option so it becomes the artwork the order carries. Customers see several images per page and can keep a history of earlier tries.
Set it up
- Turn on the AI extension from the Plans page. It is a paid add-on, so check the Plans page for its monthly price.
- Add an AI option to the product and choose the tools to offer.
- Write a prompt template that wraps what the customer types, such as
Create a {prompt} design suitable for printing. You can also pull in other options with{optionName}. - Pick the styles customers can choose. You can replace the default style thumbnails under Settings, AI Settings.
- Set an aspect ratio. The default output is 1024 by 1024 pixels, and the docs list ratios from 1:1 to 16:9. A ratio can follow another option, for example the phone model.
- To use the result as the print artwork, link the AI option to an upload option and turn on the sync.
- For cut-out designs, turn on automatic background removal, or use a model marked "Transparent".
LPO's Custom Phone Case template shows the pattern: the customer chooses "Upload image" or "AI image", and the AI image feeds the same upload that the preview and the order use.
What it costs you
The merchant pays. Customer use draws down your AI credits, which are charged at cost with no markup. One credit is one cent, and each model's cost is rounded up to a whole credit (LPO docs). The documented ranges:
| Action | Credits | Cost |
|---|---|---|
| Generate an image | 1 to 7 | $0.01 to $0.07 |
| Edit an image | 2 to 7 | $0.02 to $0.05 |
| Remove a background | 1 to 2 | $0.01 to $0.02 |
| Upscale | 1, or 4 with transparency | $0.01 or $0.04 |
You receive 1,000 credits once when you enable the extension. They do not renew each month, and you can buy more at any time.
Here is what that means in practice, using only the documented ranges. If 100 shoppers each generate 6 images, that is 600 images. At 1 credit each it costs $6, and at 7 credits each it costs $42. The 1,000 starting credits cover 1,000 images at 1 credit, or 142 at 7 credits. Most shoppers will not buy, so decide which model you can afford before you launch.
Three things help control the bill:
- The model picker shows the credit cost next to each model, and the cheapest one is a sensible default.
- If a model fails, the app retries with the next model and refunds the failed attempt.
- Each shopper is limited to 5 requests a minute and 60 an hour, which stops runaway use.
One warning: the evaluation mode that tests several models at once charges every selected model, so five models cost five times as much.
Print quality
Generated images are 1024 by 1024 pixels by default. The upscale setting raises that to 4096 by 4096, a 4x increase, and it runs only after the product is purchased, or during preview export if you use the Export extension. At 300 pixels per inch, 4096 pixels is about 13.6 inches, so check that against your largest print size.
What to know before launch
- The prompt template isn't private. Anyone can read it in the browser console. Style prompts are kept private, so put anything you don't want exposed in a style.
- Moderation isn't documented. The docs don't say whether prompts are filtered. Test what a customer can generate and decide your own policy for what you will print.
- Running out of credits isn't documented. The docs don't say what the customer sees when the balance reaches zero. Test it and watch the balance.
- The documentation doesn't name the AI model, so we don't either.
Typical for: phone cases, posters and wall art, print-on-demand apparel, and mugs for customers who have no artwork of their own.
Where to start
Add the option to one product, pick the cheapest model, and generate a few designs yourself. Check each at your real print size, try a prompt you wouldn't want on your product, and set a credit budget before you open it to customers.
