change input type
This commit is contained in:
@@ -167,12 +167,12 @@ class GeminiImage(io.ComfyNode):
|
||||
optional=True,
|
||||
tooltip="Optional image(s) to use as context for the model"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options"
|
||||
|
||||
@@ -163,12 +163,12 @@ class GeminiSTT(io.ComfyNode):
|
||||
default="",
|
||||
tooltip="The prompt to guide the transcription. You can ask for specific formats or instructions."
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY Gemini STT Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY Proxy Config Options"
|
||||
|
||||
@@ -28,12 +28,12 @@ class GeminiTTSMulti(io.ComfyNode):
|
||||
multiline=True,
|
||||
tooltip="Conversation text. Include speaker labels that match the configured speaker names."
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY Gemini TTS Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY Proxy Config Options"
|
||||
|
||||
@@ -190,12 +190,12 @@ class GeminiTTS(io.ComfyNode):
|
||||
multiline=True,
|
||||
tooltip="The text to convert to speech.You can control style, tone, accent, and pace using natural language prompts.For example:Say in an spooky whisper:\"By the pricking of my thumbs...Something wicked this way comes\""
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY Gemini TTS Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY Proxy Config Options"
|
||||
|
||||
@@ -201,12 +201,12 @@ class GrokImage(io.ComfyNode):
|
||||
optional=True,
|
||||
tooltip="Optional image(s) for image-to-image editing. Grok supports up to 3 reference images (1 for pro model)."
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options"
|
||||
|
||||
@@ -200,12 +200,12 @@ class ModelScopeImage(io.ComfyNode):
|
||||
optional=True,
|
||||
tooltip="Optional source image. Connect it to edit an image; leave it disconnected to generate one.",
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options.",
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options.",
|
||||
|
||||
@@ -105,17 +105,17 @@ class OllamaLLM(io.ComfyNode):
|
||||
display_name="Ollama LLM API",
|
||||
category="YCYY/API/text",
|
||||
inputs=[
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_OLLAMA_LLM_ADVANCED_OPTIONS").Input(
|
||||
id="advanced_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration for the model.Accepts inputs from the Ollama LLM Advanced Options node."
|
||||
|
||||
@@ -109,12 +109,12 @@ class OllamaVLM(io.ComfyNode):
|
||||
display_name="Ollama VLM API",
|
||||
category="YCYY/API/text",
|
||||
inputs=[
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Config Options"
|
||||
|
||||
@@ -317,12 +317,12 @@ class OpenAIImageAPI(io.ComfyNode):
|
||||
optional=True,
|
||||
tooltip="Optional mask for inpainting (white areas will be replaced). Requires exactly one reference image."
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional configuration override from YCYY API Config Options"
|
||||
),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional proxy configuration override from YCYY API Proxy Options"
|
||||
|
||||
@@ -192,10 +192,22 @@ class OpenAITextAPI(io.ComfyNode):
|
||||
),
|
||||
io.Image.Input("images", optional=True, tooltip="Optional image input"),
|
||||
io.Video.Input("videos", optional=True, tooltip="Optional video input"),
|
||||
io.AnyType.Input(id="config_options", optional=True),
|
||||
io.AnyType.Input(id="proxy_options", optional=True),
|
||||
io.AnyType.Input(id="advanced_options", optional=True),
|
||||
io.AnyType.Input(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Input(
|
||||
id="config_options",
|
||||
optional=True,
|
||||
tooltip="Optional input from API Config Options",
|
||||
),
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Input(
|
||||
id="proxy_options",
|
||||
optional=True,
|
||||
tooltip="Optional input from API Proxy Options",
|
||||
),
|
||||
io.Custom("YCYY_OPENAI_TEXT_ADVANCED_OPTIONS").Input(
|
||||
id="advanced_options",
|
||||
optional=True,
|
||||
tooltip="Optional input from OpenAI Text Advanced Options",
|
||||
),
|
||||
io.Custom("YCYY_OPENAI_TEXT_SKILL_OPTIONS").Input(
|
||||
id="skill_options",
|
||||
optional=True,
|
||||
tooltip="Optional input from OpenAI Text Skill Options",
|
||||
|
||||
@@ -55,7 +55,7 @@ class ConfigOptions(io.ComfyNode):
|
||||
)
|
||||
],
|
||||
outputs=[
|
||||
io.AnyType.Output(
|
||||
io.Custom("YCYY_API_CONFIG_OPTIONS").Output(
|
||||
id="config_options",
|
||||
display_name="config_options",
|
||||
tooltip="Override configuration options"
|
||||
|
||||
@@ -103,7 +103,7 @@ class OllamaLLMAdvanceOptions(io.ComfyNode):
|
||||
)
|
||||
],
|
||||
outputs=[
|
||||
io.AnyType.Output(
|
||||
io.Custom("YCYY_OLLAMA_LLM_ADVANCED_OPTIONS").Output(
|
||||
id="advanced_options",
|
||||
display_name="advanced_options",
|
||||
tooltip="Optional configuration for the model."
|
||||
|
||||
@@ -23,7 +23,13 @@ class OpenAITextAdvancedOptions(io.ComfyNode):
|
||||
),
|
||||
),
|
||||
],
|
||||
outputs=[io.AnyType.Output(id="advanced_options", display_name="advanced_options")],
|
||||
outputs=[
|
||||
io.Custom("YCYY_OPENAI_TEXT_ADVANCED_OPTIONS").Output(
|
||||
id="advanced_options",
|
||||
display_name="advanced_options",
|
||||
tooltip="Advanced request parameters for OpenAI Text API",
|
||||
)
|
||||
],
|
||||
description="Pass custom JSON parameters to the OpenAI Text API.",
|
||||
)
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class OpenAITextSkillOptions(io.ComfyNode):
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.AnyType.Output(
|
||||
io.Custom("YCYY_OPENAI_TEXT_SKILL_OPTIONS").Output(
|
||||
id="skill_options",
|
||||
display_name="skill_options",
|
||||
tooltip="Progressive local Skill configuration for OpenAI Text API.",
|
||||
|
||||
@@ -31,7 +31,7 @@ class ProxyOptions(io.ComfyNode):
|
||||
)
|
||||
],
|
||||
outputs=[
|
||||
io.AnyType.Output(
|
||||
io.Custom("YCYY_API_PROXY_OPTIONS").Output(
|
||||
id="proxy_options",
|
||||
display_name="proxy_options",
|
||||
tooltip="Override proxy options"
|
||||
@@ -52,4 +52,4 @@ class ProxyOptions(io.ComfyNode):
|
||||
"https": https
|
||||
}
|
||||
|
||||
return io.NodeOutput(proxy_options)
|
||||
return io.NodeOutput(proxy_options)
|
||||
|
||||
Reference in New Issue
Block a user