Learn how to use the new Flux Tool models: Canny, Controlnet, and Remix
from together import Together
client = Together()
imageCompletion = client.images.generate(
    model="black-forest-labs/FLUX.1-depth",
    width=1024,
    height=768,
    steps=28,
    prompt="show me this picture as a superhero",
    image_url="https://github.com/nutlope.png",
)
print(imageCompletion.data[0].url)
Was this page helpful?