Nozomu
CDCloudflare Developers
•Created by Nozomu on 4/16/2024 in #workers-help
Way to respond with multiple images from text to image models
"obligatory css hell" had me wheezing, I did a similar approach with createObjectUrl. again thakyou for the help Ray!
8 replies
CDCloudflare Developers
•Created by Nozomu on 4/16/2024 in #workers-help
Way to respond with multiple images from text to image models
I tried this out, I think it works decent enough for what I am building.
this is kind of the response on postman I don't know for now, but I am sure there is an easy way to format it on the client side
--8aedf57a88e783599c5d76329ad6425a
Content-Disposition: form-data; name="output!"; filename="output!"
Content-Type: application/octet-stream
�PNG
I have an intuition for how to make it work with websockets I'll try that out if this becomes too inefficient.
Thankyou for the help really appreciate it 😁 !8 replies
CDCloudflare Developers
•Created by Nozomu on 4/16/2024 in #workers-help
Way to respond with multiple images from text to image models
should I downgrade the version, but anyways as you said encoding will take a lot of time
8 replies
CDCloudflare Developers
•Created by Nozomu on 4/16/2024 in #workers-help
Way to respond with multiple images from text to image models
but when I hover over the responses it still says Uint8Array, also is there any other way you'd recommend so that I can format the images and send multiple images in a single response or directly send multiple images?
8 replies