/plushcap/analysis/together-ai/together-ai-how-to-build-a-real-time-image-generator-with-together-ai

How to build a real-time image generator with Flux and Together AI

What's this blog post about?

BlinkShot is an open-source app that generates images from text in real-time using Flux and Together AI. The app uses React Query to generate images as the user types, and it can be built with Next.js, Shadcn, and React Query. The Turbo endpoint for the FLUX.1 [schnell] model from Black Forest Labs is used to create images quickly. Users can install Together's node SDK to generate an image with Flux [schnell]. Debouncing API requests can be implemented using the @uidotdev/usehooks library, and the steps option of images.create controls the number of generation steps for higher quality images. The seed option enables deterministic image generations by reproducing a generation for a given prompt.

Company
Together AI

Date published
Oct. 11, 2024

Author(s)
Hassan El Mghari

Word count
1197

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.