惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
爱范儿
爱范儿
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 叶小钗
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
博客园 - 司徒正美
博客园 - 【当耐特】
IT之家
IT之家

Hugging Face - Blog

Waypoint-1.5: Higher-Fidelity Interactive Worlds for Everyday GPUs ALTK‑Evolve: On‑the‑Job Learning for AI Agents Safetensors is Joining the PyTorch Foundation Holo3: Breaking the Computer Use Frontier Any Custom Frontend with Gradio's Backend A New Framework for Evaluating Voice Agents (EVA) Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations One-Shot Any Web App with Gradio's gr.HTML CUGA on Hugging Face: Democratizing Configurable AI Agents New in llama.cpp: Model Management Building Deep Research: How we Achieved State of the Art OVHcloud on Hugging Face Inference Providers 🔥 20x Faster TRL Fine-tuning with RapidFire AI Building for an Open Future - our new partnership with Google Cloud Aligning to What? Rethinking Agent Generalization in MiniMax M2 Building a Healthcare Robot from Simulation to Deployment with NVIDIA Isaac Sentence Transformers is joining Hugging Face! Unlock the power of images with AI Sheets Supercharge your OCR Pipelines with Open Models Google Cloud C4 Brings a 70% TCO improvement on GPT OSS with Intel and Hugging Face Get your VLM running in 3 simple steps on Intel CPUs Nemotron-Personas-India: Synthesized Data for Sovereign AI Introducing RTEB: A New Standard for Retrieval Evaluation Accelerating Qwen3-8B Agent on Intel® Core™ Ultra with Depth-Pruned Draft Models VibeGame: Exploring Vibe Coding Games Nemotron-Personas-Japan: ソブリン AI のための合成データセット Swift Transformers Reaches 1.0 – and Looks to the Future Smol2Operator: Post-Training GUI Agents for Computer Use SyGra: The One-Stop Framework for Building Data for LLMs and SLMs Gaia2 and ARE: Empowering the community to study agents
Generate Images with Claude and Hugging Face
shaun smith · 2025-08-19 · via Hugging Face - Blog

Back to Articles

shaun smith's avatar

TL;DR: It's easier than ever to generate detailed pictures with state-of-the-art AI models by connecting Claude to Hugging Face Spaces. This article describes how and why, and introduces recently launched models which excel at producing natural images or images that include text.

Update October 2025: Following an update to Anthropic's Connector Directory Policy, you will need to use the "Add custom connector" option and set the Remote MCP server URL to https://huggingface.co/mcp?login to use Image Generation and other Gradio Spaces from Claude.

Introduction

Recent advances in image generation models have improved their ability to produce realistic outputs and incorporate high quality text. It's easier than ever to use these models by connecting them directly to Claude.

The advantages of generating pictures this way are:

  • The AI can assist in building detailed prompts that may improve the quality of generated images.
  • The AI can "see" the generated images, then help iterate on designs and techniques to get perfect results.
  • You can easily swap in the latest models or the one best suited for your needs.

To get started, create a free Hugging Face account, then connect Claude from its "Search and tools" menu in the chat input box. The video below shows the exact steps needed:

Connecting Claude to Hugging Face

Behind the scenes, Claude is now set up to use tools from the Hugging Face MCP Server, seamlessly extending its capabilities. This includes the latest AI Applications running on our innovative ZeroGPU powered Spaces. Your Hugging Face account provides free credits to use these large, powerful models.

After Claude has been connected with Hugging Face, we'll show how to configure image generation tools that Claude can use.

Natural Images with Flux.1 Krea Dev

FLUX.1 Krea [dev] aims to eliminate the telltale "AI look" that often plagues generated images - for example plastic skin, oversaturated colors, or overly smooth textures. If you want images that look like they were shot by a professional photographer rather than generated by a computer, Krea delivers the realistic textures, natural lighting, and authentic aesthetics that other AI models struggle with. You can read more about how they did this on their blog.

Examples from Krea
Examples from the Krea Image Generator

To use Krea with Claude, go to huggingface.co/mcp/settings and add mcp-tools/FLUX.1-Krea-dev to your "Spaces Tools". That's all you need to enable Claude to generate beautiful, realistic looking images.

Adding a Space in MCP Settings

You can then try a prompt in Claude like:

"Use Krea to create an image of a vibrant garden with victorian house".

To begin generating pictures.

Qwen Image

Qwen-Image is a powerful AI image generator that excels at following prompts and accurate text rendering, making it ideal for designing posters, signs, infographics, and marketing materials where text quality matters. Read more about the Qwen-Image model from their blog post.

Examples from Qwen
Examples from the Qwen-Image Generator

To use Qwen-Image add mcp-tools/qwen-image from your MCP Servers setting page, then check it is enabled in Claude to start using it.

Qwen-Image comes with a Prompt Enhancer that helps write detailed prompts suitable for it. To try it, select "Qwen Prompt Enhancer" from the prompts menu and enter your idea before submitting it to Claude.

Using the Qwen Prompt Enhancer from Claude

You can even keep both Krea and Qwen-Image enabled and ask Claude to use both so you can compare results. For example: "Use Krea and Qwen to generate a street scene with 'Hugging Face' graffiti sprayed on the wall".

Hugging Face Graffiti Street Scene
Hugging Face Graffiti Street Scene

Conclusion

Connecting Claude to Hugging Face Spaces makes using state-of-the-art models as easy as clicking a button, even the day new models are released. Explore the AI App Directory at https://huggingface.co/spaces and build amazing projects with Video Generation, Web Search, Image Editing and many thousands more. With a Pro account you get increased usage limits and more. Let us know what you find and create in the comments below!