Files
ycyy-ComfyUI-YCYY-API/locales/en/nodeDefs.json
T

455 lines
16 KiB
JSON

{
"YCYY_Gemini_Image_API": {
"display_name": "Gemini Image API",
"inputs": {
"images": {
"name": "images",
"tooltip": "Optional image(s) to use as context for the model"
},
"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"
},
"model": {
"name": "model"
},
"aspectRatio": {
"name": "aspectRatio",
"tooltip": "The model defaults to matching the output image size to that of your input image, or otherwise generates 1:1 squares. You can control the aspect ratio of the output image using the aspect ratio"
},
"imageSize": {
"name": "imageSize",
"tooltip": "Control the resolution of the output image. 1K is approximately 1024x1024, 2K is approximately 2048x2048, 4K is approximately 4096x4096 (Only effective for the gemini-3 model)."
},
"enableSearch": {
"name": "enableSearch",
"tooltip": "Use the Google Search tool to generate images based on real-time information (Only effective for the gemini-3 model)"
},
"seed": {
"name": "seed",
"tooltip": "Seed to use for generation"
}
},
"outputs": {
"0": {
"name": "Image"
},
"1": {
"name": "String"
}
}
},
"YCYY_Ollama_VLM_API": {
"display_name": "Ollama VLM API",
"description": "This node uses the Ollama VLM model for image reasoning and analysis.",
"inputs": {
"images": {
"name": "images",
"tooltip": "Images used for analysis"
},
"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"
},
"model": {
"name": "model"
}
},
"outputs": {
"0": {
"name": "String"
}
}
},
"YCYY_Ollama_LLM_API": {
"display_name": "Ollama LLM API",
"description": "This node uses the Ollama LLM model for conversation.",
"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"
},
"advanced_options": {
"name": "advanced_options",
"tooltip": "Optional configuration for the model.Accepts inputs from the Ollama LLM Advanced Options node."
},
"system_prompt": {
"name": "system_prompt"
},
"user_prompt": {
"name": "user_prompt"
},
"model": {
"name": "model"
},
"persist_context": {
"name": "persist_context",
"tooltip": "Persist chat context between calls (multi-turn conversation)"
},
"clear_history": {
"name": "clear_history",
"tooltip": "Clear conversation history and start a new conversation"
}
},
"outputs": {
"0": {
"name": "Result",
"tooltip": "Return result"
},
"1": {
"name": "Conversation",
"tooltip": "All historical conversation"
}
}
},
"YCYY_Ollama_LLM_Advanced_Options": {
"display_name": "Ollama LLM Advanced Options",
"description": "This node provides advanced options for the ollama LLM model.",
"inputs": {
"max_tokens": {
"name": "max_tokens"
},
"temperature": {
"name": "temperature"
},
"top_p": {
"name": "top_p"
},
"enable_max_tokens": {
"name": "enable_max_tokens",
"tooltip": "Whether to enable max tokens"
},
"enable_temperature": {
"name": "enable_temperature",
"tooltip": "Whether to enable temperature"
},
"enable_top_p": {
"name": "enable_top_p",
"tooltip": "Whether to enable top_p"
},
"enable_thinking": {
"name": "enable_thinking",
"tooltip": "Whether to enable thinking"
}
},
"outputs": {
"0": {
"name": "advanced_options",
"tooltip": "Advanced options for the model."
}
}
},
"YCYY_API_Config_Options": {
"display_name": "API Config Options",
"description": "This node provides override API config options.",
"inputs": {
"api_url": {
"name": "api_url",
"tooltip": "Override the API URL"
},
"api_key": {
"name": "api_key",
"tooltip": "Override the API key"
},
"api_protocol": {
"name": "api_protocol",
"tooltip": "Override the API protocol (openai-completions / openai-responses / anthropic-messages)"
},
"timeout": {
"name": "timeout",
"tooltip": "Override the request timeout in seconds"
}
},
"outputs": {
"0": {
"name": "config_options",
"tooltip": "Override configuration options"
}
}
},
"YCYY_API_Proxy_Options": {
"display_name": "API Proxy Options",
"description": "This node provides override API proxy options.",
"inputs": {
"enable": {
"name": "enable",
"tooltip": "Enable or disable proxy"
},
"http": {
"name": "http",
"tooltip": "HTTP proxy address (e.g., http://127.0.0.1:7890)"
},
"https": {
"name": "https",
"tooltip": "HTTPS proxy address (e.g., http://127.0.0.1:7890)"
}
},
"outputs": {
"0": {
"name": "proxy_options",
"tooltip": "Override proxy options"
}
}
},
"YCYY_Gemini_Image_Preset": {
"display_name": "Gemini Image Preset",
"description": "This node provides presets for the Gemini Image API.",
"inputs": {
"preset": {
"name": "preset",
"tooltip": "Gemini image preset name"
},
"description": {
"name": "description",
"tooltip": "Gemini image preset description"
},
"prompt": {
"name": "prompt",
"tooltip": "Gemini image preset prompt"
}
},
"outputs": {
"0": {
"name": "String"
}
}
},
"YCYY_Gemini_Speaker_Options": {
"display_name": "Gemini Speaker Options",
"description": "This node builds a single speaker option for Gemini multi-speaker TTS.",
"inputs": {
"speaker": {
"name": "speaker",
"tooltip": "Speaker name used in the conversation text"
},
"voiceName": {
"name": "voiceName",
"tooltip": "The voice assigned to this speaker"
}
},
"outputs": {
"0": {
"name": "speaker_options",
"tooltip": "Single speaker option item for Gemini multi-speaker TTS"
}
}
},
"YCYY_Gemini_Batch_Speakers_Options": {
"display_name": "Gemini Batch Speakers Options",
"description": "This node merges two Gemini multi-speaker option arrays.",
"inputs": {
"speaker_options1": {
"name": "speaker_options1",
"tooltip": "The first speaker options array"
},
"speaker_options2": {
"name": "speaker_options2",
"tooltip": "The second speaker options array"
}
},
"outputs": {
"0": {
"name": "speaker_options",
"tooltip": "Merged speaker options array"
}
}
},
"YCYY_Gemini_TTS_API": {
"display_name": "Gemini TTS API",
"description": "This node uses the Google Gemini TTS API to generate speech from text.",
"inputs": {
"text": {
"name": "text",
"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\""
},
"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"
},
"model": {
"name": "model"
},
"voiceName": {
"name": "voiceName",
"tooltip": "The voice to use for speech synthesis"
}
},
"outputs": {
"0": {
"name": "Audio"
},
"1": {
"name": "String"
}
}
},
"YCYY_Gemini_TTS_Multi_API": {
"display_name": "Gemini TTS Multi API",
"description": "This node uses the Google Gemini TTS API to generate multi-speaker speech from text.",
"inputs": {
"text": {
"name": "text",
"tooltip": "Conversation text. Include speaker labels that match the configured speaker names."
},
"speaker_options": {
"name": "speaker_options",
"tooltip": "Speaker option array from Gemini Speaker Options or Gemini Batch Speakers Options"
},
"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"
},
"model": {
"name": "model"
},
"seed": {
"name": "seed",
"tooltip": "Seed to use for generation"
}
},
"outputs": {
"0": {
"name": "Audio"
},
"1": {
"name": "String"
}
}
},
"YCYY_Gemini_STT_API": {
"display_name": "Gemini STT API",
"description": "This node uses the Google Gemini STT API to transcribe speech to text.",
"inputs": {
"audio": {
"name": "audio",
"tooltip": "The audio to transcribe"
},
"prompt": {
"name": "prompt",
"tooltip": "The prompt to guide the transcription. You can ask for specific formats or instructions."
},
"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"
},
"model": {
"name": "model"
}
},
"outputs": {
"0": {
"name": "String"
},
"1": {
"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"
}
}
},
"YCYY_ModelScope_Image_Edit_API": {
"display_name": "ModelScope Image Edit API",
"description": "This node uses the ModelScope API to edit an input image.",
"inputs": {
"image": {"name": "image", "tooltip": "Input image to edit"},
"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 editing instruction"},
"negative_prompt": {"name": "negative_prompt", "tooltip": "Negative prompt"},
"model": {"name": "model"},
"width": {"name": "width"},
"height": {"name": "height"},
"steps": {"name": "steps"},
"guidance": {"name": "guidance"}
},
"outputs": {
"0": {"name": "Image"},
"1": {"name": "String"}
}
},
"YCYY_Image_Compare": {
"display_name": "Compare Images",
"description": "Compares two images side by side with a slider.",
"inputs": {
"image_a": {
"name": "Image A",
"tooltip": "The image displayed on the left side of the comparison slider."
},
"image_b": {
"name": "Image B",
"tooltip": "The image displayed on the right side of the comparison slider."
}
}
}
}