Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

created a user interface using Next.js. #330

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

DHAPARK
Copy link

@DHAPARK DHAPARK commented Jan 15, 2024

I created the interface just in case a user might need a web page. I have the existing server with valid accounts running first, and then I run the newly created web frontend page. The backend and frontend are compatible, so when the frontend sends an image generation prompt to the backend within a request, the backend processes it and sends the image URL back to the frontend. The web page refreshes every second, and the image will be displayed. Additionally, I've set it up to allow image downloads under the "public" directory.

For more detailed information, please refer to the README.md file, and you can find the usage commands there as well.

我创建了这个界面,以防用户可能需要一个网页。我首先启动了具有有效帐户的现有服务器,然后运行了新创建的Web前端页面。后端和前端是兼容的,因此当前端将图像生成提示包含在请求中发送到后端时,后端会处理它并将图像URL发送回前端。网页每秒刷新一次,图像将会显示。此外,我已设置允许在“public”目录下进行图像下载。

有关更详细的信息,请参阅README.md文件,您可以在其中找到使用命令。

@HappyDongD
Copy link

hi @DHAPARK , can we discuss ? [email protected]

@DHAPARK
Copy link
Author

DHAPARK commented Feb 19, 2024 via email

@uluckyXH
Copy link

哇你真的好贴心,提问题还附带了中文,方便查看,真好。

Wow, you are really thoughtful, including Chinese for easier understanding, that's great.

@spammenotinoz
Copy link

Great work, I will need to modify to support different endpoint and API key, but will test it.
I currently use https://github.com/ConnectAI-E/MidJourney-Web has been a good reliable front-end, only downside I have found is no error handling.

@DHAPARK
Copy link
Author

DHAPARK commented Apr 4, 2024

Great work, I will need to modify to support different endpoint and API key, but will test it. I currently use https://github.com/ConnectAI-E/MidJourney-Web has been a good reliable front-end, only downside I have found is no error handling.

这正是我在找的,非常感谢您的告知。我一直担心没有合适的网页是否需要亲自进行前端开发,幸运的是您告诉了我这个好项目。

This is exactly what I was looking for, thank you very much for letting me know. I was worried about having to do front-end development myself due to the lack of appropriate web pages, but I'm relieved to hear about such a good project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants