[3.2][3.3][RC] AI Labs with Midjourney, FaceSwap, PixVerse, Pika, Claude, ChatGPT, Gemini, DALL-E, Stable Diffusion

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
nikk106
Registered User
Posts: 53
Joined: Thu Jul 03, 2014 2:06 am
Location: Vancouver, BC

Re: [3.2][3.3][RC] AI Labs with ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by nikk106 »

[Deleted]
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][RC] AI Labs with ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by Miri4ever »

privet.fun wrote: Fri Jul 07, 2023 7:36 pm Q: AI answers to itself ?
A: No, due to internal implementation bots will not be able to talk to each other.
That's strange as they reply with another Bot ID even if they should not. Is there a way to exclude special user ID from any kind of reply of any bot?
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
amorino
Registered User
Posts: 55
Joined: Sat Jun 05, 2010 10:25 pm

Re: ny

Post by amorino »

privet.fun wrote: Fri Jul 14, 2023 11:08 pm
amorino wrote: Fri Jul 14, 2023 7:26 pm what settings do you advise for a better results 3.5-turbo-16k as I don't have the 4 for now ?
Changing setting very straightforward, you just need to update model name and mode maximum allowed tokens:
"model": "gpt-3.5-turbo-16",
"max_tokens": 16384,
amorino wrote: Fri Jul 14, 2023 7:26 pm If I pay GPT plus will I be able to get GPT4 do you think ?
Sorry, I have no idea.
I'd suggest asking OpenAI support to enable gpt-4 on your account.
Hello,
I finally have access to GPT-4
Can you please tellme what settings are you using for this model?
and especially max_tokens ? 16384 can be set for gpt-4 ?
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: ny

Post by privet.fun »

amorino wrote: Wed Aug 09, 2023 5:26 am Can you please tellme what settings are you using for this model?
and especially max_tokens ? 16384 can be set for gpt-4 ?
For gpt-4 you have two options: 8K model or 32K model.

Settings for 8K model:
"model": "gpt-4",
"max_tokens": 8192,

Settings for 32K model:
"model": "gpt-4-32k",
"max_tokens": 32768,
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

nikk106 wrote: Mon Jul 31, 2023 2:36 am Hello privet.fun,
Tried many times with different usernames and different forums. Every time I get an error message. What am I doing wrong?
I can only guess that something is blocking/altering post data when you're trying to save settings.
Do you have any other extensions installed by any chance, if so try to disable them and see if it help.
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][RC] AI Labs with ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by Miri4ever »

As Simple Mentions 2 still a problem with parsing the code inside the output from the AI I wanted to set up this quote things for the commands to appear. I setup a forum where quoted messages should be sent to the AI. But there is nothing happening at all with this setting.

I don't want to use reply as long I can't control on what topic this reply might be happening. Even if I set up reply to forum and quote, the AI complains that the content inside the Quote is empty. Only the text outside the quote will trigger results, but she should only trigger the Quote if I wanted to use. I even tested it on a clean testing forum and not got the result.

Even if just try to mention here, there is no action with this current setting inside my image.

When did we get the updates to use Leonardo.AI inside?
You do not have the required permissions to view the files attached to this post.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

Miri4ever wrote: Mon Aug 21, 2023 12:29 pm As Simple Mentions 2 still a problem with parsing the code inside the output from the AI I wanted to set up this quote things for the commands to appear. I setup a forum where quoted messages should be sent to the AI. But there is nothing happening at all with this setting.
Can you post (or PM) logs so I can try to troubleshoot?
Keep in mind that you have to quote AI bot, see example below

Code: Select all

[quote=bot_name user_id=bot_id]put your prompt here[/quote]
bot_name & bot_id required for phpbb notification system to pick Bot name and trigger AI to reply.
Miri4ever wrote: Mon Aug 21, 2023 12:29 pm When did we get the updates to use Leonardo.AI inside?
Long story shot - there will be no support for Leonardo.AI, I decided to go "mainstream" and add Midjourney support instead. Judging from my own board where hardly any usage for Leonardo.AI while Midjourney is very popular.

My attempts to create my own (home-grown API using php) for Midjourney were not very successful. I spent few weeks on this but had to give up, simply don't have time or resources for this.

I looked around and played with following Midjourney API (all unofficial):
- https://thenextleg.io $40/m, I had account with them but it was banned by Midjourney for "automating interactions" :(
- https://imagineapi.dev - tried cheapest account but gave up since it essentially requires installation on the server so not really going to work for me
- https://useapi.net $10/m straight hook to any Midjourney account from what I can tell, so far was stable and easy to use so this is my #1 choice so far

Most of work is done, just need to test before releasing it. Biggest change is that I added callback support to minimize open connections while waiting for useapi.net API to reply with results.
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

