'use client'; import { useState, FormEvent } from 'react'; export default function Home() { const [email, setEmail] = useState(''); const [status, setStatus] = useState<'idle' | 'loading' | 'success' | 'error'>('idle'); const [message, setMessage] = useState(''); const handleSubmit = async (e: FormEvent) => { e.preventDefault(); setStatus('loading'); // TODO: Replace with actual API endpoint setTimeout(() => { setStatus('success'); setMessage("You're on the list! Check your email for beta access details."); setEmail(''); }, 1000); }; return ( <> {/* Hero Section */}
Now in Closed Beta

Your AI Image Generation API Ready in 60 seconds

Developer-first API for AI-powered image generation.
Transform text and reference images into production-ready visuals.

{/* Email Capture Form */}
setEmail(e.target.value)} placeholder="your@email.com" required disabled={status === 'loading' || status === 'success'} className="flex-1 px-6 py-4 rounded-xl bg-white/5 border border-white/10 text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent backdrop-blur-sm disabled:opacity-50" />
{status === 'success' && (

{message}

)}
{/* Quick Feature Pills */}
⚡ RESTful API 🎨 Reference Images 🧠 Auto Prompt Enhancement 🔐 Enterprise Security
{/* Code Example Section */}
Quick Start
              {`curl -X POST https://api.banatie.com/generate \\
  -H "X-API-Key: YOUR_KEY" \\
  -F "prompt=futuristic city at sunset" \\
  -F "filename=city"

# ✅ Response in ~3 seconds
{
  "success": true,
  "url": "https://cdn.banatie.com/city.png"
}`}
            
{/* Features Grid */}

Built for Developers, Powered by AI

{/* Feature 1 */}
🚀

Instant Integration

Clean REST API that works with any stack. From hobbyist to enterprise, start generating images in minutes.

{/* Feature 2 */}
🎯

Reference-Guided Generation

Upload up to 3 reference images alongside your prompt. Perfect for brand consistency and style matching.

{/* Feature 3 */}

Smart Prompt Enhancement

AI-powered prompt optimization with language detection. Get better results automatically.

{/* Feature 4 */}
🔐

Enterprise-Ready Security

API key management, rate limiting, multi-tenant architecture. Built for production from day one.

{/* Feature 5 */}

Dual AI Models

Powered by Google Gemini 2.5 Flash and Imagen 4.0. Automatic fallback ensures reliability.

{/* Feature 6 */}
📦

Organized Cloud Storage

Automatic file organization by org/project/category. CDN-ready URLs for instant delivery.

{/* CTA Section */}

Join the Beta Program

Get early access, shape the product, and lock in founder pricing.

Request Beta Access
); }