Test site for the latest version of the main Unity AI Lab website
This repository contains the development and testing environment for the Unity AI Lab website, along with complete implementations of Pollinations.AI client libraries in both JavaScript and Python.
Unity AI Lab explores the cutting edge of AI technology, providing tools and libraries for interacting with various AI models through the Pollinations.AI platform. This test site serves as a sandbox for developing and validating new features before deployment to the main Unity AI Lab website.
UnityAILab - The Dark Side of AI
The website features:
- Gothic-themed dark UI design
- Interactive AI demonstrations
- Real-time AI-powered chat and image generation
- Showcase of PolliLibJS and PolliLibPy capabilities
- Comprehensive documentation and examples
Live Site Structure:
index.html- Main landing pageabout/- About page with project informationai/- AI chat landing pageai/demo/- Interactive AI demo (~90% complete, ~8,000 lines of code)apps/- Mini applications gallery (~70% complete)styles.css- Custom styling with dark gothic themescript.js- Interactive functionality and AI integrations
π Docs
Complete API documentation for Pollinations.AI:
- API endpoint specifications
- Authentication methods (referrer-based and bearer token)
- Rate limits and access tiers
- Request/response formats
- Available models and capabilities
π¨ PolliLibJS
JavaScript/Node.js library for Pollinations.AI:
- Text-to-Image generation
- Text-to-Text (chat, content generation)
- Text-to-Speech (TTS)
- Speech-to-Text (STT)
- Image-to-Text (vision/analysis)
- Image-to-Image transformations
- Function calling capabilities
- Streaming mode for real-time responses
- Exponential backoff retry logic
π PolliLibPy
Python library for Pollinations.AI (mirrors PolliLibJS functionality):
- All features from PolliLibJS
- Python-idiomatic API design
- Class-based architecture
- Dictionary-based configuration
- Compatible with Python 3.7+
git clone https://github.com/Unity-Lab-AI/sitetest0.git
cd sitetest0cd PolliLibJS
npm install
node pollylib.js # Test connectionSee PolliLibJS/README.md for detailed usage.
cd PolliLibPy
pip install requests
python pollylib.py # Test connectionSee PolliLibPy/README.md for detailed usage.
# Serve the website using any static file server
python -m http.server 8000
# or
npx serve .
# Then open http://localhost:8000 in your browsersitetest0/
βββ Docs/ # Documentation hub
β βββ TODO/ # Project planning and TODO lists
β β βββ TODO.md # Main project roadmap β START HERE
β β βββ website-TODO.md # Website tasks (~90% complete)
β β βββ demo-page-TODO.md # Demo page tasks (~90% complete)
β β βββ main-app-TODO.md # Main app (external, reference only)
β β βββ infrastructure-TODO.md # Infrastructure (not applicable)
β β βββ TODO_EXTRAS.md # Additional tasks
β βββ Pollinations_API_Documentation.md # Complete API reference
β βββ API_COVERAGE.md # Implementation status
β βββ TEST_GUIDE.md # Testing procedures
β βββ TEST_RESULTS.md # Test results
β βββ PERFORMANCE_AUDIT.md # Performance metrics
β βββ SEO_IMPLEMENTATION.md # SEO details
β
βββ PolliLibJS/ # JavaScript library (~3,700 lines)
β βββ README.md # Library documentation
β βββ TODO.md # β
100% complete
β βββ pollylib.js # Core library
β βββ ... (14 modules total)
β
βββ PolliLibPy/ # Python library (~5,700 lines)
β βββ README.md # Library documentation
β βββ TODO.md # β
100% complete
β βββ pollylib.py # Core library
β βββ ... (13 modules total)
β
βββ ai/ # AI Chat Section
β βββ index.html # AI landing page (~95% complete)
β βββ demo/ # Interactive demo (~90% complete)
β βββ index.html # Demo page
β βββ demo.css # Demo styles (59KB)
β βββ demo.js # Demo functionality (149KB)
β βββ age-verification.js # Age verification system
β βββ unity-persona.js # Unity persona integration
β βββ ... (8,000+ lines total)
β
βββ apps/ # Mini apps gallery (~70% complete)
β βββ ... (various utilities and mini apps)
β
βββ about/ # About page
βββ services/ # Services page
βββ projects/ # Projects page
βββ contact/ # Contact page
βββ index.html # Main landing page
βββ styles.css # Main stylesheet
βββ script.js # Main JavaScript
βββ CLAUDE.md # β AI assistant guide (v1.4.0)
βββ README.md # This file
Both libraries are feature-complete and provide:
β Model retrieval and querying β Text-to-Image generation with multiple models β Text-to-Text chat and generation β Text-to-Speech synthesis β Speech-to-Text transcription β Image-to-Text (vision) analysis β Image-to-Image transformations β Function calling / tool use β Streaming mode for real-time responses β Seed-based deterministic generation β Exponential backoff retry logic β Safety filtering controls β Reasoning mode controls
- Interactive AI Demo: Full-featured demo at
/ai/demo(~90% complete)- Text-to-text chat with multiple AI models
- Text-to-image generation (6 image models)
- Text-to-speech with 6 voices
- Unity persona with custom system prompts
- Age verification system
- ~8,000 lines of implementation code
- Apps Gallery: Mini applications and utilities at
/apps(~70% complete) - Dark Gothic UI: Immersive dark-themed interface
- Responsive Design: Works on desktop and mobile devices
- Cache Busting: Automated version control for assets
Both libraries use referrer-based authentication with the default referrer s-test-sk37AGI (Seed tier - free).
Access tiers:
- Anonymous: 1 request / 15s (no signup)
- Seed: 1 request / 5s (free registration) - Default
- Flower: 1 request / 3s (paid)
- Nectar: No limits (enterprise)
This is a test site for validating:
- New Pollinations.AI features
- Library implementations across languages
- UI/UX improvements
- Documentation updates
- Performance optimizations
Changes tested here are promoted to the main Unity AI Lab website after validation.
- β AI Assistant Guide: CLAUDE.md - Complete development guide (v1.4.0)
- β Project Roadmap: Docs/TODO/TODO.md - Master TODO and project status
- API Documentation: Docs/Pollinations_API_Documentation.md
- JavaScript Library: PolliLibJS/README.md
- Python Library: PolliLibPy/README.md
- API Coverage: Docs/API_COVERAGE.md
- Test Guide: Docs/TEST_GUIDE.md
- Test Results: Docs/TEST_RESULTS.md
- Performance Audit: Docs/PERFORMANCE_AUDIT.md
- SEO Implementation: Docs/SEO_IMPLEMENTATION.md
- Pollinations.AI Official Documentation
- Pollinations.AI Authentication Portal
- Unity AI Lab Main Website
This is a test environment for the Unity AI Lab project. Contributions are welcome:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly (this is a test site!)
- Submit a pull request
This project follows the licensing of the parent Unity AI Lab organization.
- Test Environment: This site is for development and testing purposes
- Stability: Features may be experimental or incomplete
- Rate Limits: Default Seed tier rate limits apply (1 req/5s)
- Watermarks: Free tier images may have watermarks (starting March 31, 2025)
Made with β€οΈ for Unity AI Lab using Pollinations.AI
Exploring the dark side of AI. Pushing boundaries, breaking limitations.