Couverture de magazine et design d'emballage
Concevez la mise en page du texte pour la couverture de votre magazine et explorez les options d’emballage.
À propos
Ce workflow ComfyUI aide à créer des couvertures de magazine professionnelles et à explorer des options de packaging. Il exploite la puissance du modèle Nano Banana Pro pour générer des images et des mises en page de haute qualité, garantissant une couverture de magazine soignée et attrayante. Le workflow commence par le nœud LoadImage, qui permet d’importer votre image ou photo de base. Celle-ci est ensuite traitée via le GeminiImage2Node, qui applique des techniques avancées de mise en page texte pour intégrer titres, accroches et autres éléments textuels sur la couverture. Enfin, le nœud SaveImage permet d’enregistrer le design final dans le format souhaité pour un partage ou une impression facile.
Techniquement, ce workflow est efficace et convivial, ce qui en fait un excellent choix pour les débutants comme pour les designers expérimentés. L’utilisation du modèle Google en complément de Nano Banana Pro améliore la capacité du workflow à gérer des tâches de design complexes, comme l’équilibre entre texte et image pour un rendu visuel optimal. Ce workflow est particulièrement utile pour les professionnels de l’édition ou toute personne souhaitant créer des couvertures de magazine et des designs packaging percutants avec un minimum d’effort.
Ce que vous fournissez
- Lecture du workflow
S’exécute dans ComfyUI. Ce workflow ne peut pas s’exécuter sur cette page. Ouvrez-le dans Comfy Cloud, avec tout déjà chargé, ou téléchargez-le pour votre propre ComfyUI.
Essayer dans CloudDans le workflow
Un aperçu en lecture seule du graphe de nœuds. Ouvrez-le dans Comfy Cloud ou téléchargez-le pour modifier les nœuds.
Loading the graph
Open full-size workflow preview- Auteur
- Rob
Nécessite des nœuds personnalisés
- Lecture du workflow
Utiliser ce workflow depuis du code
Généré à partir du graphe et des entrées du workflow lorsque cela est possible ; sinon, les exemples enregistrés sont affichés. Vérifiez les identifiants et les points de terminaison avant d’exécuter le code, ce qui peut entraîner des frais.
What you need
- Runs on
- Comfy Cloud
- Clé
- COMFY_API_KEY
- Vos fichiers
- Importés par le code depuis leurs URL
Nécessite un forfait Cloud payant et des crédits.
# 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({
"1": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "3:4",
"images": [
"2",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Add flat, 2D magazine typography on top of the image. No 3D, no depth, no shadows, no blending — text must sit completely flat.\n\nMain title:\nCOMFY — large condensed sans-serif, pale yellow (#F5EFA8), clean and sharp.\n\nAll other text:\nSmall white sans-serif, transparent background, flat. Minimal spacing, modern editorial style.\n\nAdd these lines with minimal, high-fashion layout:\n- THE BANANA ISSUE\n- Dependency? Never Heard of It.\n- Nerdy Is the New Trend — SF 2025\n- Unhinged Motion Studies\n- Node • Chaos • Object Power\n\nUse asymmetric placement, clean negative space, and a calm, high-end editorial feel (Acne Paper / i-D minimalist style). Slight contrast boost and high-fashion clarity.\n",
"resolution": "2K",
"response_modalities": "IMAGE",
"seed": 0,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"2": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"3": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "magazine_cover",
"images": [
"1",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"4": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "3:4",
"images": [
"2",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Add flat, experimental street-art typography while keeping the main photo fully visible. Do NOT cover faces, bodies, or the banana. Place text only on the edges and negative spaces.\n\nColors: pale yellow (#F5EFA8), white, black.\n\nMain title:\nCOMFY — pale yellow, very large, partially cropped on the top or sides.\n\nUse mixed typefaces:\nultra-condensed, wide grotesk, stretched caps, stencil letters, tiny vertical micro text.\n\nAdd these lines in yellow/white/black:\n- THE BANANA ISSUE\n- Dependency? Never Heard of It.\n- Sorry, AI Haters.\n- Nerdy Is the New Flex — SF 2025\n- Node • Chaos • Object Power\n\nInclude artistic elements:\nhuge cropped letters, rotated text, small symbols (● ▲ ■), micro paragraphs.\n\nKeep the center clean. Typography sits around the borders like a street poster collage. All text must be 2D, flat, sharp, and graphic.\n",
"resolution": "2K",
"response_modalities": "IMAGE",
"seed": 0,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"5": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"4",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"6": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "3:4",
"images": [
"2",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Add flat 2D text over the image in a bold, experimental poster style. Typography should be fully flat with no texture or depth or shade.\n\n\nMain masthead:\nCOMFY — pale yellow (#F5EFA8), compressed sans-serif (Dazed-style), large and graphic.\n\nSecondary text:\nSmaller white condensed sans-serif, transparent background.\n\n- THE BANANA ISSUE\n- Sorry, AI Haters.\n- Nerdy Is the New Trend — SF 2025\n- NODE / FORCE / MOTION\n\nKeep layout sharp, graphic, and experimental, like a hybrid between fashion editorial and glitchy tech posters. Maintain natural photo clarity but enhance contrast.\n\nIn terms of layers, The Banana and the 2 people shoud be the front layer. Overlay the text.",
"resolution": "2K",
"response_modalities": "IMAGE",
"seed": 0,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"7": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "magazine_cover",
"images": [
"6",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"8": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "3:4",
"images": [
"1",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Place a magazine with the cover of this image inside a very transparent plastic envelope (90% transparency) with a string-and-button closure. \nThe envelope should be only slightly glossy, not overly reflective, and appear realistic. \nThe envelope is slightly larger than the magazine, so a small empty gap is visible between the magazine edges and the inside edges of the envelope.\n\nThe plastic should show soft light diffusion, minimal reflections, and clear visibility of the magazine cover through the material, only gently muted by the transparency. \n\nShow accurate plastic seams, edges, and the string-and-button fasteners. \nMaintain realistic proportions and preserve the original lighting style of the photo.\nPlace the envelope on a black background.\n",
"resolution": "2K",
"response_modalities": "IMAGE",
"seed": 983033719578595,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"9": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "magazine_cover",
"images": [
"8",
0
]
},
"_meta": {
"title": "Save Image"
}
}
})
# Replace each example.com URL with a public URL of your file.
workflow.set_input("2", "image", client.assets.from_url("https://example.com/replace-with-a-url/image"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)Questions-réponses
Oui, vous pouvez charger n’importe quelle image via le nœud LoadImage pour démarrer votre design.
Le nœud SaveImage prend en charge plusieurs formats comme JPEG, PNG et TIFF, offrant une grande flexibilité pour l’enregistrement.
Non, ce workflow est conçu pour être accessible à tous, quel que soit le niveau d’expérience en design.
Le GeminiImage2Node propose des options pour ajuster la taille, la couleur et la position du texte afin d’assurer lisibilité et esthétique.