-
Notifications
You must be signed in to change notification settings - Fork 903
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
base: main
Are you sure you want to change the base?
Feat/claude images mcp #3029
Conversation
There was a problem hiding this 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> **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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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> | ||
|
||
|
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
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):
md
file. You can also specifyguest
ororg
for the authors.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.