GPT-WEB-JAVA  by a616567126

Java chatbot/image-gen backend

created 2 years ago
770 stars

Top 46.2% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a comprehensive AI chatbot platform built with Java, targeting users who want to integrate various AI models like GPT, Midjourney, and Stable Diffusion into a web application. It offers features such as image generation, text moderation, payment gateway integration, and user management, aiming to be an all-in-one solution for AI-powered services.

How It Works

The platform leverages SSE WebSocket for streaming responses from AI models, enabling real-time interaction. It supports multiple AI models, including OpenAI's GPT (3.5, 4.0, DALL-E 3), Spark, Midjourney, and Stable Diffusion, with configurable API endpoints and model parameters. Image handling includes local or OSS storage with dynamic configuration and Nginx proxying for access.

Quick Start & Requirements

Highlighted Details

  • Supports GPT-4 vision capabilities for image recognition.
  • Integrates Midjourney with advanced features like /imagine, /describe, and account pooling.
  • Includes Stable Diffusion with model and LoRA selection, and upscaling.
  • Offers multiple payment options: YiPay, voucher codes, and WeChat Pay.
  • Provides user management with profile, role, and password settings.

Maintenance & Community

  • The project is sponsored by JetBrains for development tools.
  • The author encourages users to add them on WeChat for consultation and VIP group access for continuous updates.
  • A "Star" on GitHub is requested.

Licensing & Compatibility

  • License: Apache License 2.0.
  • Compatibility: Generally permissive for commercial use and integration with closed-source projects due to the Apache 2.0 license.

Limitations & Caveats

The project requires significant configuration for each AI service (GPT, Midjourney, Stable Diffusion) and image handling, including setting up proxies and specific API tokens. Some features like Midjourney integration rely on browser-based token retrieval, which can be fragile.

Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
12 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.