> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# IdeogramVectorImageToSVGApi - ComfyUI Built-in Node Documentation

> 此节点使用 Ideogram Vector 将图像转换为可编辑的 SVG。结果是矢量标记而非位图图像，因此描摹出的形状在矢量编辑器中仍可编辑。

此节点使用 Ideogram Vector 将图像转换为可编辑的 SVG。结果是矢量标记而非位图图像，因此描摹出的形状在矢量编辑器中仍可编辑。具有 alpha 通道的图像透明区域保持透明。

## 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `model` | 要使用的模型。默认值：`"ideogram-vector-1"`。 | DYNAMIC\_COMBO | 是 | `"ideogram-vector-1"` |
| `image` | 要转换的图像。批量输入会逐张图像转换，生成的 SVG 会一并返回。 | IMAGE | 是 | - |
| `mode` | `"simple"` 会描摹出更少、更大的形状；`"default"` 会保留更精细的细节。默认值：`"default"`。 | COMBO | 是 | `"simple"` `"default"` |

**约束：**

* 最长边超过 2048 像素的图像会在上传前被缩小。

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `SVG` | 转换后的图像，作为可编辑的矢量标记。 | SVG |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/IdeogramVectorImageToSVGApi/zh.md)

***

**Source fingerprint (SHA-256):** `6553291e9d887b31485b9cbf8f6ced4186470eb47e8621ebb0f4e5df6542123e`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.