73 comments found.
Hi, what is exactly the extended licence, how much does it cost and where can we get it ? Thanks. Unfortunately I did not see the option to choose the extended license for the product and ended up buying the regular license. I have sent the case information to contact Envato support so they can help me upgrade to the license I need. My project is to sell memberships to users who want to generate AI images from my website, do I need anything else from you CodeIsAwesome to solve this issue I had?
Hey Wilsonb15!
First of all, thanks for choosing AI Image Pro!
Extended license is used for websites that resell the features that the plugin provides to other users (not resell the plugin itself). So for your use case an extended license is required and the team at Envato memberships can help you with upgrading your license.
Let me know if you have any questions, anytime!
Okay thank you very much for your clarification regarding the AI Image Pro extended license. I am working with the generator inserted in the front-end of my website but I have a problem. Despite logging in with a test user I get the WordPress notice “Sorry, you do not have permissions to access this page.” Even though I activated the option to use the plugin on the front-end. Please I need help. Thank you…
Hey!
Always welcome 
Regarding your question, what role does the user that you created have? (Author, Editor, etc)
Hello thank you very much for your reply! The user role created is subscriber, it’s weird to me because I selected the “Any” option so that all roles can use the image generator.
Hey! 
AI Image Pro uses the built-in WordPress image library to store the images and make the experience as native as possible.
This means that, a user has to have permission to create images and save them inside the image library, and a “Subscriber” role can’t do that. Your users will need to have at least “Author” or “Editor” role in order to access the editor in the frontend.
An Author can only see the images that they create (not everyone else’s), so I would encourage you to use it.
Please let me know if you have any more questions.
Hey, thanks a lot for your help, I assigned the author role to the user created for testing and with this role he can see and use the image generator from the front-end. Thank you very much I have solved this problem
Now I just want to ask you one last thing, how do you insert the information of the amount of credits that the users have so that this information can be seen in the same image generator. I didn’t understand well how to insert the option to see the credits and assign them to the users. Today I am going to upgrade my regular license to extended license and I want to configure the subscriptions part to sell subscription plans.
Hey!
I’m glad to hear that this problem is now fixed 
Regarding displaying the credit of the user, to do that you will need to pass in a shortcode flag “show_credits” like the following:
[ai_image_pro show_credits=”1”]
You can find many other useful flags that allow you to configure the editor in the PDF that comes with the plugin, so make sure to check it out 
Have a great day!
Hello, I’m thinking about buying your plugin, I’m mainly interested in the Crop function – cropping images. It is possible to set your plugin so that the crop is preset to, for example, 2:3. Furthermore, when entering the crop function, I saw in some video that the photo is huge and I have to use the mouse wheel to make it smaller. Is there any way to preset this? Thanks for the information.
Hey!
Thanks for your interest in AI Image Pro!
I can add the cropping presets in the next update of the plugin.
I’m not sure what do you mean about “presetting a huge photo” (your second question). Can you please elaborate more?
Looking forward to hearing from you.
Hello, thank you for your reply. Crop is essential for me, if this feature is not there now I can’t use it fully. I need all cropped photos to be the same size. When is the next update please? As for the second question – if he added a photo, for example, 600px high, using the Import button in the video, then this photo cannot be seen in its entirety, he must use the mouse wheel to reduce it. It’s quite unwieldy to control. I hope I explained it well
The next release will be sometime during the next week.
Thanks for clarifying this point, I add this improvement also to my list. 
Thank you for your reply, can you please inform me when the change is made? Thank you.
sure will keep you posted on that.
possible in the future that you might add this API https://stablediffusionapi.com/ ??
Thanks for the suggestion! I added it to my research list and will look into it.
If you add this I will be a buyer
alright! will keep you updated 
any word on this have you looked into this api? I really feel this would improve the worth of this script I hope you agree author
Hey! 
I’m still having that on my list of items to research to see how it fits into the plugin and what features to support.
Here is the proof 
I will keep you updated regarding that.
Can i use my own installation of Stable Diffusion?
Hey!
Thanks for your interest in AI Image Pro!
This is not supported, the plugin only supports APIs from Stability.ai currently.
Let me know if you have any other questions.
need Midjourney API
Hey!
Thanks for your interest in AI Image Pro!
Midjourney didn’t implement API yet. I will integrate it once they do that.
Hi, after connecting with the api, can i allow not registred or logged in users to access the tool and generate images, i will be paying for it and does it allow you to remove the watermark AI Image Pro, i just wanted to be plain clear. Thanks in adavnce and it looks a great tool.
Hey! Thanks for your interest in AI image pro!
The plugin doesn’t allow non-logged in users to generate images. A user has to be logged-in to use the image generator.
Regarding hiding the logo, that is possible.
Let me know if you have any other questions.
Thanks for the super quick response, I got the plugin. Cheers!
Thanks for choosing AI Image Pro 
unfortunately the shortcode settings height=”100%” width=”100%” do not work, how can I make the editor fit to screen
Hey!
First of all, thanks for purchasing AI Image Pro!
For the height and width to stretch to 100%, the container of the editor has to also have a width & height of 100%.
You can achieve that by adjusting the template on WordPress (if your theme supports that) to create a wide page and then add the shortcode in it.
Please give that a try and let me know.
Have a great day! 
Great job with the plugin! Thank you for your help problem solved, I’ve been using since yesterday and I’ve already fallen in love with the product, do you plan to maybe introduce runaway photo animation options in the future? Additionally, I don’t know if you’ve seen the diffusion logo, but it would be cosseting to see it in your release after the API.
Have a great day! 
{code while calling stability ai\”,\responseBody\ specified engine (ID stable-inpainting-512-v2-0) was not found.\\\”,\\\name\\\}}

