Skip to content

A Cute WebApp. Text2Image, Image2Image, Image2Text, Save or Star Images, Multiple Models, Chinese&English Prompt Suport. 一个可爱的 AI 绘画 WebApp, 支持文生图, 图生图, 图片收藏和下载, 多模型, 中英双语提示词. 图生文

License

LeafYeeXYZ/PainterLeaf

Repository files navigation

简体中文 | 正體中文 | 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

About

A Cute WebApp. Text2Image, Image2Image, Image2Text, Save or Star Images, Multiple Models, Chinese&English Prompt Suport. 一个可爱的 AI 绘画 WebApp, 支持文生图, 图生图, 图片收藏和下载, 多模型, 中英双语提示词. 图生文

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages