├── .dev.vars.example ├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── api │ ├── generate_image │ │ └── route.ts │ ├── image │ │ └── route.ts │ ├── images │ │ └── route.ts │ ├── models │ │ └── route.ts │ └── schema │ │ └── route.ts ├── favicon.ico ├── globals.css ├── images │ └── page.tsx ├── layout.tsx ├── not-found.tsx ├── page.module.css └── page.tsx ├── components.json ├── components ├── ImageGenerator.tsx └── ui │ ├── button.tsx │ ├── form.tsx │ ├── input.tsx │ ├── label.tsx │ └── select.tsx ├── env.d.ts ├── lib └── utils.ts ├── next.config.mjs ├── package.json ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.js ├── tsconfig.json └── wrangler.toml /.dev.vars.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/.dev.vars.example -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/README.md -------------------------------------------------------------------------------- /app/api/generate_image/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/api/generate_image/route.ts -------------------------------------------------------------------------------- /app/api/image/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/api/image/route.ts -------------------------------------------------------------------------------- /app/api/images/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/api/images/route.ts -------------------------------------------------------------------------------- /app/api/models/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/api/models/route.ts -------------------------------------------------------------------------------- /app/api/schema/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/api/schema/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/images/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/images/page.tsx -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/not-found.tsx -------------------------------------------------------------------------------- /app/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/page.module.css -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components.json -------------------------------------------------------------------------------- /components/ImageGenerator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ImageGenerator.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/env.d.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/tsconfig.json -------------------------------------------------------------------------------- /wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kristianfreeman/workers-ai-image-playground/HEAD/wrangler.toml --------------------------------------------------------------------------------