ComfyUI Node
Gemini Video Captioner
A ComfyUI node in π€ Gemini with 16 inputs and 5 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | β | |
| model | STRING | gemini-2.0-flash | β |
| frames_per_second | FLOAT | 1.00.1β10 | β |
| max_duration_minutes | FLOAT | 2.00.1β45 | β |
| prompt | STRING | Describe this video scene in detail. Include any important actions, subjects, settings, and atmosphere. | β |
| process_audio | COMBO | false | 2 options: false, true |
| temperature | FLOAT | 0.70β1 | β |
| max_output_tokens | INT | 102450β8192 | β |
| top_p | FLOAT | 0.950β1 | β |
| top_k | INT | 641β100 | β |
| seed | INT | 00β2147483647 | β |
| video_pathopt | STRING | β | |
| imageopt | IMAGE | β | |
| api_versionopt | COMBO | auto | 4 options: auto, v1, v1beta, v1alpha |
| use_structured_outputopt | BOOLEAN | false | β |
| output_schemaopt | STRING | { "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)
| Name | Type | Description |
|---|---|---|
| caption | STRING | β |
| sampled_frame | IMAGE | β |
| raw_json | STRING | β |
| api_request | STRING | β |
| api_response | STRING | β |