Retrieve Compressed Images Generated by Midjourney from Object Storage + WSRV
GET
https://wsrv.nl/
wsrv
project, allowing users to directly access compressed images and improve user experience.https://pi.ohmygpt.com/api/v1/content/mj-generated/
is a GET interface. You can use this interface to retrieve image files from this site's S3 object storage service.Usage is as follows:
https://wsrv.nl/?url=
+ https://pi.ohmygpt.com/api/v1/content/mj-generated/
+ s3Key
+ &w=400
Where
s3Key
is the imageS3Url
parameter found in the Mj query interface or callback. You can concatenate the URL and pass the parameter to the url
parameter of the wsrv interface to achieve proxying of this interface.Request
Query Params
url
string
optional
Example:
https://pi.ohmygpt.com/api/v1/content/mj-generated/lLE5vCA1-d146b4fa-858c-45dc-b4cc-1e6efac4a351.png
w
string
optional
Example:
400