Nodes/comfyui-aichat/Gemini 文件上传器 (File API)
ComfyUI Node

Gemini 文件上传器 (File API)

A ComfyUI node in Gemini API/Content with 5 inputs and 2 outputs.

By spawner1145·Created about a year ago·Updated 2 months ago· 3
Gemini 文件上传器 (File API)
  • api_instance
  • content_item
  • file_uri
file_selector
use_absolute_pathfalse
absolute_path_override/path/to/your/file.pdf
display_name
CategoryGemini API/Content

Inputs (5)

NameTypeDefaultDescription
api_instanceGEMINI_API_INSTANCE
file_selectorCOMBO1 options: example.png
use_absolute_pathBOOLEANfalse
absolute_path_overrideSTRING/path/to/your/file.pdf
display_nameSTRINGOptional display name

Outputs (2)

NameTypeDescription
content_itemGEMINI_CONTENT_ITEM
file_uriSTRING