ComfyUI Node
π± Artha Gemini Compose
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.
π± Artha Gemini Compose
- image
- subject
- scene
- camera
- light
- style
- response
- traits
βtext_promptConstruct a prompt describing an image composition in detail.βΊ
βapi_keyβΊ
βmodelgemini-2.5-flashβΊ
βmax_tokens5000βΊ
βtemperature0.7βΊ
βseed0βΊ
βuse_imagefalseβΊ
βreconstructfalseβΊ
CategoryArtha/LLM/Gemini
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| text_prompt | STRING | Construct a prompt describing an image composition in detail. | β |
| api_key | STRING | API key will be visible in plain text. Consider adding your api to the api.json located inside this custom node folder. | |
| model | COMBO | gemini-2.5-flash | 5 options: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash, gemini-2.0-flash-lite |
| max_tokens | INT | 50001β8192 | For Gemini models, a token is equivalent to about 4 characters. 100 tokens is equal to about 60β80 English words. |
| temperature | FLOAT | 0.70β2 | A temperature of 0 means only the most likely tokens are selected. Higher values increase randomness. |
| seed | INT | 00β18446744073709550000 | β |
| use_image | BOOLEAN | false | β |
| reconstruct | BOOLEAN | false | β |
| imageopt | IMAGE | β | |
| subjectopt | ARTHASUBJECT | β | |
| sceneopt | ARTHASCENERY | β | |
| cameraopt | ARTHACAM | β | |
| lightopt | ARTHALIGHT | β | |
| styleopt | ARTHASTYLE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| response | STRING | β |
| traits | STRING | β |