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: ComfyUI Agent: early access announcement (Melvin Vivas on X · notes), Comfy Router: One API for Image, Video, 3D and Audio Model Providers (Melvin Vivas on X · notes), Generating AI Video Locally with MiniMax H3 in ComfyUI on an RTX 3090 (Melvin Vivas on X · notes), Running MiniMax M3 Locally in ComfyUI on an RTX 3090 (Melvin Vivas on X · notes) and 23 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: 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), AIBackends: An API Layer Between Your App and AI Models (Now with Jev) (Melvin Vivas on X · notes) and 31 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