Files
slahiri-ComfyUI-AI-Photogra…/sample_workflows/workflow_openrouter_free.json
T
slahiriandClaude Opus 4.5 c4c579a7ca Reddit feedback fixes: sample workflows, prompts, vision warnings
- Add sample workflows for Ollama, Groq, OpenRouter, and local QwenVL
- Add vision model warning for Ollama/LM Studio non-vision models (warn but allow)
- Improve basic tier prompts with examples for local models
- Remove numbered lists in favor of flowing instructions
- Add more cleanup patterns for local model output prefixes
- Fix issues #4 (sample workflows) and #5 (local model prompts)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 04:52:54 +05:30

124 lines
3.3 KiB
JSON

{
"id": "openrouter-free-workflow",
"revision": 0,
"last_node_id": 10,
"last_link_id": 10,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [100, 100],
"size": [315, 314],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "links": [1]},
{"name": "MASK", "type": "MASK", "links": null}
],
"properties": {"Node name for S&R": "LoadImage"},
"widgets_values": ["example.png", "image"]
},
{
"id": 2,
"type": "SID_LLM_API",
"pos": [100, 450],
"size": [315, 290],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "LLM_MODEL", "type": "LLM_MODEL", "links": [2]}
],
"properties": {"Node name for S&R": "SID_LLM_API"},
"widgets_values": [
"OpenRouter",
"YOUR_OPENROUTER_API_KEY",
"[OpenRouter] meta-llama/llama-3.2-90b-vision-instruct:free",
"",
"",
0.3,
"Medium (2048)",
4096,
false
],
"title": "OpenRouter Free Models"
},
{
"id": 3,
"type": "SID_ZImagePromptGenerator_Advanced_V2",
"pos": [450, 100],
"size": [400, 272],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{"name": "image", "type": "IMAGE", "link": 1},
{"name": "llm_model", "type": "LLM_MODEL", "link": 2}
],
"outputs": [
{"name": "prompt", "type": "STRING", "links": [3]},
{"name": "width", "type": "INT", "links": [4]},
{"name": "height", "type": "INT", "links": [5]}
],
"properties": {"Node name for S&R": "SID_ZImagePromptGenerator_Advanced_V2"},
"widgets_values": ["Standard", "", true, true, 0, "randomize", true],
"title": "SID Prompt Generator"
},
{
"id": 4,
"type": "ShowText|pysssss",
"pos": [900, 100],
"size": [400, 200],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{"name": "text", "type": "STRING", "link": 3}
],
"outputs": [
{"name": "STRING", "type": "STRING", "links": null}
],
"properties": {"Node name for S&R": "ShowText|pysssss"},
"widgets_values": [],
"title": "Generated Prompt"
}
],
"links": [
[1, 1, 0, 3, 0, "IMAGE"],
[2, 2, 0, 3, 1, "LLM_MODEL"],
[3, 3, 0, 4, 0, "STRING"],
[4, 3, 1, null, null, "INT"],
[5, 3, 2, null, null, "INT"]
],
"groups": [
{
"title": "OpenRouter Free Tier Workflow",
"bounding": [80, 60, 1260, 720],
"color": "#8e3f5a",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {"scale": 1, "offset": [0, 0]},
"info": {
"name": "OpenRouter Free Tier Workflow",
"description": "Generate image prompts using OpenRouter's free models. Access multiple providers through one API.",
"requirements": [
"OpenRouter API key (free): https://openrouter.ai/keys"
],
"free_models": [
"meta-llama/llama-3.2-90b-vision-instruct:free",
"meta-llama/llama-3.2-11b-vision-instruct:free",
"qwen/qwen-2-vl-7b-instruct:free",
"google/gemini-2.0-flash-exp:free"
]
}
},
"version": 0.4
}