Version: 1.0.5 (October 1, 2023) changelog released with Midjourney support and ability to adjust quoted text for ChatGPT

Demo URLs:
Midjourney (added October 1, 2023)
ChatGPT (updated October 1, 2023)
ChatGPT, custom prompt
DALL-E
Stable Diffusion
Stable Diffusion by Leonardo AI, coming soon 🚀 also available as Telegram bot https://t.me/stable_diffusion_superbot

Extension Download: https://github.com/privet-fun/phpbb_ailabs
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

Midjourney examples:
1

Image

2

Image
mzperiksz
Registered User
Posts: 3
Joined: Fri Oct 27, 2023 5:06 pm

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by mzperiksz »

Hello,

I would like to try your extension, installed and configured but when i mentioning the bot always thinking.
I found this error in apache log:
"HEAD /ailabs/chatgpt?job_id=18&sid=45ae9ccd002004d146b7032dee754248 HTTP/1.0" 404 4942 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
Can you help me please?
Thanks
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

mzperiksz wrote: Fri Oct 27, 2023 5:12 pm Hello,

I would like to try your extension, installed and configured but when i mentioning the bot always thinking.
I found this error in apache log:
"HEAD /ailabs/chatgpt?job_id=18&sid=45ae9ccd002004d146b7032dee754248 HTTP/1.0" 404 4942 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
Can you help me please?
Thanks
Please check first https://github.com/privet-fun/phpbb_ail ... leshooting , do you see anything in the bot logs?
If you open in the browser <root>/app.php/ailabs/chatgpt or <root>/ailabs/chatgpt what do you see?
mzperiksz
Registered User
Posts: 3
Joined: Fri Oct 27, 2023 5:06 pm

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by mzperiksz »

Hello,

The extension call : /ailabs/chatgpt?job_id=19&amp;sid=82c5b86a2a8a3bc973e0605a454aeb14
Got answer form chatgpt when i call from browser : /app.php/ailabs/chatgpt?job_id=19&amp;sid=82c5b86a2a8a3bc973e0605a454aeb14
How can i solve this?
Thanks!

privet.fun wrote: Fri Oct 27, 2023 8:25 pm
mzperiksz wrote: Fri Oct 27, 2023 5:12 pm Hello,

I would like to try your extension, installed and configured but when i mentioning the bot always thinking.
I found this error in apache log:
"HEAD /ailabs/chatgpt?job_id=18&amp;sid=45ae9ccd002004d146b7032dee754248 HTTP/1.0" 404 4942 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
Can you help me please?
Thanks
Please check first https://github.com/privet-fun/phpbb_ail ... leshooting , do you see anything in the bot logs?
If you open in the browser <root>/app.php/ailabs/chatgpt or <root>/ailabs/chatgpt what do you see?
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

mzperiksz wrote: Sat Oct 28, 2023 5:47 am Got answer form chatgpt when i call from browser : /app.php/ailabs/chatgpt?job_id=19&amp;sid=82c5b86a2a8a3bc973e0605a454aeb14
Under ACP > Server Settings try to play with following settings:
- Enable URL Rewriting (this is the one where you can adjust app.php prefix)
- Force server URL settings

Let me know if that helped, this really should not be happening since the code supposedly takes into account both settings, I may have to revisit that code it this is not the case.
mzperiksz
Registered User
Posts: 3
Joined: Fri Oct 27, 2023 5:06 pm

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by mzperiksz »

Hello,

I tried both without success, i tried with rewrite in apache config and .htaccess with the same results.
After i modified the acp_controller.php
from this
protected $desc_contollers = [
'/ailabs/chatgpt',
to this:
protected $desc_contollers = [
'/app.php/ailabs/chatgpt',
work like a charm.
Whats wrong with my phpbb? :shock:

Thanks

privet.fun wrote: Sat Oct 28, 2023 6:18 pm
mzperiksz wrote: Sat Oct 28, 2023 5:47 am Got answer form chatgpt when i call from browser : /app.php/ailabs/chatgpt?job_id=19&amp;sid=82c5b86a2a8a3bc973e0605a454aeb14
Under ACP > Server Settings try to play with following settings:
- Enable URL Rewriting (this is the one where you can adjust app.php prefix)
- Force server URL settings

Let me know if that helped, this really should not be happening since the code supposedly takes into account both settings, I may have to revisit that code it this is not the case.
User avatar
privet.fun
Registered User
Posts: 98
Joined: Sun May 07, 2023 8:46 pm
Location: https://privet.fun

Re: [3.2][3.3][RC] AI Labs with Midjourney, ChatGPT, DALL-E (OpenAI) and Stable Diffusion (Stability AI) support

Post by privet.fun »

Thank you for sharing mzperiksz! It's been many years since I used Apache last time.

Return to “Extensions in Development”