Recent findings suggest that 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 introduced models which excel at producing natural images or images that include text.
Enhancement 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. (Related: How to generate text: using different decoding methods ...)
According to recent reports, 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. (Related: Block Sparse Matrices for Smaller and Faster Language M...)
The advantages of generating pictures this way are:.
It has been revealed that 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 indicates the exact steps needed:.
Recent findings suggest that 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.
Recent findings suggest that 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.
It has been revealed that 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.
You can then try a prompt in Claude like:.
"Use Krea to create an image of a vibrant garden with victorian house".
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.
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.
Recent findings suggest that 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.
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".
According to recent reports, 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!
Sources indicate that this is really helpful! The way Claude connects with Hugging Face to generate images makes things so much easier for users. I think if this feature is also embedded on websites, it would be very useful from a userβs point of view. Thanks for sharing such a clear explanation and examples it really indicates the potential of these tools.
No way of making connections with Claude on a free proposal in Claude.
Industry observers note that really interesting direction for Claude + Hugging Face integration. One thing that could be explored more is how image generation tools perform under collaborative or production-level use.
Recent findings suggest that some companies, like OpenForge.com , have already built AI-based art generators with real-time features, it shows thereβs a lot of potential beyond individual prompt β image use cases. Tools like this could really change how teams design, iterate, or even co-create content together.
It seems something was changed, because out of the box, i can no longer seamlessly connect mcps to claude.
It has been revealed that "Use Hugging Face SpaceGive the User access to a Hugging Face Space with mcp_ui. This tool will return a link accessible to the User that may not be visible to the Assistant".
Hi @alexbalandi -- Anthropic recently updated their content policy to switch off image generation using the "Connector" option. If you add the Connector manually using "https://huggingface.co/mcp?login" that should work. If you can confirm that works for you and I'll put a note on the article π.
Yes, adding connector manually works, thank you.
This makes my workflow so much easier. Iβm just now finding this, thanks.
The Hugging Face MCP spaces can't be invoked in this session - gradio access is disabled.
Hi @alexbalandi -- Anthropic recently updated their content policy to switch off image generation using the "Connector" option. If you add the Connector manually using "https://huggingface.co/mcp?login" that should work. If you can confirm that works for you and I'll put a note on the article π.
Hi @evalstate - Great article. I'd recommend editing the note to indicate that manual connectors require a paid Claude account.
Just providing an upgrade regarding this article - to say that this integration still works with the following requirements.
NOTE: I don't think you can add custom connector on Free Plan.
Below is the sample image I was able to generate following the instruction above. (BTW, I used the Qwen Prompt Enhancer tool.).
Who wants an alternative mcp server for image generation for claude code can take a look at https://modelrunner.ai/.
There is a well curated blog post which helps to create image assets for mobile applications using image generation models over Modelrunner.
https://modelrunner.ai/blog/generating-demo-assets-for-an-ios-app-with-ai.
genera 3 immagini per la psicoterapia asistita con psichelici.
It has been revealed that manual connector setup still works for image generation, while the one-click Connector option may be unavailable and custom connectors appear restricted on Claudeβs Free Plan. That distinction matters because it prevents readers from assuming the integration is broken; the Qwen Prompt Enhancer example also indicates the workflow remains usable in practice. More related AI tooling is available at https://wisgate.ai/.