update i18n
This commit is contained in:
@@ -257,5 +257,50 @@
|
||||
"name": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"YCYY_ModelScope_Image_API": {
|
||||
"display_name": "ModelScope Image API",
|
||||
"description": "This node uses the ModelScope API to generate images.",
|
||||
"inputs": {
|
||||
"config_options": {
|
||||
"name": "config_options",
|
||||
"tooltip": "Optional configuration override from YCYY API Config Options"
|
||||
},
|
||||
"proxy_options": {
|
||||
"name": "proxy_options",
|
||||
"tooltip": "Optional proxy configuration override from YCYY API Proxy Options"
|
||||
},
|
||||
"prompt": {
|
||||
"name": "prompt",
|
||||
"tooltip": "Image generation positive prompt"
|
||||
},
|
||||
"negative_prompt": {
|
||||
"name": "negative_prompt",
|
||||
"tooltip": "Image generation negative prompt"
|
||||
},
|
||||
"model": {
|
||||
"name": "model"
|
||||
},
|
||||
"width": {
|
||||
"name": "width"
|
||||
},
|
||||
"height": {
|
||||
"name": "height"
|
||||
},
|
||||
"steps": {
|
||||
"name": "steps"
|
||||
},
|
||||
"guidance": {
|
||||
"name": "guidance"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"0": {
|
||||
"name": "Image"
|
||||
},
|
||||
"1": {
|
||||
"name": "String"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -258,5 +258,50 @@
|
||||
"name": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"YCYY_ModelScope_Image_API": {
|
||||
"display_name": "魔搭图像API",
|
||||
"description": "该节点使用 ModelScope API 生成图像",
|
||||
"inputs": {
|
||||
"config_options":{
|
||||
"name": "配置选项",
|
||||
"tooltip": "可选配置覆盖选项,来自 YCYY API 配置选项"
|
||||
},
|
||||
"proxy_options":{
|
||||
"name": "代理选项",
|
||||
"tooltip": "可选代理覆盖选项,来自 YCYY API 代理选项"
|
||||
},
|
||||
"prompt": {
|
||||
"name": "prompt",
|
||||
"tooltip": "图像生成正向提示"
|
||||
},
|
||||
"negative_prompt": {
|
||||
"name": "negative_prompt",
|
||||
"tooltip": "图像生成负向提示"
|
||||
},
|
||||
"model": {
|
||||
"name": "模型"
|
||||
},
|
||||
"width": {
|
||||
"name": "宽度"
|
||||
},
|
||||
"height": {
|
||||
"name": "高度"
|
||||
},
|
||||
"steps": {
|
||||
"name": "采样步数"
|
||||
},
|
||||
"guidance": {
|
||||
"name": "提示词引导系数"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"0": {
|
||||
"name": "图像"
|
||||
},
|
||||
"1": {
|
||||
"name": "字符串"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -162,6 +162,16 @@ class ModelScopeImage(io.ComfyNode):
|
||||
display_name="ModelScope Image API",
|
||||
category="YCYY/API/image",
|
||||
inputs=[
|
||||
io.AnyType.Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options"
|
||||
),
|
||||
io.String.Input(
|
||||
id="prompt",
|
||||
multiline=True,
|
||||
@@ -206,16 +216,6 @@ class ModelScopeImage(io.ComfyNode):
|
||||
default=3.5,
|
||||
step=0.1
|
||||
),
|
||||
io.AnyType.Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override"
|
||||
),
|
||||
io.Int.Input(
|
||||
id="seed",
|
||||
min=0,
|
||||
|
||||
Reference in New Issue
Block a user