ComfyUI Node
Bernini Prompt Result Parser
Parse the response from an external API node into a final Bernini prompt.
Bernini Prompt Result Parser
- enhanced_prompt
◄api_response►
◄original_prompt►
◄json_modefalse►
Categoryconditioning/video_models
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| api_response | STRING | Raw text returned by the external LLM node. JSON responses are supported when json_mode is true. | |
| original_prompt | STRING | Fallback prompt returned when the external LLM response is empty. | |
| json_mode | STRING | false | Set to true when the external LLM is expected to return a JSON object containing rewritten_text. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| enhanced_prompt | STRING | — |