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
Copy file name to clipboardExpand all lines: docs/inference-providers/guides/first-api-call.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@ This guide assumes you have a Hugging Face account. If you don't have one, you c
14
14
15
15
## Step 1: Find a Model on the Hub
16
16
17
-
Visit the [Hugging Face Hub](https://huggingface.co/models) and look for models with the "Inference Providers" filter, you can select the provider that you want. We'll go with `fal`.
17
+
Visit the [Hugging Face Hub](https://huggingface.co/models?pipeline_tag=text-to-image&inference_provider=fal-ai,hf-inference,nebius,nscale,replicate,together&sort=trending) and look for models with the "Inference Providers" filter, you can select the provider that you want. We'll go with `fal`.
For this example, we'll use [FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell), a powerful text-to-image model. Next, navigate to the model page and scroll down to find the inference widget on the right side.
22
22
23
23
## Step 2: Try the Interactive Widget
24
24
25
-
Before writing any code, try the widget directly on the model page:
25
+
Before writing any code, try the widget directly on the [model page](https://huggingface.co/black-forest-labs/FLUX.1-dev?inference_provider=fal-ai):
@@ -42,7 +42,7 @@ You'll need a Hugging Face account (free at [huggingface.co](https://huggingface
42
42
43
43
## Step 3: From Clicks to Code
44
44
45
-
Now let's replicate this with Python. Click the **"View Code Snippets"** button in the widget to see the generated code snippets.
45
+
Now let's replicate this with Python. Click the **"View Code Snippets"** button in the widget to see the [generated code snippets](https://huggingface.co/black-forest-labs/FLUX.1-dev?inference_api=true&language=python&inference_provider=auto).
0 commit comments