shadimage
atroui
itemapi-generatesource: ok · hit

OG Generate API

POST /api/generate - consumer HF/Google keys via atroui/api/generate. No keys shipped.

npx shadcn add "https://www.atroui.com/r/api-generate.json"
free

No selection tags yet — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light
atroui

Files1 · source cached 10/15/2026, 1:42:54 AM

registry/default/api/generate/route.ts
import { handleGeneratePost } from "atroui/api/generate"

export const runtime = "nodejs"
export const dynamic = "force-dynamic"
export const maxDuration = 60

export async function POST(req: Request) {
  return handleGeneratePost(req)
}

More from atroui

Browse all components in this library →