Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

This is insane! I just used the new Claude Code Playground plugin to level up my Nano Banana Image generator skill. My skill has a self-improving loop, but with the playground skill, I can also pass precise annotations to nano banana as it improves the images. It's so good!

287,078 görüntüleme • 8 ay önce •via X (Twitter)

41 Yorum

elvis profil fotoğrafı
elvis8 ay önce

It might not be obvious, so let me share a bit more on how this works: I have built a Skill for Claude Code that leverages the nano banana image generation model via API. I built it like that because I have had a lot of success generating images with nano banana in an agentic self-improving loop. It can dynamically make API requests and improve images really well. With the Playground plugin, I can take it one step further. I can now provide precise annotations that the agentic loop can leverage to make more optimal API calls in the hope of improving the images further. Visual cues are extremely powerful for agents, and this is a sort of proxy for that. I call this whole process Agentic Image Generation. Google this week released a somewhat similar idea with Agentic Vision ( I have been playing around with this idea for months, and I actually share more on this with my Claude Code cohorts:

elvis profil fotoğrafı
elvis8 ay önce

This is how the image turned out after the annotations. Not perfect, but this only keeps getting better. It's the best workflow I have built to take advantage of Nano Banana and Claude Code for image generation.

elvis profil fotoğrafı
elvis8 ay önce

@bcherny as usual, you guys really cooked with this one. I will keep testing out other cool use cases with this and sharing them here.

Kirtan profil fotoğrafı
Kirtan8 ay önce

For those wondering where can they find playground plugin -

Robert Hu 🦉 profil fotoğrafı
Robert Hu 🦉8 ay önce

Self-improving loops are underrated. Most people build static tools when they could be building systems that get better with each iteration. This is the compound interest of AI workflows.

Austin King profil fotoğrafı
Austin King8 ay önce

This looks really useful. How to do bridge the x, y coordinate of an annotation into nano-banana? Does you markup an image as input or do you alter the textual prompt?

elvis profil fotoğrafı
elvis8 ay önce

It's simply using what's available in the API. I have this built as a skill which can dynamically optimize API requests in an agentic loop, and normally most of the optimization happens in the prompt, and in some cases (such is the case in my example) uses the original image (base64-encoded). But the image is not annotated or anything. This is my first initial test. I am trying to figure out how robust these annotations are and how the agentic loop maps to the API requests.

Austin King profil fotoğrafı
Austin King8 ay önce

Excellent. Looking forward to updates!

Lucretia_uu profil fotoğrafı
Lucretia_uu8 ay önce

Tried your workflow, incredible! Add annotations in the playground is a precise and visual move

elvis profil fotoğrafı
elvis8 ay önce

Nice!

Alex Lieberman profil fotoğrafı
Alex Lieberman8 ay önce

come share it in

Karl Wirth profil fotoğrafı
Karl Wirth8 ay önce

This is really cool. Its similar to the idea behind @nimbalyst ... visually iterate with the AI in your docs, csv, excalidraw, code ... or in your case nano-banana diagram. I think the key is high bandwidth iteration between human (which means visual) and AI.

Nathan Wang profil fotoğrafı
Nathan Wang8 ay önce

The feedback loop here is the real killer feature. I’ve been struggling to get Nano Banana to respect specific layout constraints without breaking the rest of the image. Using the Playground to visually annotate exactly what needs fixing—instead of just hoping the next prompt iteration catches it—is such a better workflow. It feels like we're finally moving from "prompting" to actual directing. Did you have to tweak the system prompts in to get it to understand the annotations, or did it just work out of the box?

Samanyou Garg profil fotoğrafı
Samanyou Garg8 ay önce

Very cool. How does the token usage look like? Is there a max set of iterations you have defined?

Bersek profil fotoğrafı
Bersek8 ay önce

@grok What exactly is this playground plugin?

Meta-Learner profil fotoğrafı
Meta-Learner8 ay önce

Could you share the skill?

elvis profil fotoğrafı
elvis8 ay önce

I plan to share the image generator skill soon.

gerry🗯 profil fotoğrafı
gerry🗯8 ay önce

I honestly feel like people are just fooling themselves in many of these. Being able to provide things such as precise locations only matters if the model actually is able to understand those directions I haven't seen any image model that works well the guidance you are giving.

Jay Khatri profil fotoğrafı
Jay Khatri8 ay önce

That sounds amazing! Can't wait to try it myself!

Abdulmuiz Adeyemo profil fotoğrafı
Abdulmuiz Adeyemo8 ay önce

Crazy

Abhishek Sharma profil fotoğrafı
Abhishek Sharma8 ay önce

How'd u add self improving loop to your nano banana skill?

Yetkin BELAZEN profil fotoğrafı
Yetkin BELAZEN8 ay önce

Wait , how you do it?

Brandon | B Gets Lost profil fotoğrafı
Brandon | B Gets Lost8 ay önce

Could you click around a few more times bro cant see what the fuck youre even showing

JJ Englert profil fotoğrafı
JJ Englert8 ay önce

Super fun!

devo profil fotoğrafı
devo8 ay önce

That's really cool. May I ask what is the total cost (approximately) of generating this image ?

Ang Li profil fotoğrafı
Ang Li8 ay önce

beyond text, wild stuff!

Blake Johnson profil fotoğrafı
Blake Johnson8 ay önce

Can you explain the connection between this and nano banana? I’m confused

elvis profil fotoğrafı
elvis8 ay önce

It's using nano banana (via API) to generate the initial images. But I have wrapped the API as a skill so that Claude Code can figure out dynamically in an agentic loop how to optimize the prompt. The Playground skill I used here helps provide more precision annotations that help the agentic loop optimize the prompt better so that it can improve the images more precisely. I would call it something like Agentic Image Generation with a Human in the Loop (which could also be automated, and I am already starting to play around with the idea). More soon.

Blake Johnson profil fotoğrafı
Blake Johnson8 ay önce

Very cool!

Hashim Warren profil fotoğrafı
Hashim Warren8 ay önce

@grok please link me to the Claude Code Playground plugin and also explain what it does

Tommy profil fotoğrafı
Tommy8 ay önce

whoa that's wild. self-improving loops with precise annotations sound like a game changer for tweaking those banana images. claude's playground pulling its weight big time.

Artem profil fotoğrafı
Artem8 ay önce

That's wild! Self-improving loops are def the future.

Sankalp Arora profil fotoğrafı
Sankalp Arora8 ay önce

Yes but I would be interested to know self healing loops must be degrading the quality of image at each turn

Romanov Arthur profil fotoğrafı
Romanov Arthur8 ay önce

Heya, how did you create this video? Is it auto-generated? Please let me know cause it looks very nice!

Carmelo schepis profil fotoğrafı
Carmelo schepis8 ay önce

crazy

ejae dev profil fotoğrafı
ejae dev8 ay önce

the self improving loop is the key insight here. most people use image gen as a one shot and accept whatever comes out. wrapping it as a skill with an agentic feedback loop means each iteration gets smarter about what works. the playground annotations adding spatial precision on top is a clean combo. curious how many iterations it typically takes to converge on a good result.

Jayesh Betala profil fotoğrafı
Jayesh Betala8 ay önce

Annotations in Nano Banana are my favorite part. I’d also highly recommend anyone running sub-agents or using skills to add a feedback loop. Let the AI learn as it works, through both mistakes and successes. I’ve seen a real difference using this approach over the past few weeks.

ejae dev profil fotoğrafı
ejae dev8 ay önce

the self improving loop is the key insight here. most people use image gen as a one shot and accept whatever comes out. wrapping it as a skill with an agentic feedback loop means each iteration gets smarter about what works. the playground annotations adding spatial precision on top is a clean combo. curious how many iterations it typically takes to converge on a good result.

ESONGS_eth profil fotoğrafı
ESONGS_eth8 ay önce

i agree with you Elvis That’s actually huge. The moment you can pass structured annotations back into a self-improving loop, it stops being “prompt tweaking” and starts feeling like real system design. Very cool use case i must say

Adriana Sobota profil fotoğrafı
Adriana Sobota8 ay önce

self improving loops are where things get really interesting

salami profil fotoğrafı
salami8 ay önce

Ok.

Benzer Videolar

All these demo videos make HEAD SWAPPING with Nano Banana look so easy, but then you give it a try and you're like... uh... what? Why didn't that work? Here's what I've found. Nano Banana reads your image, almost literally, so if you write on the image, it reads the text. This is how Higgsfield AI 🧩 has capitalized on the tech: "Write on the image" and give it direction, right? Totally true, but you don't need Higgi to write on your image. Nano Banana will understand your direction regardless of where you write on your image. On one hand, Higgi is really smart, because they're hranessing the tech in a unique way, but the whole "Higgsfield's Banana Placement" is a bit of a misnomer. It's more of a "Banana Placement" and Higgi is just giving you a sort of basic Photoshop-type tool to work with (again, pretty smart), but the real tech is the Banana. 🍌 This is how I head swapped heads in Runway, but Nano Banana maintains the aesthetic qualities of your image almost perfectly, whereas Runway Reference spits out a very Gen-4 looking image. I like using Nano in Freepik (now Magnific), mainly because it's fast and I can get 4 gens at a time, and you need to gen a dozen times of so before you get a winner (most of the time). I was pumped when I saw Freepik introduce the @ reference feature, just like Runway has, but it doesn't seem to work for head swapping. My guess is because that's not really how Nano Banana tech works... ideally. Marco is the person I saw using this "A" and "B" method, back when Nano was on LM Arena, and man-oh-man, it just works... like a charm. You need experiment with how much of the face you blot out, and the angle and facial expression of your new head if you want the blend to be perfect. All of the results in this video are 100% Nano Banana. I did not do any Photoshop work to the images after the fact. I really hope this helps. Let me know if you have any questions. I'm happy to help. And I'll keep posting videos like this if you guys find them useful. Let me know! And if you want more serious, one-on-one AI consultation you can throw something on the books here:

Jordan Daniel Chesney

62,235 görüntüleme • 1 yıl önce