Discover Flux 1.1 Pro with Kotlin Magic!

Опубликовано: 02 Ноябрь 2024
на канале: Tales from the jar side
185
9

Join Ken Kousen in this episode of Tales from the Jar Side as he dives into the world of AI image generation using the Flux 1.1 Pro API. This comprehensive guide details how to interact with the API using Kotlin, covering environment setup, generating images, handling data classes, and Kotlin flows. Learn to leverage Kotlin’s asynchronous operations for polling results and saving images with unique names. Throughout the video, Ken demonstrates setting up essential plugins and managing API interactions with custom headers and serialization. Don’t miss the showcase of generated images and access to the full code on GitHub. Subscribe for more tutorials and Java versions!

00:00 Flux 1.1 [pro] with Kotlin
00:55 Exploring the API Features
01:39 Understanding the Asynchronous Process
03:14 Diving into Kotlin Implementation
05:28 Setting Up the API and Networking
10:17 Polling and Handling Responses
13:49 Testing and Results
14:44 Showcase of Generated Images
16:22 Conclusion and Further Resources

Tales from the jar side:
▶️ Newsletter: https://kenkousen.substack.com
▶️ YouTube channel:    / @talesfromthejarside  
▶️ Home page: http://www.kousenit.com

Welcome to Tales from the jar side! New newsletter every Sunday, new newsletter video every Monday, and additional technical videos (Java, Gradle, JUnit, Spring, and lots more) every week.

Affiliate links:
These are products I use on a regular basis. If you click on them, your price doesn't change, but I may receive a small referral fee. Feel free to try them out.

▶️ Tella.tv: https://tella.tv/?via=tftjs
Tella is a great screen capture program. Very simple to use, but very powerful. :)
▶️ Descript: https://www.descript.com/?lmref=HHcVuA
This is a great program for transcribing videos and letting you edit them by editing the transcript. It also has several AI features like Studio Sound, Background Removal, Eye Tracking, Autodub, and more. I use it especially for YouTube Shorts.
▶️ TubeBuddy: https://www.tubebuddy.com/pricing?a=t...
This is about the best tool around for giving you statistics on YouTube videos.
▶️ CleanShot: https://cleanshot.sjv.io/Tftjs
I use this as my primary way of making screenshots. You can save them locally or to the cloud, crop and do other edits, add backgrounds, and more.
▶️ Manning Publications: https://www.manning.com/?utm_source=m...
This is where my first book, "Making Java Groovy", was published, but you can use the link for any Manning books