git404hub

what is pai-tong-kuan fr?

uforz/pai-tong-kuan — explained in plain English

Analysis updated 2026-07-25

3JavaScriptAudience · vibe coderComplexity · 2/5LicenseSetup · moderate

tl;dr

A browser extension that reverse-engineers the text prompt of any image you find online and generates a similar image for you using your own AI service keys.

vibe map

mindmap
  root((repo))
    What it does
      Reverse-engineers image prompts
      Generates similar images
      Captures webpage areas
    Features
      Local gallery with search
      Side-by-side compare
      Character and object swap
    Tech stack
      Browser extension
      JavaScript
      Chrome and Edge
    Use cases
      Recreate images found online
      Group image generation
      Multilingual support
    Privacy
      Keys stored locally
      No middleman server
      Direct to AI platform
    Audience
      Creators and designers
      Vibe coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Recreate an image you found online by generating a similar one with your own AI keys.

VIBE 2

Capture a specific area of a webpage and reverse-engineer its text prompt.

VIBE 3

Swap out characters or objects in an image and generate new variations.

VIBE 4

Search and compare generated results side-by-side with originals in a local gallery.

what's the stack?

JavaScriptBrowser ExtensionChromeMicrosoft Edge

how it stacks up fr

uforz/pai-tong-kuanabhagsain/bayut-maps-ratingsabhishek-kumar09/who-is-imposter
Stars333
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-04-12
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity2/52/53/5
Audiencevibe codergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires manual browser extension installation via developer mode plus your own API keys from a supported AI platform like OpenAI.

Free to use and modify, but if you share a modified version, you must also share your source code under the same terms.

in plain english

Pai Tong Kuan is a browser extension for Chrome and Microsoft Edge that helps you recreate images you find online. When you see a picture on a webpage that you like, you can use this extension to figure out what text description, or "prompt," was likely used to generate it. Then, it can produce a similar image for you. The idea is simple: you see something you like, and the tool helps you make your own version of it. The extension lets you hover over any web image and click a button to reverse-engineer its prompt. You can also drag a box around part of a webpage to capture a specific area as your source image. It supports multiple languages for its interface, including Chinese, English, Japanese, and Korean. Beyond just copying an image, you can do group generations or swap out characters and objects within a scene. All your results are saved in a local gallery where you can search, view full-size images, and compare them side by side with the originals. To use it, you need to provide your own API keys from supported AI platforms. The extension works with services like OpenAI, ModelScope, SiliconFlow, and several others listed in the settings. You can also add compatible services if you prefer. The developer does not run a middleman server. Your API keys, source images, prompts, and generated results all stay stored on your own computer. Data only leaves your machine when you actively start a task, and it goes directly to whichever AI platform you selected. Installing the source version takes a few steps. You download the code, open your browser's extensions page, turn on developer mode, and load the folder containing the manifest file. After that, you configure your API keys and pick your models. The developer recommends using the official store version for regular use, but the source code is available for those who want to run it directly. The project is licensed under AGPL-3.0, which means anyone who modifies and shares it must also share their source code.

prompts (copy fr)

prompt 1
Help me set up the Pai Tong Kuan browser extension from source in Chrome developer mode. Walk me through loading the unpacked extension folder and where to configure my OpenAI API key.
prompt 2
I want to add a custom compatible AI service to Pai Tong Kuan. Based on the extension's settings structure, what format should my API endpoint and key be in?
prompt 3
Write a script that reads the Pai Tong Kuan local gallery storage and exports all saved prompts and image pairs to a CSV file with columns for prompt, original image path, and generated image path.

Frequently asked questions

what is pai-tong-kuan fr?

A browser extension that reverse-engineers the text prompt of any image you find online and generates a similar image for you using your own AI service keys.

What language is pai-tong-kuan written in?

Mainly JavaScript. The stack also includes JavaScript, Browser Extension, Chrome.

What license does pai-tong-kuan use?

Free to use and modify, but if you share a modified version, you must also share your source code under the same terms.

How hard is pai-tong-kuan to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pai-tong-kuan for?

Mainly vibe coder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.