Nodes/ComfyUI-Artha-Nodes/πŸ”± Artha Gemini Portrait
ComfyUI Node

πŸ”± Artha Gemini Portrait

Describes a character. When no image connected, output is crafted by the parameters. If image input is active, prompt is crafted from the image details. If image input is active and reconstruct is true, prompt is crafted from the image details but parameters override fetched attributes.

By CyrostarΒ·Created 9 months agoΒ·Updated 7 months agoΒ· 0
πŸ”± Artha Gemini Portrait
  • image
  • face
  • body
  • form
  • cloth
  • makeup
  • response
  • traits
β—„text_promptConstruct a prompt describing a character in detail.β–Ί
β—„identityFEMININEβ–Ί
β—„framingportraitβ–Ί
β—„api_keyβ–Ί
β—„modelgemini-2.5-flashβ–Ί
β—„max_tokens5000β–Ί
β—„temperature0.7β–Ί
β—„seed0β–Ί
β—„use_imagefalseβ–Ί
β—„reconstructfalseβ–Ί
CategoryArtha/LLM/Gemini

Inputs (16)

NameTypeDefaultDescription
text_promptSTRINGConstruct a prompt describing a character in detail.β€”
identityCOMBOFEMININE2 options: FEMININE, MASCULINE
framingCOMBOportrait5 options: headshot, portrait, medium shot, wide shot, full body shot
api_keySTRINGAPI key will be visible in plain text. Consider adding your api to the api.json located inside this custom node folder.
modelCOMBOgemini-2.5-flash5 options: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash, gemini-2.0-flash-lite
max_tokensINT50001–8192For Gemini models, a token is equivalent to about 4 characters. 100 tokens is equal to about 60–80 English words.
temperatureFLOAT0.70–2A temperature of 0 means only the most likely tokens are selected. Higher values increase randomness.
seedINT00–18446744073709550000β€”
use_imageBOOLEANfalseβ€”
reconstructBOOLEANfalseβ€”
imageoptIMAGEβ€”
faceoptARTHAFACEβ€”
bodyoptARTHABODYβ€”
formoptARTHAFORMβ€”
clothoptARTHACLOTHβ€”
makeupoptARTHAMAKEUPβ€”

Outputs (2)

NameTypeDescription
responseSTRINGβ€”
traitsSTRINGβ€”