ComfyPilotComfyPilot
工作流 / 矢量 / Ideogram Vector 1:文本转 SVG
Ideogram Vector 1:文本转 SVG

Ideogram Vector 1:文本转 SVG

Ideogram Vector 1: Text to SVG

使用 Ideogram Vector 1 从提示词生成完全可编辑的 SVG,可选最多五张参考图像作为引导,并将其保存为一个矢量文件。非常适合标志、海报、扁平插画、图案和线稿,在任何尺寸下都保持清晰,并可直接在矢量编辑器中打开。

矢量 5 个节点 1 个输入 16 次使用 ComfyUI ≥ 0.42.5 ComfyUI 7 KB

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

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

节点构成

MarkdownNote × 2
LoadImage × 1
IdeogramVectorGenerateApi × 1
SaveSVGNode × 1

官方标注的模型

Ideogram

工作流 JSON

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

1{
2 "id": "5f3b6b1e-9d4a-4c8e-9a3f-6c1d2b7a0e54",
3 "revision": 0,
4 "last_node_id": 11,
5 "last_link_id": 3,
6 "nodes": [
7 {
8 "id": 11,
9 "type": "MarkdownNote",
10 "pos": [
11 1180,
12 1370
13 ],
14 "size": [
15 430,
16 560
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [],
23 "properties": [],
24 "widgets_values": [
25 "# Ideogram Vector 1: Text to SVG\n\nTurns a text prompt into a fully editable **SVG** you can open in any vector editor. Best for logos, posters, flat illustration, patterns and line art.\n\n## Input Asset\n\n- [academic-svg.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/academic-svg.png)\n\n## Prompt tips\n- Describe shapes, palette and composition rather than camera settings.\n- Put lettering in quotes, e.g. `'COSTIERA AMALFITANA'`.\n- `aspect_ratio` on `auto` derives the canvas from the prompt, or from image 1.\n\n## Optional style reference\nConnect up to 5 images to the `ref_image_1` ... `ref_image_5` inputs, then call them in the prompt as `@Image1`, `@Image2`, ... Image 1 is the main source.\n\n## Notes\n- The seed is fixed so the same prompt reproduces the same SVG. Set `control_after_generate` to `randomize` for variations.\n- This is an API node: sign in and keep credits available ([API node overview](https://docs.comfy.org/tutorials/partner-nodes/overview)).\n"
26 ],
27 "widgets_values_named": {
28 "text": "# Ideogram Vector 1: Text to SVG\n\nTurns a text prompt into a fully editable **SVG** you can open in any vector editor. Best for logos, posters, flat illustration, patterns and line art.\n\n## Input Asset\n\n- [academic-svg.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/academic-svg.png)\n\n## Prompt tips\n- Describe shapes, palette and composition rather than camera settings.\n- Put lettering in quotes, e.g. `'COSTIERA AMALFITANA'`.\n- `aspect_ratio` on `auto` derives the canvas from the prompt, or from image 1.\n\n## Optional style reference\nConnect up to 5 images to the `ref_image_1` ... `ref_image_5` inputs, then call them in the prompt as `@Image1`, `@Image2`, ... Image 1 is the main source.\n\n## Notes\n- The seed is fixed so the same prompt reproduces the same SVG. Set `control_after_generate` to `randomize` for variations.\n- This is an API node: sign in and keep credits available ([API node overview](https://docs.comfy.org/tutorials/partner-nodes/overview)).\n"
29 },
30 "color": "#222",
31 "bgcolor": "#000"
32 },
33 {
34 "id": 8,
35 "type": "LoadImage",
36 "pos": [
37 1680,
38 1370
39 ],
40 "size": [
41 360,
42 520
43 ],
44 "flags": [],
45 "order": 0,
46 "mode": 0,
47 "inputs": [],
48 "outputs": [
49 {
50 "name": "IMAGE",
51 "type": "IMAGE",
52 "links": null
53 },
54 {
55 "name": "MASK",
56 "type": "MASK",
57 "links": null
58 }
59 ],
60 "properties": {
61 "Node name for S&R": "LoadImage"
62 },
63 "widgets_values": [
64 "academic-svg.png",
65 "image"
66 ],
67 "widgets_values_named": {
68 "image": "academic-svg.png",
69 "upload": "image"
70 }
71 },
72 {
73 "id": 9,
74 "type": "MarkdownNote",
75 "pos": [
76 1680,
77 1930
78 ],
79 "size": [
80 360,
81 130
82 ],
83 "flags": [],
84 "order": 3,
85 "mode": 0,
86 "inputs": [],
87 "outputs": [],
88 "properties": [],
89 "widgets_values": [
90 "Plug a reference image into the Ideogram Vector Generate SVG node. Then you can use it for the style reference."
91 ],
92 "widgets_values_named": {
93 "text": "Plug a reference image into the Ideogram Vector Generate SVG node. Then you can use it for the style reference."
94 },
95 "color": "#222",
96 "bgcolor": "#000"
97 },
98 {
99 "id": 5,
100 "type": "IdeogramVectorGenerateApi",
101 "pos": [
102 2120,
103 1370
104 ],
105 "size": [
106 400,
107 320
108 ],
109 "flags": [],
110 "order": 1,
111 "mode": 0,
112 "inputs": [
113 {
114 "name": "model.images.image_1",
115 "shape": 7,
116 "type": "IMAGE",
117 "link": null
118 }
119 ],
120 "outputs": [
121 {
122 "name": "SVG",
123 "type": "SVG",
124 "links": [
125 3
126 ]
127 }
128 ],
129 "properties": {
130 "Node name for S&R": "IdeogramVectorGenerateApi"
131 },
132 "widgets_values": [
133 "ideogram-vector-1",
134 "A vintage travel poster illustration of the Amalfi coast at golden hour: terraced lemon groves, pastel villas stacked on the cliff, small sailboats, layered flat color shapes with fine hatching, warm cream and terracotta palette, distressed paper texture, condensed serif lettering 'COSTIERA AMALFITANA' across the bottom",
135 "auto",
136 "medium",
137 1324369847,
138 "fixed",
139 "fixed"
140 ],
141 "widgets_values_named": {
142 "model": "ideogram-vector-1",
143 "model.prompt": "A vintage travel poster illustration of the Amalfi coast at golden hour: terraced lemon groves, pastel villas stacked on the cliff, small sailboats, layered flat color shapes with fine hatching, warm cream and terracotta palette, distressed paper texture, condensed serif lettering 'COSTIERA AMALFITANA' across the bottom",
144 "model.aspect_ratio": "auto",
145 "model.quality": "medium",
146 "model.seed": 1324369847,
147 "control_after_generate#1": "fixed",
148 "control_after_generate": "fixed"
149 },
150 "color": "#432",
151 "bgcolor": "#653"
152 },
153 {
154 "id": 6,
155 "type": "SaveSVGNode",
156 "pos": [
157 2600,
158 1370
159 ],
160 "size": [
161 370,
162 470
163 ],
164 "flags": [],
165 "order": 2,
166 "mode": 0,
167 "inputs": [
168 {
169 "name": "svg",
170 "type": "SVG",
171 "link": 3
172 }
173 ],
174 "outputs": [
175 {
176 "name": "svg",
177 "type": "SVG",
178 "links": null
179 }
180 ],
181 "properties": {
182 "Node name for S&R": "SaveSVGNode"
183 },
184 "widgets_values": [
185 "svg/Ideogram_vector_1_text_to_svg"
186 ],
187 "widgets_values_named": {
188 "filename_prefix": "svg/Ideogram_vector_1_text_to_svg"
189 }
190 }
191 ],
192 "links": [
193 [
194 3,
195 5,
196 0,
197 6,
198 0,
199 "SVG"
200 ]
201 ],
202 "groups": [],
203 "config": [],
204 "extra": {
205 "ds": {
206 "scale": 0.65,
207 "offset": [
208 -1000,
209 -1150
210 ]
211 },
212 "frontendVersion": "1.58.0"
213 },
214 "version": 0.4
215}