Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

ComfyUI-ZFL-JSON-Extractor

Mantenedor@xufengbo1993D · adoptionnota

Perfil do pacote

Status
Verificado
Publicador
@xufengbo1993
Fonte
GitHub
Estrelas
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

Nós neste pacote

Nó 1
  • JSONExtractorFourWay

Fontes

3 fontes
GitHubFonteVersão ba56636a11365da1d025c3a1688b37dbd9cd0530
github.com/xufengbo1993/ComfyUI-ZFL-JSON-Extractor

Verificado 13 de out.

Trechos de fonte

1 trecho

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