ComfyUI Node
FLUX.2 JSON Prompt Generator
A ComfyUI node in TBG/Takeaways with 63 inputs and 4 outputs.
FLUX.2 JSON Prompt Generator
- json_prompt
- formatted_prompt
- camera_settings
- json_to_clip_prompt
◄camera_presetSony A7IV - 85mm f/5.6 ISO200 (Product/Portrait)►
◄scene_presetProfessional studio product photography setup with polished concrete surface►
◄scene►
◄subject_count1►
◄subject_1_descriptionMinimalist ceramic coffee mug with steam rising from hot coffee inside►
◄subject_1_positionCenter foreground on polished concrete surface►
◄subject_1_actionStationary on surface►
◄subject_1_pose►
◄subject_1_color_palette►
◄style_presetUltra-realistic product photography with commercial quality►
◄style_text_override►
◄lighting_presetStudio three-point lighting - professional setup, key fill rim lights►
◄lighting_text_override►
◄mood_presetClean, professional, minimalist►
◄mood_text_override►
◄background_presetPolished concrete surface with studio backdrop►
◄background►
◄composition_presetRule of thirds (classic balanced)►
◄composition_text_override►
◄camera_model_presetSony A7IV►
◄camera_model_text_override►
◄camera_angle_presetHigh angle (looking down)►
◄camera_angle_text_override►
◄camera_distance_presetMedium shot (waist up)►
◄camera_distance_text_override►
◄focus_presetSharp focus on steam rising from coffee and mug details►
◄focus_text_override►
◄lens_preset85mm portrait lens►
◄lens_text_override►
◄f_number_presetf/5.6 (product standard)►
◄f_number_text_override►
◄iso_preset200 (studio/outdoors)►
◄iso_text_override►
◄lens_mm0►
◄shutter_speed►
◄color_hex_1►
◄color_hex_2►
◄color_hex_3►
◄color_hex_4►
◄color_hex_5►
◄include_shot_on_prefixtrue►
◄enable_prompt_expansionfalse►
◄subject_2_description►
◄subject_2_position►
◄subject_2_action►
◄subject_2_pose►
◄subject_2_color_palette►
◄subject_3_description►
◄subject_3_position►
◄subject_3_action►
◄subject_3_pose►
◄subject_3_color_palette►
◄subject_4_description►
◄subject_4_position►
◄subject_4_action►
◄subject_4_pose►
◄subject_4_color_palette►
◄subject_5_description►
◄subject_5_position►
◄subject_5_action►
◄subject_5_pose►
◄subject_5_color_palette►
◄additional_json_fields►
CategoryTBG/Takeaways
Inputs (63)
| Name | Type | Default | Description |
|---|---|---|---|
| camera_preset | COMBO | Sony A7IV - 85mm f/5.6 ISO200 (Product/Portrait) | Camera presets with model, lens, f-number, ISO. |
| scene_preset | COMBO | Professional studio product photography setup with polished concrete surface | Pre-made scene descriptions or Custom. |
| scene | STRING | Scene description. Overrides scene_preset when non-empty. | |
| subject_count | STRING | 1 | Number of subjects (0-10). Parsed as int; invalid values default to 1. |
| subject_1_description | STRING | Minimalist ceramic coffee mug with steam rising from hot coffee inside | Subject 1 description. |
| subject_1_position | STRING | Center foreground on polished concrete surface | Subject 1 position in frame. |
| subject_1_action | STRING | Stationary on surface | Subject 1 action. |
| subject_1_pose | STRING | Subject 1 pose (optional). | |
| subject_1_color_palette | STRING | Subject 1 colors (#hex, comma-separated). | |
| style_preset | COMBO | Ultra-realistic product photography with commercial quality | Style preset. |
| style_text_override | STRING | Custom style text. Overrides style_preset when non-empty. | |
| lighting_preset | COMBO | Studio three-point lighting - professional setup, key fill rim lights | Lighting preset. |
| lighting_text_override | STRING | Custom lighting. Overrides lighting_preset. | |
| mood_preset | COMBO | Clean, professional, minimalist | Mood preset. |
| mood_text_override | STRING | Custom mood. Overrides mood_preset. | |
| background_preset | COMBO | Polished concrete surface with studio backdrop | Background preset. |
| background | STRING | Background description. Overrides background_preset. | |
| composition_preset | COMBO | Rule of thirds (classic balanced) | Composition preset. |
| composition_text_override | STRING | Custom composition. Overrides preset. | |
| camera_model_preset | COMBO | Sony A7IV | Camera model preset. |
| camera_model_text_override | STRING | Custom camera model. Overrides preset. | |
| camera_angle_preset | COMBO | High angle (looking down) | Camera angle preset. |
| camera_angle_text_override | STRING | Custom camera angle. Overrides preset. | |
| camera_distance_preset | COMBO | Medium shot (waist up) | Camera distance preset. |
| camera_distance_text_override | STRING | Custom camera distance. Overrides preset. | |
| focus_preset | COMBO | Sharp focus on steam rising from coffee and mug details | Focus preset. |
| focus_text_override | STRING | Custom focus. Overrides preset. | |
| lens_preset | COMBO | 85mm portrait lens | Lens preset. |
| lens_text_override | STRING | Custom lens. Overrides preset. | |
| f_number_preset | COMBO | f/5.6 (product standard) | Aperture preset. |
| f_number_text_override | STRING | Custom f-number. Overrides preset. | |
| iso_preset | COMBO | 200 (studio/outdoors) | ISO preset. |
| iso_text_override | STRING | Custom ISO. Overrides preset. | |
| lens_mm | STRING | 0 | Lens focal length in mm. 0 or empty = use preset or omit. |
| shutter_speed | STRING | Shutter speed (optional), e.g. 1/125. | |
| color_hex_1 | STRING | Primary hex color (e.g. #FF5733). | |
| color_hex_2 | STRING | Secondary hex color. | |
| color_hex_3 | STRING | Tertiary hex color. | |
| color_hex_4 | STRING | Accent hex color 1. | |
| color_hex_5 | STRING | Accent hex color 2. | |
| include_shot_on_prefix | BOOLEAN | true | Add 'Shot on [camera]' prefix to formatted prompt. |
| enable_prompt_expansion | BOOLEAN | false | Reserved for future auto-expansion (no-op now). |
| subject_2_descriptionopt | STRING | Subject 2 description (optional). | |
| subject_2_positionopt | STRING | Subject 2 position. | |
| subject_2_actionopt | STRING | Subject 2 action. | |
| subject_2_poseopt | STRING | Subject 2 pose. | |
| subject_2_color_paletteopt | STRING | Subject 2 colors. | |
| subject_3_descriptionopt | STRING | Subject 3 description. | |
| subject_3_positionopt | STRING | Subject 3 position | |
| subject_3_actionopt | STRING | Subject 3 action | |
| subject_3_poseopt | STRING | Subject 3 pose | |
| subject_3_color_paletteopt | STRING | Subject 3 colors | |
| subject_4_descriptionopt | STRING | Subject 4 description. | |
| subject_4_positionopt | STRING | Subject 4 position | |
| subject_4_actionopt | STRING | Subject 4 action | |
| subject_4_poseopt | STRING | Subject 4 pose | |
| subject_4_color_paletteopt | STRING | Subject 4 colors | |
| subject_5_descriptionopt | STRING | Subject 5 description. | |
| subject_5_positionopt | STRING | Subject 5 position | |
| subject_5_actionopt | STRING | Subject 5 action | |
| subject_5_poseopt | STRING | Subject 5 pose | |
| subject_5_color_paletteopt | STRING | Subject 5 colors | |
| additional_json_fieldsopt | STRING | Extra JSON object merged into final output (advanced). |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| json_prompt | STRING | — |
| formatted_prompt | STRING | — |
| camera_settings | STRING | — |
| json_to_clip_prompt | STRING | — |