Black Forest labs released FLUX Tools with support on Together AI These models enable you to iterate on existing images with image → image and image + text → prompt, which unlocks lots of exciting use cases for AI developers.Three new FLUX Tools image generation models from BFL now available on Together AI: Canny for precise composition control, Depth for accurate spatial relationships, and Redux for instant image variations.
from together import Togetherclient = 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)