Skip to content
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

Is it possible to create just one image instead of a map of images? #1

Open
lightsage88 opened this issue Oct 6, 2022 · 1 comment

Comments

@lightsage88
Copy link

I'm using your package to create card art for a web application game of memory. Each prompt creates a collection of images and I'm only using the first one from each batch. As you may well imagine, this creates anywhere from a 5 to8 minute delay in my application.

Is it at all possible to force the package to make just one image and then stop there?

Thanks!

@jozsefsallai
Copy link
Owner

This package uses Craiyon to generate images, so it's all up to them.

I don't think Craiyon currently has a parameter for the number of images that will be returned, since their API isn't publicly documented (yet?), so there's little reason for them to add something they don't also provide as an option on their UI. This library was made possible by reverse-engineering what Craiyon does on their website. Until there's official documentation (or someone doesn't find a hidden parameter that you can pass to the request), it will always return 9 images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants