ComfyUI Extension
ComfyUI-ZFL-JSON-Extractor
A powerful tool for AI dynamic comic creators and scriptwriters extracting up to 4 specific keys from JSON scripts.
xufengbo1993/ComfyUI-ZFL-JSON-Extractor
Nodes1
On cloudLocal install
CategoryCustomNodes/TextProcessing
Stars0
Updated6 months ago
Readme
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