• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
armadillomike

armadillomike

beeAi

Public
Like
beeAi
Home
Code
3
README.md
frontend.html
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/14/2025
Viewing readonly version of main branch: v11
View latest version
README.md

BeeGPT - Bee-Themed AI Assistant

A fun, bee-themed wrapper for OpenAI's GPT models that adds bee personality, puns, and facts to AI responses, plus a bee-themed image generator.

Features

  • 🐝 Bee-themed UI with honeycomb styling
  • 🍯 AI responses with bee puns, facts, and personality
  • 💬 Simple chat interface
  • 🖼️ Bee-themed image generator
  • 🔄 Real-time responses

How It Works

BeeGPT uses OpenAI's API to generate responses and images, but adds a bee-themed personality layer through prompt engineering. The system includes:

  1. A backend API that communicates with OpenAI
  2. A bee-themed prompt that instructs the AI to respond with bee-related content
  3. A bee-themed image generator that enhances prompts with bee elements
  4. A frontend interface styled with bee colors and honeycomb patterns

Usage

Chat Tab

Simply type your question or request in the input field and press "Send" to get a bee-themed response from the AI.

Image Generator Tab

  1. Enter a description of the image you want to create
  2. Select your preferred image size (square, landscape, or portrait)
  3. Click "Generate Bee-utiful Image"
  4. The system will automatically enhance your prompt with bee-themed elements
  5. View, download, or generate a new image

Technical Details

  • Built on Val Town
  • Uses OpenAI's GPT models (gpt-4o-mini for chat)
  • Uses OpenAI's DALL-E 3 for image generation
  • Frontend built with HTML, CSS, and vanilla JavaScript
  • Styled with Tailwind CSS via CDN
  • Tabbed interface for switching between chat and image generation

API Endpoints

  • GET / - Serves the frontend HTML
  • POST /api/chat - Accepts a JSON payload with a message field and returns an AI response
  • POST /api/generate-image - Accepts a JSON payload with prompt and optional size fields and returns an image URL

Environment Variables

This project requires an OpenAI API key to be set in your Val Town environment variables.

License

This project is open source and available for anyone to use and modify.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.