Nodes/ComfyUI-SimpleChat/Anima XY Matrix (JSON List)
ComfyUI Node

Anima XY Matrix (JSON List)

Generate cross-product JSON list for XY testing (artist x background, etc.).

By Moeblack·Created 8 months ago·Updated 6 months ago· 8
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)

    NameTypeDefaultDescription
    json_textSTRING
    strip_code_fenceBOOLEANtrue
    x_fieldCOMBOartist9 options: artist, style, environment, character, series, tags, +3
    x_listSTRING@artist1 @artist2
    y_fieldCOMBOenvironment9 options: artist, style, environment, character, series, tags, +3
    y_listSTRINGsunset street night city
    include_environment_in_positiveBOOLEANtrue
    auto_y_from_x_when_emptyBOOLEANtrueIf y_list is empty, reuse x_list (useful for artist x artist matrix).
    same_field_behaviorCOMBOcombineWhen x_field == y_field (e.g. artist), choose overwrite or combine.
    pair_joinCOMBOnewline4 options: newline, comma, space, custom
    custom_joinSTRING\nUsed when pair_join=custom. Use \n for newline.
    diagonal_singleBOOLEANtrueWhen X==Y, use single value on diagonal (recommended).
    matrix_modeCOMBOfullWhen x_field==y_field (e.g. artist x artist), choose full matrix or run fewer cells.

    Outputs (4)

    NameTypeDescription
    json_textSTRING
    columnsINT
    x_labelsSTRING
    y_labelsSTRING