Skip to content

Conversation

burtenshaw
Copy link
Collaborator

@burtenshaw burtenshaw commented Aug 22, 2025

This PR adds a guide on using Qwen Image Edit with inference providers.

@burtenshaw burtenshaw requested a review from pcuenca August 22, 2025 08:22
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@pcuenca pcuenca changed the title [inference providers] tutorial using qwen imge edit and inference providers [inference providers] tutorial for image editing with inference providers Aug 22, 2025
Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

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

Very cool! We can recommend to upgrade to Pro for more inference credits, there are many opportunities to do so in the text.

burtenshaw and others added 3 commits August 25, 2025 13:49
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
# Initialize the client with fal-ai provider for fast image processing
client = InferenceClient(
provider="fal-ai",
api_key=os.environ["HF_TOKEN"],
Copy link
Member

Choose a reason for hiding this comment

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

if you export the HF_TOKEN above you don't need to explicitly pass the token. (in case you want to simplify the code a bit)

though probably better to be explicit.


</Tip>

## Step 1: Set Up Authentication
Copy link
Member

Choose a reason for hiding this comment

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

smol suggestion would be to add a TL;DR here with the link to a deployed space where people can try out the model directly and link to the code snippet below.

Co-authored-by: vb <vaibhavs10@gmail.com>
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.

Brilliant! Let's merge this as well! 🤗

@burtenshaw burtenshaw merged commit 6a98ced into main Aug 26, 2025
2 checks passed
@burtenshaw burtenshaw deleted the inference-providers-image-edit-guide branch August 26, 2025 17:55
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.

5 participants