507 lines
16 KiB
JSON
507 lines
16 KiB
JSON
{
|
||
"dependencies": {
|
||
"check_state": "unchecked",
|
||
"checked_at": null,
|
||
"missing": [],
|
||
"model_locations": "待目标机提供",
|
||
"models": [
|
||
"gemma4_e4b_it_fp8_scaled.safetensors"
|
||
],
|
||
"node_packs": [],
|
||
"node_types": [
|
||
"CLIPLoader",
|
||
"GetVideoComponents",
|
||
"LoadAudio",
|
||
"LoadImage",
|
||
"LoadVideo",
|
||
"MarkdownNote",
|
||
"PreviewAny",
|
||
"TextGenerate"
|
||
],
|
||
"source": null
|
||
},
|
||
"draft": true,
|
||
"errors": [
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:CLIPLoader"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "LoadImage 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "LoadAudio 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "LoadVideo 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "GetVideoComponents 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:TextGenerate"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "未得到可执行节点"
|
||
}
|
||
],
|
||
"io": {
|
||
"inputs": [],
|
||
"outputs": []
|
||
},
|
||
"materials": [],
|
||
"params": [],
|
||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推;工作流:gemma4_提示词反推(图像视频音频)。用途待逐节点复核。",
|
||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||
"source_links": [
|
||
{
|
||
"link": [
|
||
2,
|
||
3,
|
||
0,
|
||
1,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
3,
|
||
1,
|
||
0,
|
||
4,
|
||
0,
|
||
"STRING"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
5,
|
||
6,
|
||
0,
|
||
7,
|
||
0,
|
||
"VIDEO"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
7,
|
||
2,
|
||
0,
|
||
1,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
8,
|
||
5,
|
||
0,
|
||
1,
|
||
3,
|
||
"AUDIO"
|
||
],
|
||
"scope": ""
|
||
}
|
||
],
|
||
"source_nodes": [
|
||
{
|
||
"class_type": "CLIPLoader",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "CLIP名称",
|
||
"name": "clip_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "clip_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "类型",
|
||
"name": "type",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "type"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "设备",
|
||
"name": "device",
|
||
"shape": 7,
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "device"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "3",
|
||
"source_values": [
|
||
"gemma4_e4b_it_fp8_scaled.safetensors",
|
||
"stable_diffusion",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "PreviewAny",
|
||
"inputs": [
|
||
{
|
||
"link": 3,
|
||
"localized_name": "源",
|
||
"name": "source",
|
||
"type": "*"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "4",
|
||
"source_values": [
|
||
null,
|
||
null,
|
||
null
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "8",
|
||
"source_values": [
|
||
"Related PR: [#13376](https://github.com/Comfy-Org/ComfyUI/pull/13376)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 text_encoders/\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n---\n* Other model weights: https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "MarkdownNote",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "9",
|
||
"source_values": [
|
||
"**Core Capabilities**\n\n[Gemma 4](https://huggingface.co/google/gemma-4-E2B-it) models handle a broad range of tasks across text, vision, and audio. Key capabilities include:\n\n+ **Thinking** – Built-in reasoning mode that lets the model think step-by-step before answering.\n+ **Long Context** – Context windows of up to 128K tokens (E2B/E4B) and 256K tokens (26B A4B/31B).\n+ **Image Understanding** – Object detection, Document/PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition, and pointing. Images can be processed at variable aspect ratios and resolutions.\n+ **Video Understanding** – Analyze video by processing sequences of frames.\n+ **Interleaved Multimodal Input** – Freely mix text and images in any order within a single prompt.\n+ **Function Calling** – Native support for structured tool use, enabling agentic workflows.\n+ **Coding** – Code generation, completion, and correction.\n+ **Multilingual** – Out-of-the-box support for 35+ languages, pre-trained on 140+ languages.\n+ **Audio** (E2B and E4B only) – Automatic speech recognition (ASR) and speech-to-translated-text translation across multiple languages.\n"
|
||
],
|
||
"title": "Gemma4 Core Capabilities"
|
||
},
|
||
{
|
||
"class_type": "LoadImage",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "image"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "选择文件上传",
|
||
"name": "upload",
|
||
"type": "IMAGEUPLOAD",
|
||
"widget": {
|
||
"name": "upload"
|
||
}
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "2",
|
||
"source_values": [
|
||
"the_lily_veil.png",
|
||
"image"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoadAudio",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "音频",
|
||
"name": "audio",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "audio"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "音频UI",
|
||
"name": "audioUI",
|
||
"type": "AUDIO_UI",
|
||
"widget": {
|
||
"name": "audioUI"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "选择文件上传",
|
||
"name": "upload",
|
||
"type": "AUDIOUPLOAD",
|
||
"widget": {
|
||
"name": "upload"
|
||
}
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "5",
|
||
"source_values": [
|
||
"voice_demo.mp3",
|
||
null,
|
||
null
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoadVideo",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "文件",
|
||
"name": "file",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "file"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "选择要上传的文件",
|
||
"name": "upload",
|
||
"type": "IMAGEUPLOAD",
|
||
"widget": {
|
||
"name": "upload"
|
||
}
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "6",
|
||
"source_values": [
|
||
"video_wan_vace_inpainting_input_video.mp4",
|
||
"image"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "GetVideoComponents",
|
||
"inputs": [
|
||
{
|
||
"link": 5,
|
||
"localized_name": "视频",
|
||
"name": "video",
|
||
"type": "VIDEO"
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "7",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "TextGenerate",
|
||
"inputs": [
|
||
{
|
||
"link": 2,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": 7,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "video",
|
||
"name": "video",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 8,
|
||
"localized_name": "audio",
|
||
"name": "audio",
|
||
"shape": 7,
|
||
"type": "AUDIO"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "提示词",
|
||
"name": "prompt",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "prompt"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "最大长度",
|
||
"name": "max_length",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "max_length"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "采样模式",
|
||
"name": "sampling_mode",
|
||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||
"widget": {
|
||
"name": "sampling_mode"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "温度",
|
||
"name": "sampling_mode.temperature",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.temperature"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "Top K",
|
||
"name": "sampling_mode.top_k",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "sampling_mode.top_k"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "Top P",
|
||
"name": "sampling_mode.top_p",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.top_p"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "最小概率",
|
||
"name": "sampling_mode.min_p",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.min_p"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "重复惩罚",
|
||
"name": "sampling_mode.repetition_penalty",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.repetition_penalty"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "种子",
|
||
"name": "sampling_mode.seed",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "sampling_mode.seed"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "presence_penalty",
|
||
"name": "sampling_mode.presence_penalty",
|
||
"shape": 7,
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "sampling_mode.presence_penalty"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "思考模式",
|
||
"name": "thinking",
|
||
"shape": 7,
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "thinking"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "use_default_template",
|
||
"name": "use_default_template",
|
||
"shape": 7,
|
||
"type": "BOOLEAN",
|
||
"widget": {
|
||
"name": "use_default_template"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "1",
|
||
"source_values": [
|
||
"Describe the image, and transcribe the audio",
|
||
2048,
|
||
"on",
|
||
0.7,
|
||
64,
|
||
0.95,
|
||
0.05,
|
||
1.05,
|
||
0,
|
||
0,
|
||
false,
|
||
true
|
||
],
|
||
"title": null
|
||
}
|
||
],
|
||
"source_notes": [
|
||
{
|
||
"content": [
|
||
"Related PR: [#13376](https://github.com/Comfy-Org/ComfyUI/pull/13376)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 text_encoders/\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n---\n* Other model weights: https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
|
||
],
|
||
"node_id": "8"
|
||
},
|
||
{
|
||
"content": [
|
||
"**Core Capabilities**\n\n[Gemma 4](https://huggingface.co/google/gemma-4-E2B-it) models handle a broad range of tasks across text, vision, and audio. Key capabilities include:\n\n+ **Thinking** – Built-in reasoning mode that lets the model think step-by-step before answering.\n+ **Long Context** – Context windows of up to 128K tokens (E2B/E4B) and 256K tokens (26B A4B/31B).\n+ **Image Understanding** – Object detection, Document/PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition, and pointing. Images can be processed at variable aspect ratios and resolutions.\n+ **Video Understanding** – Analyze video by processing sequences of frames.\n+ **Interleaved Multimodal Input** – Freely mix text and images in any order within a single prompt.\n+ **Function Calling** – Native support for structured tool use, enabling agentic workflows.\n+ **Coding** – Code generation, completion, and correction.\n+ **Multilingual** – Out-of-the-box support for 35+ languages, pre-trained on 140+ languages.\n+ **Audio** (E2B and E4B only) – Automatic speech recognition (ASR) and speech-to-translated-text translation across multiple languages.\n"
|
||
],
|
||
"node_id": "9"
|
||
}
|
||
],
|
||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||
"status": {
|
||
"doc_done": false,
|
||
"exec_verified": false,
|
||
"imported": true
|
||
},
|
||
"steps": [
|
||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json,逐项核对下列源节点与注释。",
|
||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||
],
|
||
"title": "gemma4_提示词反推(图像视频音频)"
|
||
}
|