Files
slahiri-ComfyUI-AI-Photogra…/sample_workflows/workflow_ollama_local.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

119 lines
3.1 KiB
JSON

{
"id": "ollama-local-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": [
"Ollama (Local)",
"",
"[Ollama (Local)] llama3.2-vision:11b",
"",
"",
0.3,
"Medium (2048)",
4096,
false
],
"title": "Ollama Local LLM"
},
{
"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": "Ollama Local Workflow",
"bounding": [80, 60, 1260, 720],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {"scale": 1, "offset": [0, 0]},
"info": {
"name": "Ollama Local Workflow",
"description": "Generate image prompts using Ollama locally. Requires Ollama running with a vision model like llama3.2-vision:11b or llava.",
"requirements": [
"Ollama installed and running (http://localhost:11434)",
"A vision model pulled: ollama pull llama3.2-vision:11b"
]
}
},
"version": 0.4
}