ComfyPilotComfyPilot
工作流 / 图像 / Nano Banana 2: 文生图
Nano Banana 2: 文生图

Nano Banana 2: 文生图

Nano Banana 2: Text to Image

使用Nano Banana 2模型从文本提示生成图像,产生一个图像输出,无需文件输入。适用于快速原型设计、概念艺术生成和创意探索。

图像 2 个节点 72 次使用 ComfyUI ≥ 0.20.3 ComfyUI 4 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

SaveImage × 1
GeminiNanoBanana2V2 × 1

官方标注的模型

Nano Banana 2

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "91dff0a2-fa31-4347-996a-f6955b179370",
3 "revision": 0,
4 "last_node_id": 24,
5 "last_link_id": 24,
6 "nodes": [
7 {
8 "id": 9,
9 "type": "SaveImage",
10 "pos": [
11 2524.188006365741,
12 530
13 ],
14 "size": [
15 355.140625,
16 419.46875
17 ],
18 "flags": [],
19 "order": 1,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 24
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": null
33 }
34 ],
35 "properties": {
36 "cnr_id": "comfy-core",
37 "ver": "0.20.1"
38 },
39 "widgets_values": [
40 "Nano_Banana2"
41 ]
42 },
43 {
44 "id": 24,
45 "type": "GeminiNanoBanana2V2",
46 "pos": [
47 2089.999888967814,
48 529.9999771307523
49 ],
50 "size": [
51 400,
52 416
53 ],
54 "flags": [],
55 "order": 0,
56 "mode": 0,
57 "inputs": [
58 {
59 "label": "image_1",
60 "name": "model.images.image_1",
61 "shape": 7,
62 "type": "IMAGE",
63 "link": null
64 },
65 {
66 "label": "files",
67 "name": "model.files",
68 "shape": 7,
69 "type": "GEMINI_INPUT_FILES",
70 "link": null
71 }
72 ],
73 "outputs": [
74 {
75 "name": "IMAGE",
76 "type": "IMAGE",
77 "links": [
78 24
79 ]
80 },
81 {
82 "name": "STRING",
83 "type": "STRING",
84 "links": null
85 },
86 {
87 "name": "thought_image",
88 "type": "IMAGE",
89 "links": null
90 }
91 ],
92 "properties": {
93 "cnr_id": "comfy-core",
94 "ver": "0.20.1",
95 "Node name for S&R": "GeminiNanoBanana2V2"
96 },
97 "widgets_values": [
98 "A graphic design poster with a futuristic sci-fi aesthetic, 1:1 aspect ratio. The central subject is an abstract, organic-synthetic alien bust featuring a translucent, glowing glass-like helmet overlay on top. The head has a misty, semi-transparent outer shell housing a fluid, swirling inner core of vibrant glossy orange, deep purple, and polished chrome. No eyes or mechanical lines. The background is a warm, soft peach-colored canvas. At the top, bold black futuristic typography reads \"NANO BANANA 2\". Modern editorial layout with elegant design, high-contrast atmospheric lighting, and minimalist UI text elements referencing ComfyUI workflows. Sophisticated art-tech style with a misty, dreamy, and highly artistic design feel.",
99 "Nano Banana 2 (Gemini 3.1 Flash Image)",
100 "1:1",
101 "1K",
102 "MINIMAL",
103 680270809813060,
104 "randomize",
105 "IMAGE",
106 "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.",
107 1,
108 0.95
109 ],
110 "color": "#432",
111 "bgcolor": "#653"
112 }
113 ],
114 "links": [
115 [
116 24,
117 24,
118 0,
119 9,
120 0,
121 "IMAGE"
122 ]
123 ],
124 "groups": [],
125 "config": [],
126 "extra": {
127 "ds": {
128 "scale": 1.1024100629154843,
129 "offset": [
130 -1935.560156609306,
131 -231.8169364482327
132 ]
133 },
134 "frontendVersion": "1.45.21",
135 "workflowRendererVersion": "LG"
136 },
137 "version": 0.4
138}