import Link from "next/link" import { Button } from "@/components/ui/button" import { Sparkles, Zap, Palette, Shield, ArrowRight, Star } from "lucide-react" import { getPlatformStats, getFeaturedImages } from "@/lib/data" import { GalleryMasonry } from "@/components/gallery-masonry" export const dynamic = "force-dynamic" export default async function Home() { const stats = await getPlatformStats() const featuredImages = await getFeaturedImages(6) const features = [ { icon: Zap, title: "Lightning Fast", description: "Generate high-quality images in seconds. Our distributed AI infrastructure delivers blazing-fast results globally.", color: "text-amber-500", highlight: "< 20s generation" }, { icon: Palette, title: "Open Source Models", description: "Powered by the best OSS models—Flux, Stable Diffusion, Dreamshaper & more. Community-driven, constantly improving.", color: "text-blue-500", highlight: "10+ AI models" }, { icon: Shield, title: "100 Free Daily", description: "No subscriptions, no hidden fees. Get 100 free credits every day to create up to 20 stunning images.", color: "text-emerald-500", highlight: "Forever free" } ] return (
Create professional-quality AI art in seconds. Powered by Flux, Stable Diffusion, and cutting-edge models through our global edge network.
{/* CTA Buttons */}Check out what our community is creating right now.
Built for creators who demand speed, quality, and freedom.
{feature.description}
Join thousands of artists using Imyra. Get 100 free credits daily—no credit card required.