{
 "schema_version": 1,
 "generated": "2026-10-26",
 "url": "https://dedupedai.com/best-ai-repos-for/image-generation/",
 "task": "AI image generation and editing",
 "question": "What is the best open-source repo for AI image generation?",
 "answer": "The best open-source AI repos for AI image generation and editing right now are ComfyUI, LocalAI and PhotoCraft. ComfyUI is the standard node-based tool for running image models locally; LocalAI serves image models next to LLMs behind one API; PhotoCraft is a Photoshop-style editor rather than a generator.",
 "md": "https://dedupedai.com/best-ai-repos-for/image-generation/index.md",
 "repos": [
  {
   "repo": "Comfy-Org/ComfyUI",
   "title": "ComfyUI",
   "url": "https://dedupedai.com/use-cases/comfy-org-comfyui/",
   "github": "https://github.com/Comfy-Org/ComfyUI",
   "what": "ComfyUI is an open-source node graph GUI, API, and backend for running diffusion models locally or in the cloud to generate images, video, audio, and 3D.",
   "who": "Creators, artists, and production teams who need full control over models and outputs and want to run them on their own hardware.",
   "stars": 141884,
   "language": "Python",
   "requirements": [
    "A Windows or macOS computer for the desktop app, or a Windows, Linux, or macOS machine with a supported GPU for the manual install",
    "A GPU with enough VRAM for the model you pick (the README says large models can run on as little as 4GB VRAM with 8GB RAM)",
    "Disk space for the model files you choose to download",
    "Optional: a Comfy Cloud account or partner node access for paid hosted models"
   ],
   "uc_count": 4,
   "use_cases": [
    {
     "title": "Generate images from ready-made template workflows",
     "url": "https://dedupedai.com/use-cases/comfy-org-comfyui/generate-images-with-template-workflows/"
    },
    {
     "title": "Run image and video generation fully offline",
     "url": "https://dedupedai.com/use-cases/comfy-org-comfyui/run-offline-generation-for-private-work/"
    },
    {
     "title": "Turn a complex workflow into a simple app or API",
     "url": "https://dedupedai.com/use-cases/comfy-org-comfyui/expose-a-workflow-as-an-app-or-api/"
    }
   ],
   "best": {
    "title": "Generate images from ready-made template workflows",
    "url": "https://dedupedai.com/use-cases/comfy-org-comfyui/generate-images-with-template-workflows/",
    "difficulty": "Beginner",
    "time": "30 minutes",
    "agents": [],
    "steps": [
     "Download the Desktop Application from https://www.comfy.org/download (available on Windows and macOS).",
     "Open a template from https://comfy.org/workflows and load it in ComfyUI.",
     "Change the prompt text in the text input node and set the model loader to a model you have installed.",
     "Press Ctrl + Enter to queue the current graph for generation.",
     "Press Ctrl + S to save the workflow as JSON so you can reopen it later."
    ],
    "md": "https://dedupedai.com/use-cases/comfy-org-comfyui/generate-images-with-template-workflows/index.md"
   }
  },
  {
   "repo": "mudler/LocalAI",
   "title": "LocalAI",
   "url": "https://dedupedai.com/use-cases/mudler-localai/",
   "github": "https://github.com/mudler/LocalAI",
   "what": "LocalAI is an open-source AI engine that runs LLMs, vision, voice, image and video models on any hardware, with no GPU required. Each backend (llama.cpp, vLLM, whisper.cpp, stable-diffusion, MLX and more) is pulled only when a model needs it, and every backend sits behind drop-in OpenAI, Anthropic and ElevenLabs compatible APIs, with multi-user auth, quotas and built-in agents with tools, RAG and MCP.",
   "who": "Developers and teams who want a private, self-hosted replacement for cloud AI APIs that existing OpenAI or Anthropic clients can talk to.",
   "stars": 49983,
   "language": "Go",
   "requirements": [
    "Docker or Podman, or the macOS app (not signed by Apple)",
    "Optional GPU: NVIDIA, AMD, Intel, Apple Silicon or Vulkan; CPU-only works",
    "Disk space for the models you pull"
   ],
   "uc_count": 3,
   "use_cases": [
    {
     "title": "Self-host an OpenAI-compatible API on your own server",
     "url": "https://dedupedai.com/use-cases/mudler-localai/self-host-an-openai-compatible-api/"
    },
    {
     "title": "Chat with local models from the terminal",
     "url": "https://dedupedai.com/use-cases/mudler-localai/chat-with-local-models-in-the-terminal/"
    },
    {
     "title": "Run any model from Hugging Face, Ollama or an OCI registry",
     "url": "https://dedupedai.com/use-cases/mudler-localai/run-models-from-hugging-face-or-ollama/"
    }
   ],
   "best": {
    "title": "Self-host an OpenAI-compatible API on your own server",
    "url": "https://dedupedai.com/use-cases/mudler-localai/self-host-an-openai-compatible-api/",
    "difficulty": "Beginner",
    "time": "30 minutes",
    "agents": [
     "claude-code",
     "codex",
     "cursor"
    ],
    "steps": [
     "Start the CPU image: docker run -ti --name local-ai -p 8080:8080 localai/localai:latest",
     "Or with an NVIDIA GPU: docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12",
     "Load a model, for example local-ai run llama-3.2-1b-instruct:q4_k_m",
     "Point your app's OpenAI base URL at http://localhost:8080",
     "Restart later with docker start -i local-ai"
    ],
    "md": "https://dedupedai.com/use-cases/mudler-localai/self-host-an-openai-compatible-api/index.md"
   }
  },
  {
   "repo": "storytold/photocraft",
   "title": "PhotoCraft",
   "url": "https://dedupedai.com/use-cases/storytold-photocraft/",
   "github": "https://github.com/storytold/photocraft",
   "what": "PhotoCraft is an open-source, clean-room photo editor in pure Rust modeled on Photoshop: layers, masks, adjustment layers, layer styles, type, vectors, brushes and real PSD files, offline. Every menu item and tool runs one of 500+ commands, so the same engine can be driven from the UI, a headless CLI, a JSON control channel or an MCP server. The README says it is early alpha and not yet a Photoshop replacement for daily professional work.",
   "who": "Designers and developers who want a free, offline, scriptable editor that opens PSDs, and people who want an AI agent to edit images.",
   "stars": 72483,
   "language": "Rust",
   "requirements": [
    "A download from the PhotoCraft page, or Rust to build from source"
   ],
   "uc_count": 3,
   "use_cases": [
    {
     "title": "Open, edit and save PSD files without Photoshop",
     "url": "https://dedupedai.com/use-cases/storytold-photocraft/edit-psd-files-without-photoshop/"
    },
    {
     "title": "Batch-grade a folder of images from the command line",
     "url": "https://dedupedai.com/use-cases/storytold-photocraft/batch-edit-a-folder-of-images-from-the-cli/"
    },
    {
     "title": "Let an AI agent edit images through PhotoCraft's MCP server",
     "url": "https://dedupedai.com/use-cases/storytold-photocraft/let-an-ai-agent-edit-images-over-mcp/"
    }
   ],
   "best": {
    "title": "Open, edit and save PSD files without Photoshop",
    "url": "https://dedupedai.com/use-cases/storytold-photocraft/edit-psd-files-without-photoshop/",
    "difficulty": "Beginner",
    "time": "10 minutes",
    "agents": [],
    "steps": [
     "Download PhotoCraft from its page on getartcraft.com, or build it from source with Rust (cargo run --release -p PhotoCraft)",
     "Open a PSD; menus, panels and shortcuts follow Photoshop",
     "Edit layers, masks, adjustment layers and type",
     "Save as PSD or export to PNG, JPEG, TIFF or WebP"
    ],
    "md": "https://dedupedai.com/use-cases/storytold-photocraft/edit-psd-files-without-photoshop/index.md"
   }
  },
  {
   "repo": "GENEXIS-AI/gpt-image-skill",
   "title": "GPT Image Skill",
   "url": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/",
   "github": "https://github.com/GENEXIS-AI/gpt-image-skill",
   "what": "GPT Image Skill is an installable skill that lets Codex, Claude Code, or Google Antigravity generate and edit GPT images through a ChatGPT subscription instead of the Images API.",
   "who": "Designers, marketers, and developers who already pay for ChatGPT and want image generation inside their coding agent without setting up API keys.",
   "stars": 180,
   "language": "JavaScript",
   "requirements": [
    "A ChatGPT or Codex plan that permits image generation (the README says Codex image generation is not available on the Free plan)",
    "Node.js 22 or newer",
    "Git, for installing from GitHub",
    "Codex CLI signed in with ChatGPT, or a host that provides subscription-native image_gen"
   ],
   "uc_count": 5,
   "use_cases": [
    {
     "title": "Generate images from a text prompt in Codex",
     "url": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/generate-images-from-text-prompt/"
    },
    {
     "title": "Revise an existing image without losing prior edits",
     "url": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/revise-existing-image-keep-edits/"
    },
    {
     "title": "Batch-create several distinct poster concepts at once",
     "url": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/batch-distinct-poster-concepts/"
    }
   ],
   "best": {
    "title": "Generate images from a text prompt in Codex",
    "url": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/generate-images-from-text-prompt/",
    "difficulty": "Intermediate",
    "time": "30 minutes",
    "agents": [
     "codex",
     "claude-code"
    ],
    "steps": [
     "Paste the install prompt from the README into Codex, Claude Code, or Google Antigravity, and follow the Sign in with ChatGPT device authorization when asked.",
     "Wait for the setup to report readiness. The README states that no image is generated during setup.",
     "In Codex, type $gpt-image Create a cozy reading room at sunset, 16:9, high quality. In Claude Code, use /gpt-image with the same request.",
     "Open the returned PATH in /generated-images and check the image against your request."
    ],
    "md": "https://dedupedai.com/use-cases/genexis-ai-gpt-image-skill/generate-images-from-text-prompt/index.md"
   }
  },
  {
   "repo": "wildminder/awesome-qwen-image",
   "title": "Awesome Qwen Image",
   "url": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/",
   "github": "https://github.com/wildminder/awesome-qwen-image",
   "what": "A curated list of checkpoints, quantizations, prompt rewriters, LoRAs, and tooling for Qwen-Image 2.1, Alibaba's 7B unified text-to-image and image-editing model.",
   "who": "Creators, developers, and AI agents who need to pick the right Qwen-Image 2.1 file for their runtime, VRAM budget, or Mac.",
   "stars": 157,
   "language": "",
   "requirements": [
    "A runtime that matches the chosen entry point: Diffusers, ComfyUI, llama.cpp, or MLX on Apple Silicon",
    "Enough disk space: the base text encoder alone is about 17.5 GB in BF16",
    "A GPU with 8 to 12 GB VRAM for the INT4 ConvRot pack, or a Mac with Apple Silicon for MLX-4bit",
    "Acceptance of the Qwen Research License that covers the base weights"
   ],
   "uc_count": 5,
   "use_cases": [
    {
     "title": "Generate images with the official Qwen-Image-2.1 base model",
     "url": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/generate-images-with-official-base-model/"
    },
    {
     "title": "Run Qwen-Image 2.1 in ComfyUI on an 8 to 12 GB GPU",
     "url": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/run-qwen-image-in-comfyui-on-8gb-gpu/"
    },
    {
     "title": "Generate images in 8 steps with the official Turbo model",
     "url": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/generate-images-in-eight-steps-with-turbo/"
    }
   ],
   "best": {
    "title": "Generate images with the official Qwen-Image-2.1 base model",
    "url": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/generate-images-with-official-base-model/",
    "difficulty": "Intermediate",
    "time": "1 hour",
    "agents": [],
    "steps": [
     "Open the official Qwen-Image-2.1 model card on Hugging Face and read the license and aspect-ratio table.",
     "Download the whole Qwen/Qwen-Image-2.1 repo, not a single file, because the DiT and text encoder ship as numbered safetensors shards with an index.",
     "Load the model with the QwenImage21Pipeline class in Diffusers.",
     "Run a sample prompt using the default of 40 steps without classifier-free guidance, then try CFG if prompt adherence is weak.",
     "Check that the output has the expected size for the aspect ratio you chose."
    ],
    "md": "https://dedupedai.com/use-cases/wildminder-awesome-qwen-image/generate-images-with-official-base-model/index.md"
   }
  }
 ]
}
