Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.12 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.12 KB

简体中文 | 正體中文 | English

PainterLeaf

  • Text-to-image, supports multiple models
  • Image-to-text, convert local images to prompts
  • Also supports image-to-image
  • Prompt supports Chinese and English (Chinese will automatically call AI translation)
  • Front-end and back-end separation, front-end based on React, back-end based on Hono, see this project
  • API provided by CloudflareAI and HuggingFace
  • Internationalization support, currently supports 简体中文, 正體中文, and English

Usage

Deploy Server

See this project

Modify src/config.json

{
  "SERVER": "https://api.xxx.workers.dev", // Your server address
}

Install Bun

Please refer to Bun.sh. Or simply run npm i -g bun

Install dependencies

bun i

Local run

bun run dev

Build

bun run build