Nodes/ERPK Collection/Gemini Detect
ComfyUI Node

Gemini Detect

Detect objects in an image and emit their bounding boxes as regions for the Regional Prompt Builder.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Gemini Detect
  • image
  • client
  • regions
objects
seed-1
modelgemini-3.5-flash
temperature0.00
max_objects20
CategoryERPK/Gemini

Inputs (7)

NameTypeDefaultDescription
imageIMAGEImage to detect objects in (ComfyUI tensor)
objectsSTRINGObjects to detect, one per line (e.g. 'red car'). Leave empty to detect all prominent objects.
seedINT-1-1–2147483647Seed for reproducible detection. Randomizes by default.
clientoptGEMINI_API_CLIENTGemini API client from Gemini API Config node (optional if API key is configured in Settings)
modeloptCOMBOgemini-3.5-flashGemini model to use for detection
temperatureoptFLOAT0.000–2Lower = more deterministic detection
max_objectsoptINT201–100Maximum number of regions to return

Outputs (1)

NameTypeDescription
regionsERPK_REGIONSDetected regions as JSON for the Regional Prompt Builder's regions input.