Commit c9a36c3
authored
[Inference Providers] Fix fal
this should fix inference for
https://huggingface.co/black-forest-labs/FLUX.2-dev
it seems like some fal `image-to-image` endpoints expect `image_urls` as
an array, not `image_url` as a string (see the specs for Flux.2
[here](https://fal.ai/models/fal-ai/flux-2/lora/edit/api#schema-input)).
Note that other models like
[Qwen-Image-Edit](https://huggingface.co/Qwen/Qwen-Image-Edit?inference_provider=fal-ai)
still expects `image_url` as input (specs
[here](https://fal.ai/models/fal-ai/qwen-image-edit/api#schema-input)).image-to-image API payload (#1858)1 parent bb963bd commit c9a36c3
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
243 | 246 | | |
244 | 247 | | |
245 | | - | |
246 | | - | |
247 | | - | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
| 251 | + | |
| 252 | + | |
250 | 253 | | |
251 | 254 | | |
252 | 255 | | |
| |||
0 commit comments