HuggingfaceClient.Inference.Task.ImageTextToImage
(huggingface_client v0.1.0)
Copy Markdown
View Source
Image + text to image. Takes an image and a text prompt, returns a new image.
Recommended model: black-forest-labs/FLUX.1-dev
Summary
Functions
Runs the image-text-to-image task.
Functions
@spec run(HuggingfaceClient.Client.t(), map()) :: {:ok, term()} | {:error, Exception.t()}
Runs the image-text-to-image task.
Returns {:ok, result} or {:error, exception}.