Nodes/ComfyUI Gemini Nodes/Gemini Video Captioner
ComfyUI Node

Gemini Video Captioner

A ComfyUI node in πŸ€– Gemini with 16 inputs and 5 outputs.

By jqy-yoΒ·Created about a year agoΒ·Updated 10 months agoΒ· 7
Gemini Video Captioner
  • image
  • caption
  • sampled_frame
  • raw_json
  • api_request
  • api_response
β—„api_keyβ–Ί
β—„modelgemini-2.0-flashβ–Ί
β—„frames_per_second1.0β–Ί
β—„max_duration_minutes2.0β–Ί
β—„promptDescribe this video scene in detail. Include any important actions, subjects, settings, and atmosphere.β–Ί
β—„process_audiofalseβ–Ί
β—„temperature0.7β–Ί
β—„max_output_tokens1024β–Ί
β—„top_p0.95β–Ί
β—„top_k64β–Ί
β—„seed0β–Ί
β—„video_pathβ–Ί
β—„api_versionautoβ–Ί
β—„use_structured_outputfalseβ–Ί
β—„output_schema{ "type": "object", "properties": { "description": {"type": "string"}, "objects": { "type": "array", "items": {"type": "string"} }, "actions": { "type": "array", "items": {"type": "string"} }, "mood": {"type": "string"}, "technical_details": {"type": "string"} }, "required": ["description", "objects", "actions", "mood"] }β–Ί
CategoryπŸ€– Gemini

Inputs (16)

NameTypeDefaultDescription
api_keySTRINGβ€”
modelSTRINGgemini-2.0-flashβ€”
frames_per_secondFLOAT1.00.1–10β€”
max_duration_minutesFLOAT2.00.1–45β€”
promptSTRINGDescribe this video scene in detail. Include any important actions, subjects, settings, and atmosphere.β€”
process_audioCOMBOfalse2 options: false, true
temperatureFLOAT0.70–1β€”
max_output_tokensINT102450–8192β€”
top_pFLOAT0.950–1β€”
top_kINT641–100β€”
seedINT00–2147483647β€”
video_pathoptSTRINGβ€”
imageoptIMAGEβ€”
api_versionoptCOMBOauto4 options: auto, v1, v1beta, v1alpha
use_structured_outputoptBOOLEANfalseβ€”
output_schemaoptSTRING{ "type": "object", "properties": { "description": {"type": "string"}, "objects": { "type": "array", "items": {"type": "string"} }, "actions": { "type": "array", "items": {"type": "string"} }, "mood": {"type": "string"}, "technical_details": {"type": "string"} }, "required": ["description", "objects", "actions", "mood"] }β€”

Outputs (5)

NameTypeDescription
captionSTRINGβ€”
sampled_frameIMAGEβ€”
raw_jsonSTRINGβ€”
api_requestSTRINGβ€”
api_responseSTRINGβ€”