-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use upscale feature? #14
Comments
Until yet, I haven't implemented the upscale feature. Will be doing so pretty soon. |
It is still yet to be implemented. I'll be doing it some time later, until then if anyone would like to implement it, here's the info you'd require. UpscaleENDPOINT: Payload Format: {"image_id": "date/imagepath.ext", "model": "none", "negative_prompt": "", "prompt": "", "token": "null", "version": "c4ue22fb7kb6wlac"} Upscaled Image: Keep it as a separate entity (function) inside the generator = Craiyon()
image = generator.upscale("2023-08-21/de9e76d570eb496086afa71979a11706.webp") # <-- This would be a link |
Oh, thanks, maybe I'm do it :) |
But you can give me link to API reference (for api.craiyon.com? |
There isn't any API reference provided by them. All you could find is by surfing the network usage of the website. The Basically, the 9 images generated by craiyon. generator = Craiyon()
result = generator.generate("cool apple")
image_ids = [i.replace("https://img.craiyon.com/") for i in result.images] Here |
Ok, thanks :) |
The text was updated successfully, but these errors were encountered: