=== Artist Image Generator: DALL-E AI for Image Content & Customizable WC Products. Upscaler. ===
Contributors: Immolare
Tags: ai, dalle, image, upscale, woocommerce, sell online, e-commerce, shop, customize, product, woo, product customization
Requires at least: 5.3
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: v1.1.12
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Donate link: https://artist-image-generator.com/#donate

Create images with AI. Sell personnalized WooCommerce products (frames, mugs). Upscale any image. Generate public generators.

== Description ==

[Artist Image Generator](https://artist-image-generator.com/) is your helper to create unique and engaging visual content and product using DALL-E AI.

Generate high-quality featured images for your posts and pages. Design customizable products like t-shirts, wallpaper, frames using AI technology.

With Artist Image Generator, you can easily customize images and offer interactive image generator tools to your visitors through shortcodes. Plus, the plugin includes an AI-based avatar generator for users to create and set their own avatars on WordPress.

Compatible with WooCommerce and popular page builders like Gutenberg, Elementor,  Artist Image Generator is perfect for bloggers, designers, merchants and anyone looking to add a creative touch to their website.

### New feature 2024/10/29: [Customer image and Prebuilt Image Gallery using Google Drive](https://artist-image-generator.com/how-to-build-a-gallery-with-prebuilt-images-using-wc-image-customizer/)

**This service is free. It requires Integrate Google Drive plugin and [WC Product Ai Image Customizer](https://artist-image-generator.com/product/woo-product-ai-image-customizer-to-sell-personalized-products/) and use [AIG credits](https://artist-image-generator.com/product/credits/) to operate.**

https://youtu.be/zHkzAFdm9So

In WC Product Ai Image Customizer, the customer can now :

✅ Create its own AI image like before

✅ Use its own image by defining **user_img="true"**

✅ Select images inside a Google Drive Gallery you built (prebuilt designs) **integrate_google_drive_id="{shortcode_id}"**

If you have a white t-shirt and a red one, you can now **manage variations** effortlessly by simply filling in new fields within each variation: original_url and mask_url. When a customer creates or selects an image, it will be previewed on the current product. If they decide to switch from the white to the red variation, the image will be retained and previewed on the red product without any additional clicks.

### [Create'N Face Swap Using Stable Diffusion 3](https://artist-image-generator.com/product/credits/)

**This service requires [WC Product Ai Image Customizer](https://artist-image-generator.com/product/woo-product-ai-image-customizer-to-sell-personalized-products/) and use [AIG credits](https://artist-image-generator.com/product/credits/) to operate. It does not require a DALL·E key, so you can use it as a standalone solution.**

To enhance and simplify the use of AI in your e-commerce products and offer new features, I have implemented an image generation system using Stable Diffusion 3 instead of DALL·E. Your customers can generate high-quality, ultra-realistic images for their personalized products.

**And with this, your customers now have the ability to upload a photo of themselves and create ultra-realistic scenes and portraits (FaceSwapping).**

To use these features, you simply need to purchase credits, retrieve your Token from your AIG account, and enter it on your site: Artist Image Generator > Settings.

Then, call this service directly by specifying the **model="aig-model"** and add a new attribute **user_img="true"** (to allow users upload a photo) and you're all set.


### [Upscaling service](https://artist-image-generator.com/product/credits/)

**This service does not require a DALL·E key, so you can upscale your old images in standalone**

Enhance your WordPress media library with our Artist Image Generator credits. Upscale images to stunning 4K resolution using AI, perfect for improving image quality and compatibility for print products. Easily integrate with your WordPress site and WooCommerce to offer high-quality, personalized images.

https://youtu.be/1t6xFEBjl-E

Our upscale service is perfect for enhancing your WordPress media library, these credits allow you to transform images from 64×64 to 1 megapixel, upscaling them up to 4K while preserving all aspects. Our Conservative Upscale feature minimizes alterations to the image, ensuring it remains true to the original. 

✅ HD Upscaling: Takes images between 64×64 and 1 megapixel and upscale to 4K res.

✅ Preserves Image Aspects: Upscales images ~20-40x times while preserving all aspects.

✅ Conservative : Minimizes alterations to the image, ensuring it remains true to the original.

✅ Compatibility: Works seamlessly with WordPress, Elementor and WooCommerce.

With **AIG Product AI Image Customizer you can even enhance customers images if needed for personnalized print products** like posters, mugs, and more.

### [Customer credits balance](https://artist-image-generator.com/how-to-configure-wc-customer-credit-balance/) (premium feature)

Public image generation can be effectively limited, but this may not suit all situations. That's why you can now offer your users the option to purchase credits to use image generators.

Setting up a credit balance is simple. You just need to add a WooCommerce product (e.g., credit packs: 10 - 50 - 150). This works without any other WooCommerce extensions.

✅ When a user purchases a number of credits, they have a credit balance on their account to use the generators. 

✅ When they run out of credits, a link to your product is suggested so they can purchase more.

✅ Credits are only credited once when the order is completed.

✅ Users can accumulate credit purchases, and you just need to monitor your credit API.


### [WooCommerce Product AI Image Customizer](https://artist-image-generator.com/product/woo-product-ai-image-customizer-to-sell-personalized-products/): shoppers are designers

Integrated in **UrFram.com** with WC x Gelato x Artist Image Generator : [live e-commerce shop running here](https://urfram.com)

If you want to sell customizable WooCommerce products and allow customers to personalize images with their own unique digital art, check out my premium plugin **Artist Image Generator - Product AI Image Customizer**. This plugin uses DALL-E artificial intelligence to provide image customization for your WooCommerce products. Customers can create personalized image designs by topic or freehand, and developers can create a unique shopping process.

[Take a look here](https://artist-image-generator.com/product/woo-product-ai-image-customizer-to-sell-personalized-products/). **Full bundle (AIG - Product AI Image Customizer + AIG Licence) only at €45.00.**

https://youtu.be/80iokJx1DB4

In the background, it uses Artist Image Generator shortcodes to create independent, topic-based image generators for each of your products.

The customer visits the product page, generates an AI image from a prompt and/or topic, and buys the product. You can view the personalized image on the admin order page. Additionally, you can control how many images a user can generate and set a refresh time if desired. 

You can also generate a live basic previews of the personalized product using a mask image. The mask can be created through AIG or using external tools.

It fits very well if you want to sell unique products like : frames, puzzle, wallpapers, t-shirts, mugs, digital art, any product of your choice !

#### AI-Powered Image Generation through DALL·E
Create unique images from scratch based on text prompts using DALL·E technology. Output variations of existing images or compose your own (pro) to generate unique and royalty-free images.

#### Topic-based AI Image Generator Tool
Place a topic-based image generator tool on any page using shortcode, allowing visitors to generate images according to predefined topics. Visitors can be limited by requests number and duration.

#### Topic-based AI Avatar Generator Tool
Same as the Image Generator Tool. Place a shortcode anywhere on your website and allow users to create and set their avatar. An alternative to Gravatar, compatible with One User Avatar, Simple Local Avatars. Users can be limited by requests number and duration.

#### Use DALL-E Everywhere
Use the plugin anywhere inside your admin. It is accessible directly from the WordPress Media Manager. Enjoy compatibility with popular page builders, media plugins and Woocommerce.

#### Generation History 
Latest generated images are stored in local storage for 1 hour, during which time you have the option to save them for later use or to utilize them as a basis for creating variations or edits.

#### User limitations
Public image generators can be limited for the number of images the users create. Limit per generator (add a uniqid attribute) and per user with refresh time (or not).

### Artist Image Generator's Premium Features

- **Image Edit**: Edit, compose and extend existing images by drawing a mask and asking DALL·E to generate a new image based on your modifications.
- **Multiple Image Generation with DALL·E 3**: Generate up to 10 images simultaneously using the DALL·E 3 model. Available for shortcodes too.
- **Easy live preview**: Coupled with AIG - Product AI Image Customizer, you can build a live preview without quitting your WordPress website.
- **[04/08/2024] Woocommerce Credit Balance**: Customers can buy credits to use the image generators via their account balance. It works by just adding a new product**


[Purchase a license key here](https://artist-image-generator.com/product/licence-key/)

**Note**: Product AI Image Customizer is not included in the licence key.

### Use DALLE everywhere

You can use Artist Image Generator anywhere with mosts of page builders : **Gutenberg, Elementor, WP Bakery, Beaver Builder (FL Builder)**. For avatars generators, it is compatible with **Simple Local Avatars** and **One User Avatar**. **WooCommerce products** are supported to generate images and/or coupled with AI Image Customizer to let customers personnalize their products.

### Advantages

- Create royalty-free images via text-to-image or from existing images
- Illustrate pages, articles, and anything on your WordPress site
- Avoid using licensed/copyrighted images from the web
- Give an original and modern style to your publications and website
- Use OpenAi DALL·E all features and its future improvements
- A lightweight plugin natively integrated into the WordPress library
- Use it everywhere through page builders and more
- Compatible with modern browsers and other media modules
- Translatable into several languages

### Artist Image Generator Demo

[Watch the dedicated playlist](https://www.youtube.com/playlist?list=PL1w41bJBr1vJ_ufgPMdqgBe6nNEA2FI0j)

https://youtube.com/playlist?list=PL1w41bJBr1vJ_ufgPMdqgBe6nNEA2FI0j&si=WQIO27Fi-Us3lEVd

**Note**: Some videos need to be updated.

### Privacy Policy

We take your privacy seriously at Artist Image Generator. We don't collect any data from you when you use our plugin. Your file or description is only sent to the DALL·E API for generating images, and we don't store or share any of that information. The API responds with the generated images, which are then used by the plugin to fill in image metadata and rename files in a way that's optimized for SEO. We value your privacy and aim to provide a safe and secure experience for all our users.

### Credits

- [OpenAI GPT-3 Api Client in PHP](https://github.com/orhanerday/open-ai)
- [OpenAI - DALL·E 2](https://openai.com/dall-e-2/)
- [OpenAI - DALL·E 2](https://openai.com/dall-e-3/)
- [Pierre Viéville](https://www.pierrevieville.fr/)
- [Pierre Viéville's blog](https://developpeur-web.site/)

== Screenshots ==
1. Fill your OpenAI API Key and AIG Premium Key in Settings tab
2. Create new images from any page
3. Create images variation from any page
4. Edit and compose images (pro) from any page
5. Example of Public Topic-based Image Generator Tool using shortcode
6. Example of rendering "Godzilla" using Dall-E 3 model
7. Use the Generation History to reuse non saved images up to 1H
8. DALL-E 3 multiple image generation up to 10 images (pro)
9. Example of rendering"A sunlight indoor lounge" using Dall-E 3 model

== Installation ==

### Install the Plugin

Installing the Artist Image Generator plugin is a simple process:

1. Search for the "Artist Image Generator" plugin in the WordPress plugin library and click "Install."
2. Alternatively, download the zip archive file and upload it using the "upload plugin" tool.
3. Click "Activate" to activate the plugin.

To configure the plugin, navigate to the "Settings" page found under the plugin name in the WordPress menu. You can access it by clicking on **Media Library > Image Generator > Settings tab**.

### Configure the Plugin

The Artist Image Generator plugin utilizes an artificial intelligence called DALL·E, a service provided by OpenAI that supports both DALL·E 2 and DALL·E 3. To use the plugin, you'll need to generate an OpenAI API key. A free basic API key is sufficient to use the plugin, and you can later upgrade to OpenAI's paid service if needed.

Follow these steps to create an OpenAI API key and configure the plugin:

1. Visit the OpenAI developer portal and sign up or log in: [https://openai.com/api/](https://openai.com/api/)
2. Go to **User > View API keys** and create a new secret key: [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys)
3. Copy and paste the new secret key into the **OPENAI\_API\_KEY** field in the plugin's settings.
4. If you have an Artist Image Generator license key, enter it in the **AIG\_LICENSE\_KEY** field.
5. Click "Save changes" to save your settings and start using the plugin.

For more information on using and installing the Artist Image Generator plugin, please visit our blog: [https://artist-image-generator.com/blog/](https://artist-image-generator.com/blog/).

== Screenshots ==
1. Fill your OpenAI API Key here in "Settings" tab.
2. Create new images in the "Generate" tab.
3. Create image variations in the "Variate" tab.
4. Create image edition in the "Edit" tab.
5. The public shortcode avatar and image creator functionnality.
6. WC Product AI Image Customizer : full features, photo upload, gallery, image creation.
7. Generated images which are not saved are available for 1h.
8. Generate up to 10 images using DALL·E 3 model.
9. WC Product AI Image Customizer : face swapping results.

== Frequently Asked Questions ==

= How does Artist Image Generator work? =
Artist Image Generator is an AI-powered image creation plugin that utilizes OpenAI's advanced DALL·E service (supporting both DALL·E 2 and DALL·E 3) to generate high-quality images based on your text descriptions. Simply provide a text prompt, choose your preferred image style, and our AI technology will generate multiple images for you to choose from. For inspiration, check out our [30 prompt examples to try DALL-E AI image generation](https://artist-image-generator.com/30-prompt-examples-to-try-dall-e-ai-image-generation/).

= Can I use the images I generate with Artist Image Generator on my website? =
Yes, you own the images you create with Artist Image Generator and can use them on your website without worrying about licensing issues. The images are public domain, and you can license them as you see fit under the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/).

= Do I need any programming skills to use Artist Image Generator? =
No, Artist Image Generator is designed to be beginner-friendly and lightweight, with an easy-to-use interface that requires no programming skills. It's perfect for non-developer WordPress users who want a simple tool to generate images.

= Is Artist Image Generator compatible with my WordPress theme? =
Yes, Artist Image Generator is fully compatible with any WordPress theme. It also provides SEO-friendly names and tags for the generated images to help improve your website's SEO. Learn more about using Artist Image Generator as a [WordPress AI featured image generator](https://artist-image-generator.com/ia-featured-images/).

= What types of image styles can I create with Artist Image Generator? =
Artist Image Generator allows you to create images in various styles, including art, painting, and realistic images. With the integration of [DALL·E-3 features](https://artist-image-generator.com/dalle-3-features/), you can now create even more diverse and creative images.

= Can I generate variations of an existing image with Artist Image Generator? =
Yes, you can generate variations of an existing .png or .jpg image by uploading it to Artist Image Generator and providing a description of the image. Keep in mind that the uploaded file must be a square PNG image less than 4MB in size.

= How can I get an OpenAI API key? =
You can sign up for an API key on the OpenAI website (<https://openai.com>). A free basic API key is sufficient to use the plugin, and you can later upgrade to OpenAI's paid service if needed.

= What image sizes are supported for generation? =
With DALL·E 2: 256x256, 512x512, or 1024x1024 pixels. With DALL·E 3: 1024x1024, 1792x1024, 1024x1792 pixels. Note that all generated images will be in a 1:1 (square) ratio.

= Can I generate more than 1 image using DALL·E 3 ? =
Now yes, the plugin support multitask.

= I forgot to save a generated image how can I do ? =
Now the plugin save all image generated through a local storage history (not saving in DB). You can retrieve the image and save it. It expires after 1H 

= Are there any limitations on image uploads? =
Yes, both the uploaded image and mask must be square PNG images less than 4MB in size.

= Are there any restrictions on image generation? =
Yes, DALL·E 2 and DALL·E 3 have restrictions on image creation and variations. It's essential to respect these restrictions when using the service. For an up-to-date list of what you can't do using DALL·E 2/3 service, please read the official links:
- [OpenAI - Blog post about restrictions](https://help.openai.com/en/articles/6338764-are-there-any-restrictions-to-how-i-can-use-dall-e-2-is-there-a-content-policy)
- [OpenAI - Content Policy](https://labs.openai.com/policies/content-policy)

= Are there any rate limitations for using the API? =
Yes, there are rate limits when using the OpenAI API. For more information, please read our article on [DALL-E and Artist Image Generator rate limits](https://artist-image-generator.com/dall-e-rate-limits/).

= How can I access Artist Image Generator from the WordPress Popup Media Manager? =
Artist Image Generator is seamlessly integrated with the WordPress Popup Media Manager. You can access it directly when editing pages, posts, or products. Simply click on the 'Add Media' button, and you'll find the Artist Image Generator option available for you to create or generate images on the spot.

= Can I use Artist Image Generator to illustrate pages, posts, and products? =
Yes, Artist Image Generator is a versatile tool that allows you to create unique and royalty-free images for various purposes. You can use it to illustrate pages, posts, products, or any other image-related functionality on your WordPress site.

= Can I generate custom avatars for users with Artist Image Generator? =
Yes, Artist Image Generator offers a shortcode feature that allows you to generate and set custom avatars for WordPress users. This feature serves as an alternative to Gravatar, WP Avatar, and the native WordPress avatar system. You can create a topic-based form on any page, allowing users to generate images and set them as their profile pictures.

= Is Artist Image Generator compatible with popular page builders like Elementor, Gutenberg, and Beaver Builder? =
Yes, Artist Image Generator is compatible with popular page builders such as Elementor, Gutenberg, Beaver Builder, WP Bakery, and more. This ensures a smooth user experience when creating and editing your WordPress site.

= Can I use Artist Image Generator with WooCommerce? =
Yes, Artist Image Generator is compatible with WooCommerce. You can use the plugin to generate unique product images, illustrate your online store, and enhance your customers' shopping experience.

= How can I stay updated on new features and improvements for Artist Image Generator? =
To stay updated on new features, improvements, and announcements related to Artist Image Generator, you can visit [our blog](https://artist-image-generator.com/blog/). We regularly publish articles on various topics, including tutorials, use cases, and tips for using Artist Image Generator effectively.

= Can I build a specific AI image generator tool with Artist Image Generator? =
Yes, you can build specific AI image generator tools using Artist Image Generator. For example, you can create a [Tattoo AI Generator tool on WordPress](https://artist-image-generator.com/tatoo-ai-generator-tool-wordpress/). The possibilities are endless, so feel free to explore and create.

= Is Artist Image Generator suitable for content creators, authors, and writers? =
Yes, Artist Image Generator is an ideal tool for content creators, authors, and writers who want to create unique and engaging visuals for their content. The plugin simplifies the process of generating relevant images based on text descriptions, making it easy for non-designers to enhance their content with AI-generated images.

= Can I use Artist Image Generator to create images for social media posts? =
Yes, you can use Artist Image Generator to create unique and eye-catching images for your social media posts. The plugin offers various image styles and dimensions, allowing you to create visuals that suit different social media platforms and their requirements.

= Can I generate images in bulk using Artist Image Generator? =
Artist Image Generator is primarily designed to generate images one at a time based on your text descriptions. However, you can quickly generate multiple images by providing different text prompts or variations, allowing you to create a diverse set of images for your content needs.

= How does Artist Image Generator benefit content creators and authors? =
Artist Image Generator helps content creators and authors by providing an easy-to-use, AI-powered solution for generating unique and relevant images for their content. This saves time and effort in searching for suitable images online and ensures that the visuals are royalty-free and tailored to the content.

= Can I use Artist Image Generator for creating visuals for my blog and articles? =
Yes, Artist Image Generator is perfect for creating visuals for your blog and articles. You can generate images that accurately represent your content, making it more engaging and visually appealing to your readers.

= Can I use Artist Image Generator to create images for print materials? =
While Artist Image Generator is primarily designed for digital content, you can use the generated images for print materials as well. However, please be aware that the image quality and resolution might not be optimal for high-quality print purposes. It is recommended to test the images before using them in print projects.

== Changelog ==
1.1.12 - 2024-11-30
- Bugfixes
- Update doc
- Reorder shortcode's sections
- Improve Product AI Image Customizer preview (1.0.7.3)

1.1.11 - 2024-08-11
- Add prebuilt gallery
- Add customer photo upload
- Product AI Image Customizer (1.0.7)

1.1.9 - 2024-08-11
- Stable Diffusion 3 + FaceSwapping
- Product AI Image Customizer (1.0.6)

1.1.9 - 2024-08-11
- Upscaling service
- Improvements on Product AI Image Customizer (1.0.5)

1.1.8.1 - 2024-08-04
- Improvment of limitation to treats parallels queries
- If credits are < balance, serve n images = maximum of balance

1.1.8 - 2024-08-04
- Credit Balance feature

1.1.7 - 2024-04-21
- Fix download link

1.1.6 - 2024-04-21
- Add uniqid attribute to shortcode
- Improvements

1.1.5 - 2024-04-21
- Update shortcode doc
- Update about tab

1.1.4 - 2024-04-13
- Update shortcode doc
- Update about tab

1.1.3 - 2024-03-29
- Add Mask download feature

1.1.2 - 2024-03-23
- Update French Translations
- Add public form param : user_limit
- Add public form param : user_limit_duration

1.1.1 - 2024-03-10
- Refacto

1.1.0 - 2024-03-08
- Update Translations
- Code improvements
- Checkup WP Best practices

1.0.19 - 2024-03-01
- Add dall-e-3 multi image generation
- Add history of generated images (expire 1h)
- Allow saving from history
- Minor improvements
- Code refactoring

1.0.18 - 2024-02-22
- Fix and migrate licence key
- Launch official website
- Add quality / style for dall-e-3 settings
- Compatibility with Simple Local Avatars 
- Compatibility with One User Avatar
- Minor improvements

1.0.17 - 2024-02-15
- Add plugin to 'gallery' media popup controller
- Improve display when switching between popup controller
- Add display to customize, profile, term, widgets medias managers
- Add tab labels (UX)
- Update translations EN / FR

1.0.16.2 - 2024-02-12
----------------------------------------------------------------------
- FLBuilder fix open modal, default refresh
- FLBuilder change script hook to wp_enqueue_media (sometimes tabs not appearing)
- Remove AIG tabs when controller != library, image-featured, insert
- Woocommerce compatibility
- Fix licencing

1.0.16.1 - 2024-02-11
----------------------------------------------------------------------
- Bugfixes

1.0.16 - 2024-02-11
----------------------------------------------------------------------
- Beaver Builder integration
- Edit & Compose feature
- Code Refactoring (Media Modal Router)
- Bugfixes


1.0.15 - 2024-02-02
----------------------------------------------------------------------
- Try to fix Apple Retina issues when using mask (edit)
- Fix Elementor style
- Fix duplicate loading fabric / cropper causing warning in console (improve perf)
- Bump vendors

1.0.14 - 2023-02-01
----------------------------------------------------------------------
- Fix available formats depending of DALLE model selected
- Elementor integration (pro feature)
- Bump vendors

1.0.13 - 2024-01-30
----------------------------------------------------------------------
- Update crop and draw libraries 
- Add Elementor integration
- Bug fixes

1.0.12 - 2023-12-13
----------------------------------------------------------------------
- Update WP profil picture via AI 
- Shortcode edit

1.0.11 - 2023-11-23
----------------------------------------------------------------------
- Support OpenAI Dall-e 3
- Bump vendors

1.0.10 - 2023-10-25
----------------------------------------------------------------------
- Add shortcode functionnality
- Bump vendors

1.0.9 - 2023-06-30
----------------------------------------------------------------------
- Fix error settings
- Fix error messages

1.0.8 - 2023-06-15
----------------------------------------------------------------------
- Refactoring
- Add pro version
- Add image edition feature

1.0.7 - 2023-02-24
----------------------------------------------------------------------
- Fix PHP Warning : "cannot modify header information"
- Fix Translations
- Fix JavaScript

1.0.6 - 2023-02-23
----------------------------------------------------------------------
- Fix template loading bug when clicking in the Image Generator's link (Medias > Image Generator)
- Improve Readme.txt to add new video and screenshots
- Remove old PHP templates

1.0.5 - 2023-02-22
----------------------------------------------------------------------
- Improve styling and responsive

1.0.4 - 2023-02-21
----------------------------------------------------------------------
- Add a crop functionnality and a .jpg conversion on the fly in the "Variate" tab to allow users using non square full size .jpg and .png file.

1.0.3 - 2023-02-19
----------------------------------------------------------------------
- Add new tabs to the media manager modal to use Artist Image Generator when writing a post

1.0.2 - 2023-02-18
----------------------------------------------------------------------
- Remove mixed type for options property

1.0.1 - 2023-02-18
----------------------------------------------------------------------
- PHP refactoring
- Add templating system using Wordpress's Underscore.js library for new features
- Improve responsiveness


1.0.0 - 2023-02-14
----------------------------------------------------------------------
- Initial release


