You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **TL;DR:**Its 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 and including text.
11
+
> **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.
12
12
13
13
## Introduction
14
14
15
15
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.
16
16
17
-
The advantages of generating pictures using this way are:
18
-
- The AI can assist in building detailed prompts that may improve the output quality of generated images.
17
+
The advantages of generating pictures this way are:
18
+
- The AI can assist in building detailed prompts that may improve the quality of generated images.
19
19
- The AI can "see" the generated images, then help iterate on designs and techniques to get perfect results.
20
+
- You can easily swap in the latest models or the one best suited for your needs.
20
21
21
22
To get started, create a free [Hugging Face account](https://huggingface.co/join), then connect Claude from its "Search and tools" menu in the chat input box. The video below shows the exact steps needed:
22
23
@@ -30,9 +31,9 @@ To get started, create a free [Hugging Face account](https://huggingface.co/join
30
31
<figcaption>Conneting Claude to Hugging Face</figcaption>
31
32
</figure>
32
33
33
-
Behind the scenes Claude is now set up to use tools from the [Hugging Face MCP Server](https://huggingface.co/mcp?login), seamlessly extending it's capabilities. This includes the latest AI Applications running on our innovative [ZeroGPU](https://huggingface.co/docs/hub/spaces-zerogpu) powered Spaces - providing free access to large, powerful models that are would normally be expensive to use.
34
+
Behind the scenes Claude is now set up to use tools from the [Hugging Face MCP Server](https://huggingface.co/mcp?login), seamlessly extending it's capabilities. This includes the latest AI Applications running on our innovative [ZeroGPU](https://huggingface.co/docs/hub/spaces-zerogpu) powered Spaces. Your Hugging Face account provides free credits to use these large, powerful models.
34
35
35
-
Confirm that that the Hugging Face tools are available from the "Search and tools" menu... and now we are ready to try some of the latest models.
36
+
After Claude has been connected with Hugging Face, we'll show how to configure image generation tools that Claude can use.
36
37
37
38
## Natural Images with Flux.1 Krea Dev
38
39
@@ -43,7 +44,7 @@ Confirm that that the Hugging Face tools are available from the "Search and tool
43
44
<figcaption>Examples from the Krea Image Generator</figcaption>
44
45
</figure>
45
46
46
-
To try**Krea**, go to [`huggingface.co/mcp/settings`](https://huggingface.co/settings/mcp) and add `evalstate/flux1-krea` to your "Spaces Tools". This will add a tool named something similar to "`flux1_krea_dev_infer`" to Claude. This enables Claude to generate beautiful, realistic looking images. Note the precise name may vary slightly depending on your configuration.
47
+
To use**Krea** with Claude, go to [`huggingface.co/mcp/settings`](https://huggingface.co/settings/mcp) and add `evalstate/FLUX.1-Krea-dev` to your "Spaces Tools". That's all you need to enable Claudeto generate beautiful, realistic looking images.
@@ -58,7 +59,7 @@ To try **Krea**, go to [`huggingface.co/mcp/settings`](https://huggingface.co/se
58
59
59
60
You can then try a prompt in Claude like:
60
61
61
-
> "Use Krea to create an image of a Vibrant garden with victorian house".
62
+
> "Use Krea to create an image of a vibrant garden with victorian house".
62
63
63
64
To begin generating pictures.
64
65
@@ -71,21 +72,16 @@ To begin generating pictures.
71
72
<figcaption>Examples from the Qwen-Image Generator</figcaption>
72
73
</figure>
73
74
74
-
75
75
To use **Qwen-Image** add `evalstate/qwen-image` from your [MCP Servers setting](https://huggingface.co/settings/mcp) page, then check it is enabled in Claude to start using it.
76
76
77
-
You can even keep both enabled and ask Claude to use both and compare results for similar concepts - for example: "Use Krea and Qwen to generate a street scene with 'Hugging Face' graffiti sprayed on the wall".
78
-
77
+
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".
79
78
80
79
<figureclass="image text-center">
81
80
<imgsrc="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/claude-images-mcp/krea_hf_example.webp"alt="Hugging Face Graffiti Street Scene">
82
81
<figcaption>Hugging Face Graffiti Street Scene</figcaption>
83
82
</figure>
84
83
85
84
86
-
87
85
## Conclusion
88
86
89
-
Connecting Claude to Hugging Face Spaces makes using state-of-the-art models on the day of release as easy as clicking a button. Explore the AI App Directory at [https://huggingface.co/spaces](https://huggingface.co/spaces) and build amazing things with [Video Generation](https://huggingface.co/spaces/evalstate/ltx-video-distilled), [Text Generation](https://huggingface.co/spaces/amd/gpt-oss-120b-chatbot), [Image Editing](https://huggingface.co/spaces/evalstate/FLUX.1-Kontext-Dev) and many thousands more. Let us know what you find and create in the comments below.
90
-
91
-
With a Hugging Face account, it's simple to add new tools to Claude and use them straight away.
87
+
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](https://huggingface.co/spaces) and build amazing projects with [Video Generation](https://huggingface.co/spaces/evalstate/ltx-video-distilled), [Web Search](https://huggingface.co/spaces/victor/websearch), [Image Editing](https://huggingface.co/spaces/evalstate/FLUX.1-Kontext-Dev) and many thousands more. With a [Pro account](https://huggingface.co/pro) you get increased usage limits and more. Let us know what you find and create in the comments below!
0 commit comments