You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With OpenAI, for example, it's not about resolution (max 1024x1024) but rather just the compression. I get that I can also use the preview manager for the compression. But given that image compression is relatively inexpensive (especially since it's done only once per file and not for every request here) I'd tend to think using the php built-in methods makes sense here. Would you agree?
https://github.com/nextcloud/text2image_helper/blob/main/lib/Service/Text2ImageHelperService.php#L234
text2image_stablediffusion for example returns png images. You can detect the mimetype from the content using a php function I forgot the name of :D
The text was updated successfully, but these errors were encountered: