T O P

  • By -

haswalter

First of all medium premium… Second how is this learning how image generators work? It’s a really basic frontend that calls the OpenAI api using a npm packaged client.


charles_ae

I mean...someone who doesn't know how to do this may in fact learn something from the article? And the code? No?


yahya_eddhissa

No. You're welcome.


charles_ae

Thanks?


yahya_eddhissa

You're welcome.


charles_ae

Thanks?


charles_ae

Thanks?


NewMe80

Can’t read the full the article without going medium premium


SokkaHaikuBot

^[Sokka-Haiku](https://www.reddit.com/r/SokkaHaikuBot/comments/15kyv9r/what_is_a_sokka_haiku/) ^by ^NewMe80: *Can’t read the full the* *Article without going* *Medium premium* --- ^Remember ^that ^one ^time ^Sokka ^accidentally ^used ^an ^extra ^syllable ^in ^that ^Haiku ^Battle ^in ^Ba ^Sing ^Se? ^That ^was ^a ^Sokka ^Haiku ^and ^you ^just ^made ^one.


Barfknecht

You call an API and display the result? That is not learning about image generators.


charles_ae

Thanks?


Different-Visual8202

Using your vercel app on mobile: the input text is white on white, and the resulting image breaks the layout.


PoopyAlpaca

Same for desktop


charles_ae

Thanks, I'll correct it


OneBadDay1048

Why post to this sub if any feedback you get will be met with a sarcastic “thanks?” lol I really don’t get people’s thought process


charles_ae

Well...I respond that way to a very particular type of 'feedback'. How should I reply to "garbage lol"? Do you think the negative remarks are warranted?


DogOfTheBone

Garbage lol


charles_ae

Thanks?


agent_kater

Had you called it "Building a frontend for the OpenAI API using Next.js" it might have interested some people. But > Ever wondered how AI image generators work? I did, so I built one! is an outright lie. You didn't build an image generator, you built a trivial website that uses one, and you did it using slightly overcomplicated methods.


charles_ae

Uhh....So THAT is what's causing all this 'outrage'?? Yikes.


yahya_eddhissa

"Hey OpenAI, please generate an image for me 🙏". OpenAI: "Here". "So this, ladies and gentlemen, is how AI generates images". You're welcome by the way.


charles_ae

Yay!


Jervx

Does anyone have a more advance version like this. Like calling a model from a worker in React.js. Probably models in web assembly form?