Skip to content

Feat/claude images mcp #3029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Feat/claude images mcp #3029

wants to merge 6 commits into from

Conversation

evalstate
Copy link
Contributor

@evalstate evalstate commented Aug 14, 2025

Congratulations! You've made it this far! Once merged, the article will appear at https://huggingface.co/blog. Official articles
require additional reviews. Alternatively, you can write a community article following the process here.

Preparing the Article

You're not quite done yet, though. Please make sure to follow this process (as documented here):

  • [X Add an entry to _blog.yml.
  • Add a thumbnail. There are no requirements here, but there is a template if it's helpful.
  • [X Check you use a short title and blog path.
  • [X Upload any additional assets (such as images) to the Documentation Images repo. This is to reduce bloat in the GitHub base repo when cloning and pulling. Try to have small images to avoid a slow or expensive user experience.
  • Add metadata (such as authors) to your md file. You can also specify guest or org for the authors.
  • Ensure the publication date is correct.
  • Preview the content. A quick way is to paste the markdown content in https://huggingface.co/new-blog. Do not click publish, this is just a way to do an early check.

Here is an example of a complete PR: #2382

Getting a Review

Please make sure to get a review from someone on your team or a co-author.
Once this is done and once all the steps above are completed, you should be able to merge.
There is no need for additional reviews if you and your co-authors are happy and meet all of the above.

Feel free to add @pcuenca as a reviewer if you want a final check. Keep in mind he'll be biased toward light reviews
(e.g., check for proper metadata) rather than content reviews unless explicitly asked.

Copy link
Contributor

@merveenoyan merveenoyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot! mostly nits

# Create Images with Claude and Hugging Face

> [!TIP]
> **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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> **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.
> **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 and why, and introduces recently launched models which excel at producing natural images and including text.


## 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
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.


## Conclusion

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 straight away.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to end more enthusiastically

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evalstate - we can create a community discussion here and ask people to share their feedback and generations there? wdyt?

and give them a to-do to try some image to video models with the generated images too.

think it could be nice way to end.

Copy link
Member

@Vaibhavs10 Vaibhavs10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking lovely - it's mostly there imo, mostly think we should contextualise the HF MCP server and ZeroGPU a bit more and perhaps even drop a plug to upgrade in the end too.

@@ -6541,3 +6541,14 @@
- llm
- evaluation
- agents

- local: claude-images-mcp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- local: claude-images-mcp
- local: generate-images-with-claude-and-mcp

maybe something like this? it's a bit of a mouthful tho.

(the idea is to make the slug more descriptive - helps with SEO according to random strangers on the internet)

@@ -0,0 +1,90 @@
---
title: "Create Images with Claude and Hugging Face"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: "Create Images with Claude and Hugging Face"
title: "Generate Images with Claude and Hugging Face"

Create vs Generate?

title: "Create Images with Claude and Hugging Face"
thumbnail: /blog/assets/claude-images-mcp/thumbnail.png
authors:
- user: evalstate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want to rope in someone from claude MCP side as an honorary author?

# Create Images with Claude and Hugging Face

> [!TIP]
> **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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe link some example text to image spaces here?

and perhaps we can emphasise that these models are SoTA.

essentially clause is SoTA for text/ code and these models are SoTA for Image* - combined we make a beast.


The advantages of generating pictures using this way are:
- The AI can assist in building detailed prompts that may improve the output quality of generated images.
- The AI can "see" the generated images, then help iterate on designs and techniques to get perfect results.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not always true tho no? :p - specially not in the case of claude

<figcaption>Conneting Claude to Hugging Face</figcaption>
</figure>

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe here we can add a small blurb about the HF MCP Server

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhere here, I think it might be good to talk about ZeroGPU too i.e. they are able to use these chonky models thanks to our serverless GPU platform.




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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something we were discussing w/ @linoytsaban today was to use official spaces where possible instead of spaces under your namespace.

I don't have a real preference tbf, but mentioning here and tagging her to get here thoughts as well.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or maybe we move them to some other org like mcp-tools or something like that?

<figcaption>Hugging Face Graffiti Street Scene</figcaption>
</figure>


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to spice things up a bit should we add the ltx-fast example as a nice ending too? :p

I think it could work quite well.


## Conclusion

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 straight away.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evalstate - we can create a community discussion here and ask people to share their feedback and generations there? wdyt?

and give them a to-do to try some image to video models with the generated images too.

think it could be nice way to end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants