Thanks to visit codestin.com
Credit goes to github.com

Skip to content
@GMIC-Helios-Team

GMIC-Helios-Team

Project Logo

Helios Gallery Project - helios.gallery

Project Summary

The Helios Gallery Project is an interactive, AI-driven web application designed to generate and share custom images based on user input. Built with a dynamic user experience, the application offers image generation with custom themes, a playful Rock-Paper-Scissors game, and a gallery to view, like, and rank generated images. It leverages multiple integrations and technologies, including N8N workflows for automation, MongoDB for data storage, SendGrid for emailing, and RabbitMQ for queuing tasks.

DigitalOcean Docker Caddy RabbitMQ N8N MongoDB OpenAI SendGrid PostHog Grafana Alloy

Documentation Library

Endpoints

/webhook/MakeDesign

sequenceDiagram
    participant User
    participant Webhook as Webhook (/MakeDesign)
    participant Code as Code (Validate Input)
    participant If as If (Input Valid?)
    participant Filenames as Set Filenames
    participant OpenAI as OpenAI (Generate Design)
    participant EditImage as Edit Image
    participant UploadImage as Upload Image to S3
    participant UploadThumbnail as Upload Thumbnail to S3
    participant RespondWebhook as Respond to Webhook (200)
    participant BadRequest as Respond to Webhook (400)
    participant Discord as Discord (Send Image)

    User->>Webhook: POST /MakeDesign with name and prompt
    Webhook->>Code: Pass request body
    Code->>If: Return validation result
    If->>Filenames: Input valid
    Filenames->>OpenAI: Set filenames and send prompt
    OpenAI->>EditImage: Generate design
    EditImage->>UploadThumbnail: Resize and upload thumbnail
    UploadThumbnail->>RespondWebhook: Send 200 OK with image filenames
    OpenAI->>UploadImage: Upload image
    UploadImage->>RespondWebhook: Send 200 OK with image filenames
    RespondWebhook->>Discord: Send image URL to Discord
    
    If->>BadRequest: Input invalid
    BadRequest->>User: Return 400 Bad Request
Loading

/webhook/TestPrompts

Use this endpoint to help refine images. Generated Images to upload to [Discord Channel : image-gen-dev]

sequenceDiagram
    participant User
    participant Webhook as Webhook (/TestPrompts)
    participant Code as Code (Validate Input)
    participant If as If (Input Valid?)
    participant SetFilenames as Set Filenames
    participant OpenAI as OpenAI (Generate Test Image)
    participant UploadImage as Upload Image
    participant RespondWebhook as Respond to Webhook (200)
    participant BadRequest as Respond to Webhook (400)
    participant Discord as Discord (Send Image)

    User->>Webhook: POST /TestPrompts with name and prompt
    Webhook->>Code: Pass request body
    Code->>If: Return validation result
    If->>SetFilenames: Input valid
    SetFilenames->>OpenAI: Set filenames and send prompt
    OpenAI->>UploadImage: Generate and upload image
    UploadImage->>RespondWebhook: Send 200 OK with image filename
    UploadImage->>Discord: Send image URL to Discord

    If->>BadRequest: Input invalid
    BadRequest->>User: Return 400 Bad Request
Loading

Pinned Loading

  1. .github .github Public

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…