/** * AI Generation page — prompt-to-shader interface. * Stub for M5 — shows UI with "coming soon" state. */ import { useState } from 'react'; import { useAuthStore } from '@/stores/auth'; import { Link } from 'react-router-dom'; export default function Generate() { const { isAuthenticated, user } = useAuthStore(); const [prompt, setPrompt] = useState(''); return (
Describe what you want to see and let AI write the shader for you.
AI generation is coming in M5. For now, use the{' '} editor{' '} to write shaders manually.
{isAuthenticated() && user && (Credits remaining: {user.ai_credits_remaining}
)}