FireHead90544 / craiyon.py

Unofficial API Wrapper for craiyon.com (DAL-E-MINI). Generate awesome images from text tokens.
Apache License 2.0
69 stars 22 forks source link

API_TOKEN #13

Closed enkiluv closed 1 year ago

enkiluv commented 1 year ago

Craiyon's api_token seems to change whenever I sign in to the service, which breaks already working code. Is there any stable way of getting a persistent api_token instead?

mdm9300404 commented 1 year ago

Craiyon's api_token seems to change whenever I sign in to the service, which breaks already working code. Is there any stable way of getting a persistent api_token instead?

Not that I know of, unfortunately

FireHead90544 commented 1 year ago

Agreed. There doesn't seem a way to get around that. What you could do is create a simple web app using the token to generate images through the api and get the results. Then instead of logging in to craiyon.com again and again, You can just use that token to generate the images from your web server.