Learn how to build BlinkShot, an app that generates images from text in real-time using Together AI's Turbo endpoint for the FLUX.1 [schnell] model. The app uses Next.js, Shadcn, React Query, and debouncing to improve user experience. Instructions include setting up the API route, generating images, displaying them in real-time, and refining image quality using steps and a seed for deterministic image generation.
Table of contents
Generating an image in an API routeDebouncing our API requestsRefining the imageBuilding off of prior images with seedGoing beyond BlinkShotSort: