Skip to content

Commit b4cf099

Browse files
committed
thumbnail, instruct videos. sample prompt
1 parent ee0d881 commit b4cf099

File tree

2 files changed

+26
-32
lines changed

2 files changed

+26
-32
lines changed
237 KB
Loading

claude-images-mcp.md

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
---
2-
title: "Using Spaces to generate Images from Claude"
3-
thumbnail: /blog/assets/building-hf-mcp/building-hf-mcp.png
2+
title: "Create Images with Claude and Hugging Face"
3+
thumbnail: /blog/assets/claude-images-mcp/thumbnail.png
44
authors:
55
- user: evalstate
66
---
77

8-
TODO:: ADD THUMBNAIL
9-
10-
11-
# Use Spaces to generate Images from Claude
8+
# Create Images using Claude and Hugging Face
129

1310
> [!TIP]
1411
> **TL;DR:** Its easier than ever to generate detailed pictures using the latest AI models - by connecting Claude to Hugging Face Spaces. This article describes how, why, and introduces recently launched models which excel at producing natural images and including text.
1512
1613
## Introduction
1714

18-
Recent advances in Image Generation models have improved their ability to produce realistic outputs, follow precise instructions and incorporate high quality text. These latest models are now easier than ever to access by connecting them to Claude.
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.
1916

20-
The advantages of using generating pictures using AI tools like Claude are:
21-
- Building detailed prompts that improve the output quality of generated images.
22-
- The AI can "see" the generate image, and can then iterate on designs and techniques to get perfect results.
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.
19+
- The AI can "see" the generated images, then help iterate on designs and techniques to get perfect results.
2320

24-
To get started, create a free [Hugging Face account](https://huggingface.co/join), then connect Claude to Hugging Face. The below video shows the exact steps needed:
21+
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:
2522

2623
<figure class="image flex flex-col items-center text-center m-0 w-full">
2724
<video
@@ -33,38 +30,35 @@ To get started, create a free [Hugging Face account](https://huggingface.co/join
3330
<figcaption>Conneting Claude to Hugging Face</figcaption>
3431
</figure>
3532

33+
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.
3634

35+
## Natural Images with Flux.1 Krea Dev
3736

38-
Make sure that the Hugging Face connector is enabled, and .
39-
40-
Now, let's look at a couple of recent models and why you should use them:
37+
[FLUX.1 Krea [dev]](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev) aims to eliminate the telltale "AI look" that often plague 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](https://www.krea.ai/blog/flux-krea-open-source-release).
4138

42-
## Non-AI Aesthetic Flux Krea Dev
39+
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.
4340

44-
[FLUX.1 Krea [dev]](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev) aims to eliminate the telltale "AI look" that often plague 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](https://www.krea.ai/blog/flux-krea-open-source-release).
41+
<figure class="image flex flex-col items-center text-center m-0 w-full">
42+
<video
43+
alt="adding-mcp-space.mp4"
44+
autoplay loop autobuffer muted playsinline
45+
>
46+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/claude-images-mcp/adding-mcp-space.mp4" type="video/mp4">
47+
</video>
48+
<figcaption>Adding a Space in [MCP Settings](https://huggingface.co/settings/mcp)</figcaption>
49+
</figure>
4550

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 enable the `flux1_krea_dev_infer` tool (the exact name may be different depending on your configuration). You can then prompt Claude to generate beautiful, realistic looking images.
4751

52+
Try a prompt like "Use Krea to create an image of a Vibrant garden with victorian house".
4853

4954
## Qwen Image
5055

51-
[Qwen-Image](https://huggingface.co/Qwen/Qwen-Image) is a powerful AI image generator that excels at creating images with accurate text rendering, making it ideal for designing posters, signs, infographics, and marketing materials where text quality matters.
52-
53-
Add `evalstate/qwen-image` from your MCP Servers setting page, then make sure it is enabled in Claude to start using. Read more about the Qwen-Image model from their [blog post](https://qwenlm.github.io/blog/qwen-image/).
56+
[Qwen-Image](https://huggingface.co/Qwen/Qwen-Image) is a powerful AI image generator that excels at creating images with 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](https://qwenlm.github.io/blog/qwen-image/).
5457

58+
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.
5559

60+
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".
5661

5762
## Conclusion
5863

59-
You can keep both Image Generators enabled, and even have Claude prompt both simultaneously to compare the outputs.
60-
61-
62-
63-
Hugging Face Spaces paired with the Claude Connectors gives you access to the very latest AI models - often on the day of launch.
64-
65-
66-
67-
68-
MCP is rapidly evolving, and we're excited about what has already been achieved across Chat Applications, IDEs, Agents and MCP Servers over the last few months.
69-
70-
We can already see how powerful integrating the Hugging Face Hub has been and support for Gradio Spaces now makes it possible for LLMs to be easily extended with the latest [Machine Learning applications](https://huggingface.co/blog/gradio-mcp-servers).
64+
Hugging Face Spaces paired with the Claude Connectors gives you simple access to the very latest AI models - often on the day of launch. With a Hugging Face account, it's simple to add new tools to Claude and use them.

0 commit comments

Comments
 (0)