| 开发者 | aurshax |
|---|---|
| 更新时间 | 2026年11月4日 13:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
define( 'FITZARO_OPENAI_KEY', 'sk-...' );It depends on the model and the image size. With the default model, a try-on usually costs a few US cents. Fitzaro records the cost OpenAI reports and stops new try-ons when the monthly budget is reached.
Products whose category looks like a top, a dress or eyewear. You can set the type, or turn try-on off, on each product (General tab) and on each product category.
Yes. The product page holds no personal data; everything personal goes through the REST API, which is never cached.
In a private folder: outside the web root when the server allows it, otherwise a randomly named folder inside uploads that is protected from direct access. Photos are only ever served through PHP, to the browser that uploaded them, so they stay private on Nginx too. You can choose the folder with FITZARO_STORAGE_DIR in wp-config.php. Photos are deleted after 24 hours and results after 7 days.
Yes. Set the CSS custom properties (for example --fitzaro-accent), or copy templates/try-on.php to yourtheme/fitzaro/try-on.php.