2026-02-04 17:39:32 +08:00
2026-02-04 17:39:32 +08:00
2026-02-04 17:33:45 +08:00

Markdown

ComfyUI JSON Extractor (4-Way)

A powerful tool for AI dynamic comic creators and scriptwriters. Extract up to 4 specific keys from JSON scripts (like name, instruction, and dialogue) and output them as multi-line strings.

Features

  • Multi-key Extraction: Process 4 different JSON keys at once.
  • Auto-Fix: Automatically handles single-quote JSON strings generated by LLMs.
  • Custom Delimiters: Choose how to separate your output (Newlines, Tabs, etc.).

Installation

Clone this repository into your custom_nodes folder:

cd custom_nodes
git clone [https://github.com/YourUsername/ComfyUI-JSON-Extractor.git](https://github.com/YourUsername/ComfyUI-JSON-Extractor.git)
Usage
Perfect for splitting a JSON script into:

Character Names

Voiceover Instructions (for TTS)

Dialogue Text

Scene Descriptions


#### ④ `.gitignore`
```text
__pycache__/
*.py[cod]
*$py.class
.DS_Store
S
Description
No description provided
Readme Apache-2.0
33 KiB
Languages
Python 100%