
参数说明
基本参数
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| substyle | 选择项 | - | Logo栅格风格的具体子风格(必选) |
输出
| 输出 | 类型 | 说明 |
|---|---|---|
| recraft_style | Recraft Style | 风格配置对象,连接到Recraft生成节点 |
使用示例
Recraft Text to Image 工作流示例
Recraft Text to Image 工作流示例
为Recraft图像生成设置Logo栅格风格的辅助节点

| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| substyle | 选择项 | - | Logo栅格风格的具体子风格(必选) |
| 输出 | 类型 | 说明 |
|---|---|---|
| recraft_style | Recraft Style | 风格配置对象,连接到Recraft生成节点 |
class RecraftStyleV3LogoRasterNode(RecraftStyleV3RealisticImageNode):
"""
Select vector_illustration style and optional substyle.
"""
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"substyle": (get_v3_substyles(s.RECRAFT_STYLE, include_none=False),),
}
}
RECRAFT_STYLE = RecraftStyleV3.logo_raster