Linux 软件免费装
Banner图

SoftVoltAI Virtual Try-On

开发者 alamgirwp1
更新时间 2026年12月2日 20:57
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce virtual mirror virtual try-on virtual fitting room ai try on

下载

1.3.0 1.3.1 1.3.2

详情介绍:

SoftVoltAI Virtual Try-On is the WooCommerce virtual try-on that also tells shoppers which of your colours suit them. They try clothes on live in a virtual mirror with their phone or laptop camera, or get a realistic AI photo of themselves wearing the product, then find their size and add it to the cart without leaving the product. The virtual mirror runs in the shopper's browser, so it has no per-try-on fees and no limits. The AI photo try-on uses the engine you choose: your own GPU, a Hugging Face Space or fal.ai. There is no account with us and no subscription. It is made for clothing: shirts, t-shirts, hoodies, jackets, pants, jeans, skirts, dresses, saree, kurti, panjabi, salwar kameez and more. Bags, shoes and jewellery are skipped automatically. Why shops choose it Virtual mirror: live camera try-on After activation a camera icon appears on the corner of every clothing product picture (you choose the corner; a floating camera button can be switched on too). A tap opens the phone's front camera or the laptop's webcam with that product already on, and the shopper sees themselves live: Helping shoppers decide (each can be switched on or off under Settings): AI photo try-on (CatVTON or FASHN) Shoppers add a photo of themselves, upload one or take one, and get a realistic picture of themselves wearing the product, made by CatVTON, the diffusion virtual try-on model from ICLR 2025 (github.com/Zheng-Chong/CatVTON). It works the way CatVTON's own demo does: The AI button sits inside the camera window (it uses the camera picture) and, if you like, on every clothing product page. Add it anywhere with [svto_ai_try_on] or [svto_ai_try_on product_id="123"], or call window.svtoTryOn.openAI( 123 ). Where the AI runs CatVTON needs a GPU, so it does not run on your web host. Choose one engine under WooCommerce > Virtual Try-On > AI engine: Daily limits per shopper and for the whole shop keep GPU costs under control; you can also keep the AI try-on for logged-in customers. Licence note: CatVTON's code and weights are released by their authors under CC BY-NC-SA 4.0 (non-commercial). Using CatVTON for a shop that sells is commercial use, so get the authors' permission first, or choose an engine that allows commercial use (FASHN on fal.ai). This plugin does not contain any CatVTON code or weights. Body tracking The live camera try-on works on its own: the shopper places the outfit by hand. Body tracking, where tops sit on the shoulders, pants on the hips and clothes follow the shopper as they move, together with size suggestions from shoulder width and styling ideas from body proportions, needs Google's open-source MediaPipe files. This plugin does not include them or load them from a CDN. To turn body tracking on, host your own copy of the MediaPipe files on the same site and pass their addresses to the plugin with the svto_body_tracking filter (see the FAQ). Nothing in this plugin is locked or needs a licence key. The Pro add-on The separate SoftVoltAI Virtual Try-On Pro add-on adds the AI Studio for shop managers: CatVTON's demo inside WordPress for making on-model product photos and saving them to the Media Library. Pro does not include the MediaPipe files. Which products and where Only things people wear are included. Clothing is found from category and product names (dress, shirt, t-shirt, pants, jeans, skirt, hoodie, jacket, saree, kurti, panjabi, salwar kameez…); bags, shoes and jewellery are skipped. You can always include or exclude whole categories, and switch any product on or off. For the best result give a product a "Try-on image" (a front view of the garment on a transparent PNG) in its "Virtual try-on" box; the AI try-on uses it too. Without one, the product photo is used and a plain studio background is removed automatically. Settings, the AI engine, the list of clothing found and simple numbers are under WooCommerce > Virtual Try-On. Add the camera button anywhere with the shortcode [svto_try_on] or [svto_try_on product_id="123"], the AI button with [svto_ai_try_on], add the Virtual try-on button block in the block editor, or give any element the attribute data-svto-open (and data-svto-product="123"). Camera, photos and privacy Browsers only allow the camera on secure (https://) pages, so your site needs SSL. The camera picture never leaves the shopper's device: the try-on, colour scan and snapshots all run in their browser, and nothing is recorded or uploaded. The plugin keeps only counts, camera opens, try-ons, colour scans, size suggestions, shares, adds to cart, and per colour palette the number of scans and the colour names added, never pictures. The only personal data it can keep is the email address, colour palette name and consent time of shoppers who ask for new-arrival emails and confirm by email; they can unsubscribe from any email, which deletes the record, and the list is under WooCommerce > Virtual Try-On > Numbers. "Email me my looks" on its own sends one email and keeps nothing. Your site must be able to send email (wp_mail). The AI photo try-on is the one feature that sends a picture away, and only after the shopper ticks a box agreeing to it: their framed photo (and the brush mask, if they painted one) goes through your site to the AI engine you chose, together with the product's garment picture. The photos sit in a private temporary file on your site only while the picture is made and are then deleted; the finished picture comes back to the shopper's browser, and only a count of pictures made is kept. Mention the AI try-on and your engine in your privacy policy. If "Count orders" is on, the IDs of the products a shopper tries on are kept in a first-party cookie (svto_tried) for 7 days, so the plugin can count the orders that include them. It holds no personal data and can be switched off under Settings. Subscriber emails are included in WordPress's Export and Erase Personal Data tools, and the plugin suggests text for your privacy policy.

安装:

  1. Install and activate WooCommerce, then install and activate SoftVoltAI Virtual Try-On from Plugins > Add New (search for "SoftVoltAI Virtual Try-On") or upload the zip.
  2. That is enough for the virtual mirror: a camera icon appears on every clothing product picture and a "Try it on" button on clothing product pages. Your site needs https, because browsers only allow the camera on secure pages.
  3. For the AI photo try-on, open WooCommerce > Virtual Try-On > AI engine, choose fal.ai (enter your fal.ai key) or a CatVTON server (enter its address), press "Test connection" and save.
  4. Under Settings, pick the corners, the accent colour, which features to show and your size charts. Under Clothing found, check which products the plugin picked up; each product's edit screen has a "Virtual try-on" box to include or exclude it and to set a try-on picture.

屏幕截图:

  • "Try it on with your camera" and "See it on me with AI" buttons on a clothing product page.
  • The try-on panel: colours, sizes, "Find my size" from a chest or waist measurement, and add to cart without leaving the camera.
  • The AI photo try-on on a phone.
  • WooCommerce > Virtual Try-On > Settings: camera button, corners, accent colour and which features to show.
  • AI engine: choose fal.ai or a CatVTON server, test the connection, set the model, picture settings and daily limits.
  • Clothing found: every product the try-on picked up, how it is worn, its colours, sizes and try-on image.
  • Numbers: orders and sales with tried-on items, AI pictures, camera opens, items tried on, colour scans and more.
  • The "Virtual try-on" box on a product's edit screen: include or exclude it, how it is worn, try-on image, garment colour and placement.

常见问题:

Do I need a GPU?

Not on your web host. The AI try-on runs on a CatVTON server (your GPU computer or a Hugging Face Space with a GPU) or on fal.ai. The live camera try-on runs in the shopper's browser and needs nothing.

What does the AI try-on cost to run?

Every AI picture uses GPU time. On your own GPU computer that costs nothing extra; fal.ai charges per picture; a shared public Hugging Face Space has limited free GPU time and can be busy, so for a live shop duplicate the Space to your own account with a GPU or add a Hugging Face token. Daily limits per shopper and for the whole shop keep costs under control.

Can I use CatVTON in a shop that sells?

CatVTON's authors release it for non-commercial use only (CC BY-NC-SA 4.0), so ask them for permission first, or choose FASHN on fal.ai, which allows commercial use. This plugin contains none of CatVTON's code or weights.

How long does one AI picture take?

Usually 10-60 seconds, depending on the GPU, the model and the inference steps. Hosts that stop PHP requests after 30 seconds can cut long CatVTON-server pictures short; fal.ai pictures are checked every few seconds and are not affected.

Can shoppers paint the area to change?

Yes, with the CatVTON server engine and the mask-based or FLUX model. With fal.ai and the mask-free model the area is found automatically.

Why does the camera not open?

Browsers only allow the camera on secure (https://) pages, so switch your site to SSL. Until then the AI photo try-on still works with an uploaded photo.

My theme builds its own product pages. Where is the button?

The buttons are added under Add to cart on clothing product pages. If your theme does not show them, add the Virtual try-on button block, use the shortcodes [svto_try_on] and [svto_ai_try_on], or give any button the attribute data-svto-open and data-svto-product="123".

How do I turn on body tracking?

Host Google's MediaPipe tasks-vision files (vision_bundle.mjs, its wasm folder and a pose_landmarker .task model) on your own site and return their addresses from the filter: add_filter( 'svto_body_tracking', function () { return array( 'bundle' => 'https://example.com/mediapipe/vision_bundle.mjs', 'wasm' => 'https://example.com/mediapipe/wasm', 'model' => 'https://example.com/mediapipe/pose_landmarker_lite.task' ); } ); Addresses on another site (a CDN, for example) are ignored, so the plugin never loads code from elsewhere. Then tick Body tracking under WooCommerce > Virtual Try-On > Settings.

How does "Find my size" work?

The shopper measures their chest (for tops and dresses) or waist (for bottoms) with a tape, types it in cm and picks a regular or loose fit. The plugin picks the smallest size in your body size chart that fits (one size up for a loose fit) and selects it, ready for the cart. Put your own measurements in WooCommerce > Virtual Try-On > Settings > Body size chart; the starting values are only an example.

How are orders from try-ons counted?

When a shopper tries a product on, its ID is kept in a first-party cookie for 7 days. If they then order it, the order is noted at checkout and counted under Numbers once it is paid (processing or completed), with the sales of the tried-on lines. Switch it off under Settings with "Count orders".

My site is behind Cloudflare or another proxy.

Daily limits are counted per visitor address, and behind a proxy every visitor can share the proxy's address. If you trust your proxy, return the real address with the filter: add_filter( 'svto_visitor_ip', function ( $ip ) { return isset( $_SERVER['HTTP_CF_CONNECTING_IP'] ) ? sanitize_text_field( wp_unslash( $_SERVER['HTTP_CF_CONNECTING_IP'] ) ) : $ip; } );

更新日志:

1.3.2 1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0