YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
import os from huggingface_hub import InferenceClient
client = InferenceClient( provider="fal-ai", api_key=os.environ["HF_TOKEN"], )
with open("cat.png", "rb") as image_file: input_image = image_file.read()
output is a PIL.Image object
image = client.image_to_image( input_image, prompt="Turn the cat into a tiger.", model="black-forest-labs/FLUX.1-Kontext-dev", )
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support