ComfyUI Node
Anima XY Matrix (JSON List)
Generate cross-product JSON list for XY testing (artist x background, etc.).
Anima XY Matrix (JSON List)
- json_text
- columns
- x_labels
- y_labels
◄json_text►
◄strip_code_fencetrue►
◄x_fieldartist►
◄x_list@artist1
@artist2►
◄y_fieldenvironment►
◄y_listsunset street
night city►
◄include_environment_in_positivetrue►
◄auto_y_from_x_when_emptytrue►
◄same_field_behaviorcombine►
◄pair_joinnewline►
◄custom_join\n►
◄diagonal_singletrue►
◄matrix_modefull►
CategorySimpleChat/Utils
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| json_text | STRING | — | |
| strip_code_fence | BOOLEAN | true | — |
| x_field | COMBO | artist | 9 options: artist, style, environment, character, series, tags, +3 |
| x_list | STRING | @artist1 @artist2 | — |
| y_field | COMBO | environment | 9 options: artist, style, environment, character, series, tags, +3 |
| y_list | STRING | sunset street night city | — |
| include_environment_in_positive | BOOLEAN | true | — |
| auto_y_from_x_when_empty | BOOLEAN | true | If y_list is empty, reuse x_list (useful for artist x artist matrix). |
| same_field_behavior | COMBO | combine | When x_field == y_field (e.g. artist), choose overwrite or combine. |
| pair_join | COMBO | newline | 4 options: newline, comma, space, custom |
| custom_join | STRING | \n | Used when pair_join=custom. Use \n for newline. |
| diagonal_single | BOOLEAN | true | When X==Y, use single value on diagonal (recommended). |
| matrix_mode | COMBO | full | When x_field==y_field (e.g. artist x artist), choose full matrix or run fewer cells. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| json_text | STRING | — |
| columns | INT | — |
| x_labels | STRING | — |
| y_labels | STRING | — |