AI-Generated Website

This is a dynamic website that automatically generates unique HTML content for any path using multiple AI models via OpenRouter, randomly selected for each request.

How It Works

  1. Dynamic Content Generation: When you visit any path (e.g., /pizza, /space/exploration, /cooking/recipes), the website uses the path as context to generate relevant HTML content.

  2. Multi-Model AI Integration: Randomly selects from 5 different AI models for each request:

    • Qwen3 Coder (qwen/qwen3-coder:free) - Specialized coding model
    • Gemini 2.5 Flash Lite (google/gemini-2.5-flash-lite) - Fast and efficient
    • Horizon Beta (openrouter/horizon-beta) - Experimental cutting-edge model
    • GLM-4.5 Air (z-ai/glm-4.5-air:free) - Lightweight but powerful
    • DeepSeek R1 (deepseek/deepseek-r1-0528-qwen3-8b:free) - Reasoning-focused model
  3. Varied Content Styles: Each model has its own personality and approach, giving you diverse content styles and perspectives on the same topics.

    • Relevant content based on the path
    • Proper HTML structure with head, title, and body
    • Inline CSS styling
    • Navigation links to related pages
    • Interactive elements where appropriate
  4. Caching: Streaming responses for real-time content generation (no caching for dynamic experience).

  5. Error Handling: If content generation fails, a friendly error page is shown with navigation links.

Features

  • Infinite Content: Every path generates unique, contextually relevant content
  • Multi-Model Variety: 5 different AI models provide diverse content styles and approaches
  • Model Transparency: See which AI model generated each page (displayed in top-right corner)
  • Real-time Streaming: Content appears incrementally as it's generated for faster perceived loading
  • Navigation: Each page includes links to related pages for continued exploration
  • Responsive Design: Generated pages include mobile-friendly styling
  • Interactive Elements: Pages may include buttons, forms, or other interactive features
  • Family-Friendly: All content is appropriate and safe

Examples

Try visiting these paths:

  • / - Homepage
  • /pizza - Pizza-themed content
  • /space/exploration - Space exploration content
  • /cooking/recipes - Cooking and recipe content
  • /games/adventure - Adventure game content
  • /art/painting - Art and painting content

Technical Details

  • Framework: Vanilla TypeScript with Web APIs
  • AI Models: 5 different models via OpenRouter (randomly selected per request)
  • Streaming: Real-time content generation with HTTP streaming
  • Hosting: Val Town HTTP trigger
  • Error Recovery: Graceful fallback to error page
  • Model Display: Shows which AI model generated each page

The website demonstrates how multiple AI models can create diverse, dynamic web experiences with different personalities and approaches to the same content topics.