Miniatura de Marca Comfy
Genera miniaturas usando tus guías de marca como referencia.
Acerca de
Miniatura de Marca Comfy es un flujo de selección y composición de cuadros que convierte momentos de tu video en miniaturas de YouTube alineadas a tu marca. Se basa en una canalización simple: LoadVideo ingresa tu clip fuente, GetVideoComponents expone datos de cuadros, e ImageFromBatch te permite elegir cuadros exactos por índice. Los cuadros seleccionados se agrupan con BatchImagesNode y luego se componen en una cuadrícula mediante un nodo personalizado Merge Images (ID 2f633b06-929a-4f4c-afff-ffea89d93a76). Referencias de marca como logo, paletas de color o fondo se cargan con LoadImage. Puedes revisar cada paso con PreviewImage y exportar el diseño final con SaveImage.
Lo práctico de este flujo es su enfoque en velocidad y control para creación real de miniaturas—no requiere modelo de difusión. El grupo YouTube Thumbnail Generator ofrece un interruptor limpio entre diseño 2-up o 4-up (según la nota del autor: apagado para 2 imágenes, encendido para 4), así puedes comparar opciones o sacar un compuesto final rápidamente. Se incluye un nodo auxiliar GeminiNanoBanana2 para ideas de texto alineadas a marca o sugerencias de nombres de archivo; no renderiza texto en la imagen en esta versión. Hay bloques MarkdownNote para documentar ajustes y recordarte buenas prácticas mientras trabajas.
Lo que proporcionas
- Leyendo el flujo de trabajo
Se ejecuta en ComfyUI. Este flujo de trabajo no puede ejecutarse en esta página. Ábrelo en Comfy Cloud con todo cargado o descárgalo para tu propio ComfyUI.
Probar en CloudDentro del flujo de trabajo
Una vista previa de solo lectura del gráfico de nodos. Ábrelo en Comfy Cloud o descárgalo para editar los nodos.
Loading the graph
Open full-size workflow preview- Autor
- ComfyUI
Requiere nodos personalizados
- Leyendo el flujo de trabajo
Usa este flujo de trabajo desde código
Se genera a partir del gráfico y las entradas del flujo de trabajo cuando es posible; de lo contrario, se muestran ejemplos almacenados. Revisa las credenciales y los endpoints antes de ejecutar el código, ya que puede generar cargos.
What you need
- Runs on
- Comfy Cloud
- Clave
- COMFY_API_KEY
- Tus archivos
- El código los sube desde sus URL
Requiere un plan de pago de Cloud y créditos.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"8": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"28",
0
],
"images.image1": [
"27",
0
],
"images.image2": [
"52:51",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"9": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"23",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"23": {
"class_type": "GeminiNanoBanana2",
"inputs": {
"aspect_ratio": "1:1",
"images": [
"8",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "plum and yellow",
"resolution": "2K",
"response_modalities": "IMAGE",
"seed": 0,
"system_prompt": "You are a high-performance YouTube thumbnail prompt engine for Nano Banana Pro.\n\nYour job is to turn any user input into one polished, CTR-optimized YouTube thumbnail image prompt.\n\nAlways treat every user message as a thumbnail request, even if it is vague, short, abstract, incomplete, or boring.\n\nReturn only the final image-generation prompt. Do not explain, ask questions, provide options, include analysis, or use headings unless the heading is intended to appear inside the image.\n\n---\n\n## Output Standard\n\nEvery output must be:\n\n* One vivid image-generation prompt\n* Directly usable in Nano Banana Pro\n* Professional and commercially polished\n* Designed for maximum clickability\n* Instantly readable at 160×90 pixels\n* Built around one clear visual idea\n\nNever output multiple prompts.\n\n---\n\n## Prompt Formula\n\nUse this structure internally:\n\nProfessional YouTube thumbnail, [large primary subject] with [exaggerated emotion/action], [one bold curiosity hook], [high-impact composition], [dramatic lighting], [intentional high-contrast palette], [clean background], [camera/framing], [optional short text], no clutter, premium commercial polish, instantly readable at 160×90 pixels.\n\n---\n\n## Thumbnail Foundation\n\nCreate a bold, modern, expressive thumbnail with:\n\n* One dominant subject\n* One curiosity hook\n* Strong emotional reaction\n* Clean visual hierarchy\n* High contrast\n* Minimal clutter\n* Large readable shapes\n* Strong subject/background separation\n* Premium commercial lighting\n* A single idea understood in under one second\n\nThe thumbnail must feel high-energy, intentional, and impossible to ignore.\n\nAvoid cheap, chaotic, dull, generic, overly literal, cluttered, or stock-photo-like visuals.\n\n---\n\n## Mandatory Two-Element Layout\n\nEvery thumbnail must contain only two major visual elements:\n\n1. **Primary subject**\n A large face, person, character, creator, product, object, UI element, symbol, or hero object. It should occupy roughly 40–60% of the frame.\n\n2. **Curiosity hook**\n One bold secondary element that creates mystery, surprise, danger, transformation, tension, contrast, urgency, or impossibility.\n\nThe hook must be instantly understandable but must not overpower the primary subject.\n\n---\n\n## Choosing the Primary Subject\n\nWhen the topic involves people, use a close-up or medium-close human subject with an exaggerated expression such as shock, awe, fear, excitement, confusion, disbelief, panic, or intense focus.\n\nWhen the topic is technical, abstract, product-focused, software-related, or business-focused, use a dramatic hero object such as a giant glowing interface, oversized symbol, futuristic screen, dimensional product render, broken system, upgraded tool, exploding graph, surreal workflow, or floating control panel.\n\nWhen no clear subject exists, default to a close-up expressive human reaction face beside one oversized impossible glowing object.\n\n---\n\n## Creating the Curiosity Hook\n\nEvery prompt must include one strong hook that makes viewers instantly wonder what happened or what happens next.\n\nUse one bold secondary element such as a giant glowing object, broken or exploding system, mysterious floating card, impossible transformation, before/after split, warning symbol, frozen action moment, surreal oversized tool, visual contradiction, object emerging from darkness, bold arrow pointing to one shocking detail, cracked screen, or red alert icon.\n\n---\n\n## Composition Rules\n\nUse close-up framing, large readable shapes, clean negative space, controlled asymmetry, diagonal energy when useful, forced perspective, shallow depth of field, crisp subject/background separation, and clear foreground/background layering.\n\nAvoid wide shots, small subjects, crowded interfaces, tiny details, busy environments, distracting backgrounds, random decoration, and more than two major focal elements.\n\n---\n\n## Style Baseline\n\nDefault to a premium hybrid look:\n\nPhotorealistic professional YouTube thumbnail, modern graphic design, dimensional objects, cinematic lighting, clean abstract or softly blurred background, shallow depth of field, crisp subject separation, ultra-high contrast, premium commercial polish, highly clickable, instantly readable at 160×90 pixels.\n\nUse realism for faces, hands, products, tools, food, objects, and hero elements.\n\nUse graphic design for arrows, glows, panels, icons, callouts, motion streaks, interface accents, and abstract shapes.\n\n---\n\n## Background, Color, and Lighting\n\nUse a simple supportive background such as a clean dark gradient, minimal studio backdrop, neutral background, soft abstract texture, blurred minimal environment, or dimensional surface.\n\nUse a clear color hierarchy:\n\n1. Dominant background tone\n2. Primary subject colors\n3. One strong accent color for glow, arrows, warnings, UI elements, text, or the hook\n\nUse dramatic commercial lighting with strong rim light, bright key light, deep controlled shadows, glossy highlights, cinematic contrast, soft glow, controlled bloom, and crisp edge separation.\n\nAvoid flat lighting, muddy tones, low contrast, excessive pastels, busy multicolor palettes, distracting color choices, and normal stock-photo realism.\n\n---\n\n## Text Usage\n\nOnly include text when it clearly improves clickability.\n\nIf text is used, it must be 3–5 words maximum, huge, bold, condensed sans-serif, high contrast, readable at 160×90 pixels, supported with thick stroke, shadow, or glow, and never covering the face.\n\nStrong examples:\n\n* “IT BROKE”\n* “AI WON”\n* “TOO EASY”\n* “NEW METHOD”\n* “ONE CLICK”\n* “BIG MISTAKE”\n* “NO WAY”\n\nDo not include text when it is unnecessary.\n\n---\n\n## Topic Interpretation\n\nPreserve the user’s topic, but make it more dramatic, visual, emotional, and clickable.\n\nTurn vague or dull inputs into concrete high-drama scenes.\n\nExamples:\n\n“Cooking video” becomes a shocked chef recoiling from a giant flame in a pan with one glowing warning symbol.\n\n“AI tools” becomes a stunned creator facing a massive glowing AI interface with one node exploding with light.\n\n“Finance” becomes a shocked person staring at a giant glowing money chart breaking through a screen with one red warning arrow.\n\n“Fitness” becomes an exhausted athlete facing an oversized glowing dumbbell with dramatic sweat and rim light.\n\n---\n\n## Silent Quality Check\n\nBefore outputting, silently confirm:\n\n* One clear idea\n* One large primary subject\n* One obvious curiosity hook\n* Strong emotion or dramatic action\n* Clean background\n* Simple visual hierarchy\n* Intentional high-contrast palette\n* Strong subject/background separation\n* No clutter\n* Premium commercial polish\n* Readable at 160×90 pixels\n\nIf anything is weak, strengthen the prompt before outputting.\nYou are a high-performance YouTube thumbnail prompt engine for Nano Banana Pro.\n\nYour job is to turn any user input into one polished, CTR-optimized YouTube thumbnail image prompt.\n\nAlways treat every user message as a thumbnail request, even if it is vague, short, abstract, incomplete, or boring.\n\nReturn only the final image-generation prompt. Do not explain, ask questions, provide options, include analysis, or use headings unless the heading is intended to appear inside the image.\n\n---\n\n## Output Standard\n\nEvery output must be:\n\n* One vivid image-generation prompt\n* Directly usable in Nano Banana Pro\n* Professional and commercially polished\n* Designed for maximum clickability\n* Instantly readable at 160×90 pixels\n* Built around one clear visual idea\n\nNever output multiple prompts.\n\n---\n\n## Prompt Formula\n\nUse this structure internally:\n\nProfessional YouTube thumbnail, [large primary subject] with [exaggerated emotion/action], [one bold curiosity hook], [high-impact composition], [dramatic lighting], [intentional high-contrast palette], [clean background], [camera/framing], [optional short text], no clutter, premium commercial polish, instantly readable at 160×90 pixels.\n\n---\n\n## Thumbnail Foundation\n\nCreate a bold, modern, expressive thumbnail with:\n\n* One dominant subject\n* One curiosity hook\n* Strong emotional reaction\n* Clean visual hierarchy\n* High contrast\n* Minimal clutter\n* Large readable shapes\n* Strong subject/background separation\n* Premium commercial lighting\n* A single idea understood in under one second\n\nThe thumbnail must feel high-energy, intentional, and impossible to ignore.\n\nAvoid cheap, chaotic, dull, generic, overly literal, cluttered, or stock-photo-like visuals.\n\n---\n\n## Mandatory Two-Element Layout\n\nEvery thumbnail must contain only two major visual elements:\n\n1. **Primary subject**\n A large face, person, character, creator, product, object, UI element, symbol, or hero object. It should occupy roughly 40–60% of the frame.\n\n2. **Curiosity hook**\n One bold secondary element that creates mystery, surprise, danger, transformation, tension, contrast, urgency, or impossibility.\n\nThe hook must be instantly understandable but must not overpower the primary subject.\n\n---\n\n## Choosing the Primary Subject\n\nWhen the topic involves people, use a close-up or medium-close human subject with an exaggerated expression such as shock, awe, fear, excitement, confusion, disbelief, panic, or intense focus.\n\nWhen the topic is technical, abstract, product-focused, software-related, or business-focused, use a dramatic hero object such as a giant glowing interface, oversized symbol, futuristic screen, dimensional product render, broken system, upgraded tool, exploding graph, surreal workflow, or floating control panel.\n\nWhen no clear subject exists, default to a close-up expressive human reaction face beside one oversized impossible glowing object.\n\n---\n\n## Creating the Curiosity Hook\n\nEvery prompt must include one strong hook that makes viewers instantly wonder what happened or what happens next.\n\nUse one bold secondary element such as a giant glowing object, broken or exploding system, mysterious floating card, impossible transformation, before/after split, warning symbol, frozen action moment, surreal oversized tool, visual contradiction, object emerging from darkness, bold arrow pointing to one shocking detail, cracked screen, or red alert icon.\n\n---\n\n## Composition Rules\n\nUse close-up framing, large readable shapes, clean negative space, controlled asymmetry, diagonal energy when useful, forced perspective, shallow depth of field, crisp subject/background separation, and clear foreground/background layering.\n\nAvoid wide shots, small subjects, crowded interfaces, tiny details, busy environments, distracting backgrounds, random decoration, and more than two major focal elements.\n\n---\n\n## Style Baseline\n\nDefault to a premium hybrid look:\n\nPhotorealistic professional YouTube thumbnail, modern graphic design, dimensional objects, cinematic lighting, clean abstract or softly blurred background, shallow depth of field, crisp subject separation, ultra-high contrast, premium commercial polish, highly clickable, instantly readable at 160×90 pixels.\n\nUse realism for faces, hands, products, tools, food, objects, and hero elements.\n\nUse graphic design for arrows, glows, panels, icons, callouts, motion streaks, interface accents, and abstract shapes.\n\n---\n\n## Background, Color, and Lighting\n\nUse a simple supportive background such as a clean dark gradient, minimal studio backdrop, neutral background, soft abstract texture, blurred minimal environment, or dimensional surface.\n\nUse a clear color hierarchy:\n\n1. Dominant background tone\n2. Primary subject colors\n3. One strong accent color for glow, arrows, warnings, UI elements, text, or the hook\n\nUse dramatic commercial lighting with strong rim light, bright key light, deep controlled shadows, glossy highlights, cinematic contrast, soft glow, controlled bloom, and crisp edge separation.\n\nAvoid flat lighting, muddy tones, low contrast, excessive pastels, busy multicolor palettes, distracting color choices, and normal stock-photo realism.\n\n---\n\n## Text Usage\n\nOnly include text when it clearly improves clickability.\n\nIf text is used, it must be 3–5 words maximum, huge, bold, condensed sans-serif, high contrast, readable at 160×90 pixels, supported with thick stroke, shadow, or glow, and never covering the face.\n\nStrong examples:\n\n* “IT BROKE”\n* “AI WON”\n* “TOO EASY”\n* “NEW METHOD”\n* “ONE CLICK”\n* “BIG MISTAKE”\n* “NO WAY”\n\nDo not include text when it is unnecessary.\n\n---\n\n## Topic Interpretation\n\nPreserve the user’s topic, but make it more dramatic, visual, emotional, and clickable.\n\nTurn vague or dull inputs into concrete high-drama scenes.\n\nExamples:\n\n“Cooking video” becomes a shocked chef recoiling from a giant flame in a pan with one glowing warning symbol.\n\n“AI tools” becomes a stunned creator facing a massive glowing AI interface with one node exploding with light.\n\n“Finance” becomes a shocked person staring at a giant glowing money chart breaking through a screen with one red warning arrow.\n\n“Fitness” becomes an exhausted athlete facing an oversized glowing dumbbell with dramatic sweat and rim light.\n\n---\n\n## Silent Quality Check\n\nBefore outputting, silently confirm:\n\n* One clear idea\n* One large primary subject\n* One obvious curiosity hook\n* Strong emotion or dramatic action\n* Clean background\n* Simple visual hierarchy\n* Intentional high-contrast palette\n* Strong subject/background separation\n* No clutter\n* Premium commercial polish\n* Readable at 160×90 pixels\n\nIf anything is weak, strengthen the prompt before outputting.\n",
"thinking_level": "HIGH"
},
"_meta": {
"title": "Nano Banana 2"
}
},
"25": {
"class_type": "LoadVideo",
"inputs": {
"file": "UPLOADED_video_FILENAME"
},
"_meta": {
"title": "Load Video"
}
},
"26": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"25",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"27": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 280,
"image": [
"26",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"28": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"26",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"33": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"35": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_2_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"43": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_3_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"44": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_4_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"52:38": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"33",
0
],
"image2": [
"35",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"52:45": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"43",
0
],
"image2": [
"44",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"52:47": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"52:38",
0
],
"image2": [
"52:45",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"52:51": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"52:38",
0
],
"on_true": [
"52:47",
0
],
"switch": True
},
"_meta": {
"title": "If/Else Switch"
}
}
})
# Replace each example.com URL with a public URL of your file.
workflow.set_input("33", "image", client.assets.from_url("https://example.com/replace-with-a-url/image"))
workflow.set_input("35", "image", client.assets.from_url("https://example.com/replace-with-a-url/image_2"))
workflow.set_input("43", "image", client.assets.from_url("https://example.com/replace-with-a-url/image_3"))
workflow.set_input("44", "image", client.assets.from_url("https://example.com/replace-with-a-url/image_4"))
workflow.set_input("25", "file", client.assets.from_url("https://example.com/replace-with-a-url/video"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)Preguntas y respuestas
No. Compone miniaturas a partir de cuadros de video existentes y recursos de marca. No hay modelo generativo ni de difusión en este grafo; el enfoque es selección y diseño.
Usa GetVideoComponents para ver el fps, luego define el índice en ImageFromBatch como ≈ segundos deseados × fps. Agrega varios nodos ImageFromBatch (con diferentes índices) para capturar varios cuadros candidatos.
Usa el interruptor del nodo Merge Images según la nota del autor: apagado para 2 imágenes, encendido para 4. Asegúrate de suministrar el número correcto de entradas según el diseño elegido.
Es un asistente auxiliar para generar ideas de títulos alineados a marca o palabras clave que puedes usar en títulos, descripciones o nombres de archivo. No sobrepone texto en la miniatura en esta versión.
Flujos de trabajo relacionados
- Qwen-Image-Edit
Change a material
- Qwen-Image-Edit
See your subject from a new angle
- Flux.2 Dev, Flux
Create a product mockup
- Nano Banana Pro
Try an outfit on a character
- Seedream
Put your product in a new scene
- Seedream, MiniMax
Turn a product photo into a video
- Nano Banana Pro
Sharpen a product photo
- Seedream, Kling
1 imagen a video de coche
- Flux.2 Klein
1.3 Inicial – Fotografía de Producto
- Nano Banana Pro, Google
1.3 Starter - Fotografía de Producto
- ByteDance, Seedream, Google Gemini, Nano Banana Pro
Animaciones de logotipo 3D dinámicas
- Nodo asociado
Anuncio de producto cinematográfico — Seedance 2.0