#Generating bitmap images with ChatGPT

47 messages · Page 1 of 1 (latest)

oblique atlas
#

Generating bitmap images with ChatGPT

zinc harbor
oblique atlas
#

its in the text file

#

@zinc harbor

zinc harbor
#

ahhh thanks!

oblique atlas
#

you will need a flask server running for it to display properly

#

all the instructions are there

zinc harbor
#

I wonder if i can find an online host thatll run it, i dont think i have any open ports in my network

#

or many*

#

and im too lazy to check

oblique atlas
#

no you dont need a physical server

#

you use localhost port 5000

#

just on your pc

zinc harbor
#

yes, but i have some ports closed I believe, less open ports is less points of entry for a cybersecurity network attack. But I can't remember if I have that implemented on my own network

oblique atlas
#

you dont need to open any ports

#

its localhost

zinc harbor
#

oh wait

#

im a little stupid lmao

#

thanks!

oblique atlas
#

ye, just run the script in flask and copy the prompt

#

0000000000000000-0000000000000000-0000000000000000-0000000000000321-0000004321000000-0000543210543210-0034567890123456-0032109876543210-0032100000000000-0032109876543210-0034567890123456-0000543210543210-0000004321000000-0000000000000321-0000000000000000-0000000000000000-0000000000000000

#

it interpets the data as 16 strings of 16 pixels, which can each be a different colour from 0-9

peak cobalt
#

That's so clever, good job

polar fossil
#

@oblique atlas technically speaking, can't one send the local http inbound and outbound packets to a server connected to the internet?

oblique atlas
polar fossil
#

@oblique atlas i meant using that re-routing with CG <>local server<>internet

oblique atlas
#

i dont get what you mean

#

chatGPT isnt communicating with anything

#

other than your prompt

#

its embedding on your end

polar fossil
#

I see. I misunderstood then. How does the flack server interacts with chatgpt?

oblique atlas
#

flask does not interact with CGPT. your browser will make a get request to it to get the image. its just embedded with markdown so all CGPT has to do is send a link with a bit of formatting

polar fossil
#

Ok thanks for the explanation.

buoyant cliff
#

noice

oblique atlas
#

no need to self host flask anymore

peak cobalt
oblique atlas
polar fossil
#

did they add new capabilities to chatgpt or it wasn't needed from the start?

oblique atlas
polar fossil
#

That's really cool @oblique atlas

oblique atlas
#

yea, i was meaning to host a web server for a while, finally gave me a reason to do it

polar fossil
#

@oblique atlas do you think a similar implementation can be achieved to make it generate 8bit music using midi format?