Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Image } from "@/mui-treasury/components/ai-image/ai-image"const svg = '<svg width="512" height="384" viewBox="0 0 512 384"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#6366f1"/><stop offset="1" stop-color="#ec4899"/></linearGradient></defs><rect width="512" height="384" fill="url(#g)"/><circle cx="380" cy="110" r="48" fill="#fde68a"/><path d="M0 300 L150 180 L270 280 L340 230 L512 330 L512 384 L0 384 Z" fill="#1e1b4b" opacity="0.8"/></svg>'const base64 = btoa(svg)export default function AiImageDemo() { return ( <div className="w-full max-w-md"> <Image base64={base64} uint8Array={new Uint8Array()} mediaType="image/svg+xml" alt="Generated illustration" /> </div> )}