> ## 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.

# OpenAIGPTImageSVGNode - ComfyUI Built-in Node Documentation

> OpenAI GPT Image 2.6 SVG 使用 OpenAI 的 GPT Image 模型根据提示词生成可编辑的 SVG。

## 概述

OpenAI GPT Image 2.6 SVG 使用 OpenAI 的 GPT Image 模型根据提示词生成可编辑的 SVG。结果是矢量标记，因此形状和文本在矢量编辑器中仍可编辑。有两个模型可用：`gpt-image-2.6-flare` 和 `gpt-image-2.6-sunburst`。

## 输入

### 通用输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `model` | 用于 SVG 的 GPT Image 模型。 | DYNAMIC\_COMBO | 是 | `"gpt-image-2.6-flare"` `"gpt-image-2.6-sunburst"` |

### gpt-image-2.6-flare 和 gpt-image-2.6-sunburst 输入

两个模型共享相同的参数。

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `model.prompt` | 要绘制的 SVG 的描述。（默认：`""`） | STRING | 是 | N/A |
| `model.size` | 用于绘制 SVG 的参考图像的尺寸。（默认：`"1024x1024"`） | COMBO | 是 | `"1024x1024"` `"1024x1536"` `"1536x1024"` |
| `model.background` | 参考图像的背景。（默认：`"auto"`） | COMBO | 是 | `"auto"` `"opaque"` `"transparent"` |
| `model.quality` | 用于绘制 SVG 的参考图像的质量。（默认：`"low"`） | COMBO | 是 | `"low"` `"medium"` `"high"` `"xhigh"` `"max"` |
| `model.complexity` | 模型在渲染前对参考图像进行规划的程度。（默认：`"high"`） | COMBO | 是 | `"low"` `"medium"` `"high"` |
| `model.seed` | 控制节点是否重新运行；无论随机种子如何，结果都是非确定性的。（默认：`42`） | INT | 是 | 0 到 2147483647 |

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `svg` | 以 SVG 标记形式生成的矢量图像。 | SVG |

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

***

**Source fingerprint (SHA-256):** `8ac2f473b265d3b6857e6280a1c017301b124fc6d671ec83a59c677218062c90`


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