ComfyUI workflow with LM Studio nodes for local Ideogram v4
Melvin Vivas · X post · 2026-06-20 · Open on X
Topics: AI Dev Tools & Productivity, Prompt & Context Engineering · Level: intermediate
Summary
The creator shows their ComfyUI setup: custom LM Studio nodes create JSON prompts, which then feed Ideogram v4 running locally. It shows how to chain a local LLM into an image-generation pipeline.
Key points
- Custom LM Studio nodes inside ComfyUI generate JSON prompts.
- A local LLM served by LM Studio writes the structured prompts.
- Ideogram v4 runs locally in the same ComfyUI graph.
Resources mentioned
- ComfyUI · tool · x.com · free
The official X account for ComfyUI, the node-based tool for generative AI workflows, which announces things like ComfyUI Agent.
Also in: Grok as "Director": Making a Local Anime Clip with ComfyUI on an RTX 3090 (Melvin Vivas on X · notes), FLUX 3 Image Klein: Open-Weights Image Model Now Supported in ComfyUI (Melvin Vivas on X · notes), ComfyUI Templates: Chain Ready-Made Workflows Instead of Building From Scratch (Melvin Vivas on X · notes), Comfy Agent: An AI Agent That Builds ComfyUI Workflows in Comfy Cloud (Melvin Vivas on X · notes) and 32 more - LM Studio · tool · x.com · free
Desktop app for downloading and running LLMs locally, with a developer mode that serves models through an API.
Also in: Run Local LLMs on the Computer You Already Have: A Beginner's Path (Melvin Vivas on X · notes), Running LLMs Locally Without an Expensive Rig (Melvin Vivas on X · notes), Adding Vercel AI Gateway as a provider in AIBackends with Devin (Melvin Vivas on X · notes), LoRA Fine-Tune Qwen3.5-2B on Your Tweets with Unsloth Studio (Melvin Vivas on X · notes) and 32 more - Ideogram · tool · x.com · free
AI image generation platform with paid plans and an API for generating images with Ideogram models.
Also in: Running the open-source Ideogram 4 locally in ComfyUI (Melvin Vivas on X · notes), Ideogram 4.0 Released as an Open-Weights Image Model (Melvin Vivas on X · notes)
Try this
- Connect LM Studio to ComfyUI with custom nodes so a local LLM writes JSON prompts for Ideogram v4.
- A ComfyUI workflow that uses a local LLM to expand prompts before image generation.
More in AI Dev Tools & Productivity
- Claude Code Agent View: Manage Multiple Agents Without Extra Terminals
- Video: Matt Pocock's Agentic Engineering Workflow
- Matt Pocock and David Ondrej Discuss Agentic Engineering
- Free local Ideogram 4 pipeline: ComfyUI + LM Studio + Qwen 3.6 on RTX 3090
- Running the open-source Ideogram 4 locally in ComfyUI
- Gemini CLI sunset for individual tiers: migrate to Antigravity CLI