Hey!
I’m very glad that you enjoy using the plugin 
Runwaml was not on my radar, but I will add it to my research list
What do you like from their features and would see fit in this plugin?
Stable diffusion is already integration into the plugin, and the error you got is because Stablility AI just refreshed their APIs and removed the old inpainting model. I will add the new inpainting models in the next version of the plugin which should be there very shortly.
Have fun using the plugin!
By the way, the issue with inpainting (image editing) has been fixed in the release i did yesterday. 
thank you <3
support user generating photo for free?
Hey!
Thanks for your interest in AI Image Pro.
This feature is not supported.
Please let me know if you have any further questions.
Hey
I’m using this plugin.
But I need to show images in the editor without saving attachments in WordPress.
When I save this image, then this image is saved in WordPress.
Could you please help me with this?
Thanks
Hey!
Thanks for using AI Image Pro 
Due to how WordPress works, you can’t really use an image or inject it into a post without storing this image somewhere, so there is no where around that unfortunately.
Trying to use your demo on mobile is next to impossible
Thanks for your comment! Unfortunately because it’s an image editor, it needs much space so viewing it on the mobile would not be the best. I will be doing mobile UI improvements in the future (added to todo) to improve that. Have a great day!
Hi, I bought this plugin and it looks cool! I just have one question, when people are not logged in, the page automatically load the standard Wordpress login page. I got a frontend login page and would like it to redirect to that page, is that possible?
Alternatively, not showing the Wordpress login page as it is backend and instead display a text like “you need to log in to be able to use this tool, you can log in here: LINK” Is this possible?
I also got a question on how to use the credit feature, I tested to add credits to users but the credits did not run out even when creating pictures. Is there any info about how to use the credit feature?
Hey!
Thanks for buying AI Image Pro!
The login page redirect feature is not available now, but It’s a very good idea. I will add it to my todo list 
Credits work only for users that are not admins. You might have tested the credits with an admin user, that’s why the credit didn’t decrease, but for non-admin users, the credit should be decreased and each image generation will cost 1 credit.
I hope this helps you. Have a great day!
Okey, thanks!
Do you have any plan on integrating Midjourney as an option?
I really hope to see Midjourney implementing an API for their service so i can integrate it. I’m not really sure why they do that.
I will keep waiting for it and will definitely integrate it once it’s there 
Hey! I have added the login redirect feature in the latest release of the plugin. You can configure that in the settings page. Enjoy 
Hi, I purchased your great plugin.
However when I try to use stability a.i. I get a pop up with this as part of the error message: The specified engine (ID stability-diffusion-512-v2-1) was not found
it doesn’t mattter which stability engine I use. Dall-e works fine.
Please help 
Hey,
First of all, thanks you for purchasing AI Image Pro!
Regarding your question, Stability AI has retired that model a few days ago (v1.5) and replaced it with (v1.6).
I updated the plugin with the latest models yesterday, please download it and install it on your website and it should fix that.
Have a great weekend 
Thanks
is it possible to use this theme with stable diffusion but as opposed to using stability ai. I want to use my gpu to handle image processing via the automatic 1111 api on my local machine
Hey!
Thanks for your interest in AI image Pro.
Unfortunately, this is not supported, to use the plug-in you have to have a Stability.ai API key.
Please let me know if you have any other questions, and have a great day!
Hi apparently DALLE3 is now integrated in Open AI API. can we use it in your plugin please ? Thanks a lot
Hey!
I’m currently integrating it into the plugin and it will be available very soon 
great ! looking forward 
Hi,
here is the issue we still have : Can you create a interface to easily change this?
We display your tool in the frontend. The problem is that the colours used (violet, black) does not fit our design. How can we easily change the design (colours) of your tool?
Thanks!
Hey!
I will add that to my list for future releases. But if you want a fast solution you can easily change the style in the css file directly in that file:
ai-image-pro/assets/css/editor.css
Have a great day! 
Btw Dalle 3 support has been added today to the plugin, enjoy 
Hello Sir
Good Morning
I have purchased this plugin and installed it in my WordPress.
It’s working properly If I log in as admin, it also shows up in the frontend, but when I show this tool in the frontend as another role it’s not working.
Also, I have set all the settings in the plugin
So could you please help me with this?
Thanks
hey! 
Did you set the “Enable in Frontend For Role” setting on the settings page to the role of the user that you want to have access to the editor?
Yes, I have enabled this option. Also, select the user role ‘Any’.But I need to show the tool to all users
Role ‘Any’ is selected but not working for other users Could you please help regrading this?
Hey!
Are the other users that are trying to use the editor logged in? They have to be logged in to see the editor, otherwise they can’t use it.
Looking forward to hearing from you.
Yes , That users are logged in ! But not see editor
Can you give me access to your website to check the problem myself?
Please feel free to share the credentials or log with me via email:
codeisawesome.hq [at] gmail.com
Looking forward to hearing from you.
Sure I’ll send
I have sent credentials on your email Please check and update me
Hey! I have responded to your email regarding the credentials. Can you please give me admin access ?
Could you please hit /wp-admin after logging in? So you can access WordPress admin
Sent you an email 
Thank You I’ll check
Hey ! I found the issue to be caused by theme
Good to hear you found out the problem.
is there saas version ?
Hey
Thanks for your interest in AI Image Pro!
The plugin allows you to set credit for your users and show the editor on frontend. So yes you can provide it as a SaaS to your users, but the plugin doesn’t handle payments, so you will need to integrate it with another member management plugin to handle this.
Please let me know if you have any more questions.
We are currently testing the front-end image generation, but it appears that when a user attempts to import an image, they can access the entire media library. Is there a way to disable the import button and only allow uploads from the user’s computer file system? Additionally, can we enable the option to download the generated image without saving it to the media library? The front-end functionality of the plugin is valuable, and disconnecting it from the media library would be beneficial. With many customers generating numerous images, this would prevent overloading the media library and conserving disk space for unused images.
Hey!
First of all, thanks for purchasing AI Image Pro!
AI Image Pro uses the built-in WordPress image library to store the images and make the experience as native as possible. Unfortunately there is currently no option to switch the plugin to avoid using the built-in library as it’s tightly integrated with it.
What you can do is to change the “Enable in Frontend For Role” to “Author” on the settings page of AI Image Pro. This will limit the users to only see the images that they added to the library.
Tip: Any admin account will be able to see all images in the whole library. So in order to test this option, create a new user with the “role” = “Author” and login with it into your website and open the AI Image Pro editor on the frontend. In this case you will only see the images that you created.
Please let me know if you have any more questions.
Have a great weekend!
Hi and thanks for your reply, I tried to allow the authors to use the front end tool and tested with an user having the author rights but I can see all the medias in the library when importing.
Have a nice week-end too
Sure, you are very welcome. I’m always here to help. 
Do you have any plugin that alters the user rights/permissions installed?
Can you give me access to your website to check the problem myself?
Please feel free to share the credentials or log with me via email:
codeisawesome.hq [at] gmail.com
Looking forward to hearing from you.
Hi, I Googled and found the following function that is working fine for hiding the others’ medias. Here it is if can help :
add_filter( ‘ajax_query_attachments_args’, ‘wpsnippet_show_current_user_attachments’ ); function wpsnippet_show_current_user_attachments( $query ) { $user_id = get_current_user_id(); if ( $user_id && !current_user_can(‘activate_plugins’) && !current_user_can(‘edit_others_posts’)) { $query[‘author’] = $user_id; } return $query; }
Have a nice Sunday
Hey!
Thanks for googling that 
The thing is, this functionality is already integrated into AI Image Pro, and I suspect that there might be a conflict with another already installed plugin on your website that prevents it from working.
If it’s not possible to give me access to your website, I’d encourage you to do this:
Can you go through the plugins that you have installed, one by one disable each one and then check whether the library works as expected (using a user with “Author” permission), if it doesn’t work then reenable the plugin and disable the next plugin and check, etc until you check them all.
Hopefully this will point us in the right direction. Please let me know how it went.
Have a great Sunday as well!
why you dot show how to implement Credits in frontend. If enabled, users will only be able to generate images if they have credit. User credit will be read from the following user meta keys: ai_image_pro_dalle_credits no info how to do and where to do thanks
Hey!
Excuse me but I don’t really understand your question. 
Can you please elaborate more?
documentation how to use ai_image_pro_dalle_credits
You can get the amount of credit a user has using the following function call:
get_user_meta($user_id, ‘ai_image_pro_dalle_credits’, true);
$user_id it the id of the user.
And for stable diffusion you can use: get_user_meta($user_id, ‘ai_image_pro_stable_diffusion_credits’, true);
If you want to set/increase the user credit, you can use the following hooks:
do_action(‘ai_image_pro_increase_user_credit’, [ ‘user_id’ => 3, ‘credit_amount’ => 10, ‘credit_type’ => ‘dalle’]);
or:
do_action(‘ai_image_pro_set_user_credit’, [ ‘user_id’ => 3, ‘credit_amount’ => 10, ‘credit_type’ => ‘dalle’]);
One for increasing the credit of a user, and the other for setting it to a specific value. “credit_type” can either be “dalle” or “stable_diffusion”.
I hope this helps!
hi, how to disable password required? i mean login page to use app in frontend thanks
Hey!
It’s not possible to disable requiring logging in to use the fronend editor. All credit system, image saving need a user to be linked to, that’s why a user has to be logged in to use this feature.
Have a great day!
I installed the plugin in 10mn and all is working perfectly, really great … do you have an example of code to include in a function to update the credit amount of an user ? Thanks
Great to hear that everything is working as expected 
I’m not sure what you mean by including a function to update credit. Do you want to do that as part of integration with another plugin?
Yes, I would like to add a function triggered when my membership plugin is renewing à subscription, I have the hook for that and if you can share an example this will let me win a lot of time.
I will add a handy function for you to do that in the plugin. 
Hey!
I’ve added hooks for you to change the credit of users. You can either use:
do_action(‘ai_image_pro_increase_user_credit’, [ ‘user_id’ => 3, ‘credit_amount’ => 10, ‘credit_type’ => ‘dalle’, ]);
or:
do_action(‘ai_image_pro_set_user_credit’, [ ‘user_id’ => 3, ‘credit_amount’ => 10, ‘credit_type’ => ‘dalle’, ]);
One for increasing the credit of a user, and the other for setting it to a specific value. “credit_type” can either be “dalle” or “stable_diffusion”.
Please install the latest version of plugin and give it a try. 
Really great, many thanks again for your support, will give it a try asap