Nodes/Comfyui_JC2/TTP_ExtraOptionsNode_Beta
ComfyUI Node Runs on cloud

TTP_ExtraOptionsNode_Beta

27 caption instruction toggles, compiled into one string

By TTPlanetPig·Created 2 years ago·Updated about a year ago· 213
TTP_ExtraOptionsNode_Beta
    • extra_options_str
    ◄enable_extra_optionstrue►
    ◄character_name►
    ◄extra_option_0_if_there_is_a_person_characterfalse►
    ◄extra_option_1_do_not_include_information_abofalse►
    ◄extra_option_2_include_information_about_lighfalse►
    ◄extra_option_3_include_information_about_camefalse►
    ◄extra_option_4_include_information_about_whetfalse►
    ◄extra_option_5_include_information_about_whetfalse►
    ◄extra_option_6_if_it_is_a_photo_you_must_inclfalse►
    ◄extra_option_7_do_not_include_anything_sexualfalse►
    ◄extra_option_8_do_not_mention_the_image's_resfalse►
    ◄extra_option_9_you_must_include_information_afalse►
    ◄extra_option_10_include_information_on_the_imafalse►
    ◄extra_option_11_do_not_mention_any_text_that_ifalse►
    ◄extra_option_12_specify_the_depth_of_field_andfalse►
    ◄extra_option_13_if_applicable,_mention_the_likfalse►
    ◄extra_option_14_do_not_use_any_ambiguous_langufalse►
    ◄extra_option_15_include_whether_the_image_is_sfalse►
    ◄extra_option_16_only_describe_the_most_importafalse►
    ◄extra_option_17_if_it_is_a_work_of_art,_do_notfalse►
    ◄extra_option_18_identify_the_image_orientationfalse►
    ◄extra_option_19_use_vulgar_slang_and_profanityfalse►
    ◄extra_option_20_do_not_use_polite_euphemisms—lfalse►
    ◄extra_option_21_include_information_about_the_false►
    ◄extra_option_22_mention_whether_the_image_depifalse►
    ◄extra_option_23_do_not_mention_the_mood_feelinfalse►
    ◄extra_option_24_explicitly_specify_the_vantagefalse►
    ◄extra_option_25_if_there_is_a_watermark,_you_mfalse►
    ◄extra_option_26_your_response_will_be_used_by_false►

    ExtraOptionsNode_Beta (TTP_ExtraOptionsNode_Beta) is the Beta One version of the pack's extras box: a companion node for JoyCaptionBetaOne_Simple that turns caption instruction toggles into a single string. It generates nothing on its own - no model, no image analysis - but it's the difference between a clean captioning graph and a node with 27 checkboxes hanging off it.

    What it does

    The Beta One captioner supports a longer, more aggressive option list than the Alpha Two nodes - 27 instructions covering lighting, camera angle, depth of field, composition style, image orientation, SFW/NSFW classification, mood exclusion, even a "use vulgar slang" toggle. They're defined in the pack source as prompt sentences; this node exposes each as a boolean input and joins every enabled one into the extra_options_str output, space-separated, ready to feed into JoyCaptionBetaOne_Simple's extra_options_str input.

    The wiring is the same as the Alpha Two pair:

    image → JoyCaptionBetaOne_Simple (caption out)
    ExtraOptionsNode_Beta (extra_options_str) → JoyCaptionBetaOne_Simple.extra_options_str
    

    enable_extra_options is the master switch - off means an empty string, which cleanly disables the whole extras mechanism. The one input that does real work is character_name: it pairs with the "refer to them as {name}" option (option 0), and the node only appends that instruction if you've actually typed a name. Nice touch, since the Simple captioner has no name field of its own.

    Why use it instead of the Full node

    JoyCaptionBetaOne_Full has all 27 of these toggles baked directly into its inputs, so this node only pays off if you prefer the Simple captioner - smaller nodes, extras on a separate node you can collapse, and the freedom to substitute any custom instruction string in place of the toggle set. Since the output is a plain STRING, you can also tee it into a log or build it programmatically if you're scripting workflows.

    One note on names: the toggle labels are auto-generated from the prompt text and truncated, so they read like extra_option_2_include_information_about_ligh rather than friendly labels. Hover the node or check the prompt text to know which is which - it's a cosmetic wart, not a functional one.

    Install

    Same pack, no separate install: ComfyUI Manager → search Comfyui_JC2, or clone into custom_nodes and install requirements. No models to download - it only compiles strings. Use it with JoyCaptionBetaOne_Simple, and use the plain ExtraOptionsNode with the Alpha Two JoyCaption2_simple. Easy to confuse the two pairs; don't, because the option lists don't match up.

    CategoryTTP_Toolset

    Inputs (29)

    NameTypeDefaultDescription
    enable_extra_optionsBOOLEANtrue—
    character_nameSTRING—
    extra_option_0_if_there_is_a_person_characterBOOLEANfalse—
    extra_option_1_do_not_include_information_aboBOOLEANfalse—
    extra_option_2_include_information_about_lighBOOLEANfalse—
    extra_option_3_include_information_about_cameBOOLEANfalse—
    extra_option_4_include_information_about_whetBOOLEANfalse—
    extra_option_5_include_information_about_whetBOOLEANfalse—
    extra_option_6_if_it_is_a_photo_you_must_inclBOOLEANfalse—
    extra_option_7_do_not_include_anything_sexualBOOLEANfalse—
    extra_option_8_do_not_mention_the_image's_resBOOLEANfalse—
    extra_option_9_you_must_include_information_aBOOLEANfalse—
    extra_option_10_include_information_on_the_imaBOOLEANfalse—
    extra_option_11_do_not_mention_any_text_that_iBOOLEANfalse—
    extra_option_12_specify_the_depth_of_field_andBOOLEANfalse—
    extra_option_13_if_applicable,_mention_the_likBOOLEANfalse—
    extra_option_14_do_not_use_any_ambiguous_languBOOLEANfalse—
    extra_option_15_include_whether_the_image_is_sBOOLEANfalse—
    extra_option_16_only_describe_the_most_importaBOOLEANfalse—
    extra_option_17_if_it_is_a_work_of_art,_do_notBOOLEANfalse—
    extra_option_18_identify_the_image_orientationBOOLEANfalse—
    extra_option_19_use_vulgar_slang_and_profanityBOOLEANfalse—
    extra_option_20_do_not_use_polite_euphemisms—lBOOLEANfalse—
    extra_option_21_include_information_about_the_BOOLEANfalse—
    extra_option_22_mention_whether_the_image_depiBOOLEANfalse—
    extra_option_23_do_not_mention_the_mood_feelinBOOLEANfalse—
    extra_option_24_explicitly_specify_the_vantageBOOLEANfalse—
    extra_option_25_if_there_is_a_watermark,_you_mBOOLEANfalse—
    extra_option_26_your_response_will_be_used_by_BOOLEANfalse—

    Outputs (1)

    NameTypeDescription
    extra_options_strSTRING—