Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

stable-diffusion-image-generation

Skill by taracodlabs

Generates images from text prompts using Stable Diffusion. It can call the HuggingFace Inference API or run locally with HuggingFace Diffusers on a GPU or CPU.

  • Score 72
  • 912 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install stable-diffusion-image-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/taracodlabs/aiden /tmp/aiden && mkdir -p ~/.claude/skills && cp -r /tmp/aiden/skills/stable-diffusion-image-generation ~/.claude/skills/stable-diffusion-image-generation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install stable-diffusion-image-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill generates images from text prompts using Stable Diffusion. It offers two routes: the HuggingFace Inference API, which the source describes as zero-install operation, and local generation with HuggingFace Diffusers on a GPU or CPU. The skill includes code for SDXL and Stable Diffusion v1.5, and covers generating several variations at once.

The instructions also explain how to structure prompts using subject, style, setting, lighting and quality tags, and they suggest negative prompt terms. It is aimed at users who want concept art, illustrations, visual mockups or img2img transformations, and who want to experiment with AI image generation locally. The skill is licensed under Apache-2.0 and is published by taracodlabs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Image generation via HuggingFace Inference APISends a text prompt to the SDXL model over the HuggingFace API and saves the returned image.
  • Local generation with DiffusersRuns SDXL locally with HuggingFace Diffusers on a CUDA GPU or CPU.
  • Multiple variationsGenerates several images from one prompt using num_images_per_prompt.
  • Prompt writing guidanceDescribes a prompt structure and useful negative prompt additions.
  • CPU-only generationShows a smaller Stable Diffusion v1.5 setup at 512x512 for machines without a GPU.

What you need

  • HuggingFace token set as the HF_TOKEN environment variable for API use
  • Python with diffusers, transformers, accelerate and torch for local use
  • GPU with at least 8GB VRAM for SDXL in float16, or CPU for slower generation
  • Around 6-7GB of disk space for first-run model weights

Try asking

  • Generate an image of a futuristic AI research lab with holographic displays
  • Create 4 variations of a logo concept for a tech startup
  • Generate a watercolor landscape image locally on my CPU

Good to know

  • SDXL requires at least 8GB VRAM for float16; SD v1.5 is suggested for CPU or low-VRAM GPUs.
  • First run downloads model weights of about 6-7GB.
  • HuggingFace Inference API free tier has rate limits.
  • Generated images may reflect biases in training data.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/stable-diffusion-image-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • skill.json523 B

Alternatives to stable-diffusion-image-generation

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

stable-diffusion-image-generation: common questions

Do I need a GPU to use Stable Diffusion with this skill?

No. The source offers the HuggingFace Inference API for operation without a GPU, and a CPU-only example using Stable Diffusion v1.5 at 512x512, which is slower.

How do I set up the HuggingFace API token?

The source says to set HF_TOKEN as an environment variable and never hardcode it in scripts.

Can it generate several images from one prompt?

Yes. The source shows generating multiple variations with num_images_per_prompt and saving each one to a separate file.

How do I install stable-diffusion-image-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is stable-diffusion-image-generation free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is stable-diffusion-image-generation safe to use?

It scores 72 of 100. Grades: maintenance B, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to stable-diffusion-image-generation?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

stable-diffusion-image-generation Install

Add to stack

Loading.