Skip to content
Node packVerifiedExternal
Open source

ComfyUI-ZFL-JSON-Extractor

Maintainer@xufengbo1993D · adoptiongrade

Package profile

Status
Verified
Publisher
@xufengbo1993
Source
GitHub
Stars
0

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

Nodes in this pack

1 node
  • JSONExtractorFourWay

Sources

3 sources
GitHubSourceVersion ba56636a11365da1d025c3a1688b37dbd9cd0530
github.com/xufengbo1993/ComfyUI-ZFL-JSON-Extractor

Verified Oct 13

Source excerpts

1 excerpt

Source context: Repo xufengbo1993/ComfyUI-ZFL-JSON-Extractor