/snapfix

Inline paiting tool using Stable Diffusion

Primary LanguageJavaScriptMIT LicenseMIT

SnapFix

Check it out at https://snapfix.vervel.app

Inpainting tool using Stable Diffusion, This project uses https://github.com/shadcn/ui

hero

#run

yarn install yarn dev

Create a .env.local file and add you Stability AI API key.

next-template

A Next.js 13 template for building apps with Radix UI and Tailwind CSS.

Reference

StabilityAI

https://platform.stability.ai/docs/getting-started/typescript-client grpc@1.24.11: This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.

Features

  • Radix UI Primitives
  • Tailwind CSS
  • Fonts with @next/font
  • Icons from Lucide
  • Dark mode with next-themes
  • Automatic import sorting with @ianvs/prettier-plugin-sort-imports

Tailwind CSS Features

  • Class merging with taiwind-merge
  • Animation with tailwindcss-animate
  • Conditional classes with clsx
  • Variants with class-variance-authority
  • Automatic class sorting with eslint-plugin-tailwindcss

Study docs

Stability AI How to load image from url and resize and output buffer Basic example how to call api on the backend of next and return result example how to use SD for normal text to image