Update README.md

This commit is contained in:
Rayko
2026-08-03 15:27:21 +03:00
committed by GitHub
parent dd9fb78ac6
commit b7bb7d9337
+67 -1
View File
@@ -89,7 +89,8 @@ git clone https://github.com/Raykosan/ComfyUI_RaykoStudio.git
- v0.33.1 - clip_type 'mage' added to RS Models Loader node
- v0.33.2 - Deep modification of the RS Outpaint node
- v0.34.0 - Adding the RS Load Images From Dir node
- v0.34.1 - Added the 'Paste' button to the RS Load Images From Dir node
- v0.34.1 - Added the 'Paste' button to the RS Load Images From Dir node
- v0.35.0 - Added an RS Image-Prompt node
</details>
@@ -216,6 +217,71 @@ In any case, you can always paste the path using the keyboard shortcut Ctrl+V.
| `folder_path` | STRING | The absolute path of the processed directory. |
| `number_of_files` | INT | The total number of files found matching the filter in the directory. |
</details>
<details>
<summary>🦊 RS Image-Prompt</summary>
# 🦊 RS Image-Prompt
**A ComfyUI node that extracts the positive prompt from image metadata — instantly, without running the queue.**
Load a generated image and `RS Image-Prompt` reads back the prompt that was used to create it. It understands metadata written by ComfyUI, Automatic1111, Forge, and the rest of the RaykoStudio suite.
<img width="451" height="611" alt="Screenshot_3" src="https://github.com/user-attachments/assets/f0cfe847-4a15-41cc-8f66-3411e0719397" />
### 🔥 Features
- **Instant extraction** — the prompt appears as soon as an image is loaded, no queue run needed
- **Three ways to load an image**:
- **drag & drop** onto the preview zone (the border highlights green while dragging)
- **click** the preview zone to open a file dialog
- **📂 UPLOAD IMAGE** button
- **Live DOM preview** of the loaded image
- **Read-only prompt view** with a one-click **📝 COPY** button
- **Toast notifications** (success / warning / error)
- **Persistent state** — selected image, prompt and node size survive page reloads and tab switches
### 🪛 Usage
1. Add the node: **Add Node → 🦊 RaykoStudio → 🦊 RS Image-Prompt**
2. Load an image — drag & drop it onto the preview zone, click the preview, or press **📂 UPLOAD IMAGE**.
3. The extracted prompt appears in the text area automatically.
4. Connect the prompt output to the text input of the desired node (e.g. CLIP Text Encode or RS Prompts) and start generating
5. If necessary, click **📝 COPY** to copy the prompt to the clipboard.
The node outputs the prompt as a `STRING`. Wire it into anything that accepts a text prompt:
```
[ RS Image-Prompt ] → prompt (STRING) → [ CLIPTextEncode ] → [ KSampler ]
```
### 📥 Supported Sources
The prompt is extracted from a wide range of metadata formats, in priority order:
| # | Source | Format | Where the prompt lives |
|---|--------|--------|------------------------|
| 1 | **ComfyUI** | PNG | `prompt` chunk (API graph) |
| 2 | **ComfyUI** | PNG | `workflow` chunk (UI graph) |
| 3 | **A1111 / Forge / SD.Next** | PNG | `parameters` text chunk |
| 4 | **RS Image-Text** | PNG | `Description` chunk |
| 5 | **Generic raw text** | PNG | `text` / `string` / `Comment` / `Title` chunks |
| 6 | **A1111 / Forge** | JPG / WebP | EXIF `UserComment` |
**Supported file types:** `PNG`, `JPG` / `JPEG`, `WebP`
**Recognized prompt nodes** when parsing a ComfyUI graph: `CLIPTextEncode`, `RS Prompts`, `RS Image-Prompt`.
### 🖥️ UI Overview
| Element | Description |
|---------|-------------|
| **Text area** | Read-only, shows the extracted prompt (or a "not found" hint) |
| **📂 UPLOAD IMAGE** | Opens a file picker (PNG / JPG / WebP) |
| **📝 COPY** | Copies the prompt to the clipboard |
| **Preview zone** | Shows the loaded image; drop a file here or click to upload |
| **Toasts** | Centered popups: green = success, orange = warning, red = error |
### 🤝 Compatibility
- ComfyUI
- Works alongside the rest of the **RaykoStudio** suite: `RS Prompts`, `RS Image-Text`
- Reads images generated by ComfyUI, Automatic1111, Forge, and other tools that embed prompt metadata
</details>
<details>
<summary>🦊 RS Bypass Manager</summary>