GithubHelp home page GithubHelp logo

notcookey / lexica.art Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 6.0 19 KB

An easy-to-use reverse engineered text to image generation Python API wrapper for Lexica.art

Home Page: https://aperture-sandy.vercel.app/

License: GNU General Public License v3.0

Python 100.00%
ai aperture api image image-generation lexica lexica-aperture lexica-art lexicaai model openai reverse-engineering stable-diffusion text-to-image website wrapper

lexica.art's Introduction

Never regret thy fall, O Icarus of the fearless flight, For the greatest tragedy of them all, Is never to feel the burning light.

lexica.art's People

Contributors

notcookey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lexica.art's Issues

Key Error

Traceback (most recent call last):
File "/Users/vanshshah/Downloads/Lexica.art-main/testimg.py", line 3, in
lex=Lexica(query="bubble", cookie=cookie).generate()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/vanshshah/Downloads/Lexica.art-main/Lex.py", line 50, in generate
imageout = [f"https://image.lexica.art/full_jpg/{ids['id']}" for ids in response.json()['images']]
~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'images'

JSON Decode Error

Traceback (most recent call last):
File "e:\FILES\Documents\Web-Dev-Project\Chat-Bot\api\test2.py", line 5, in
lex = Lexica(query="icecream",cookie=cookie).generate()
File "e:\FILES\Documents\Web-Dev-Project\Chat-Bot\api\Lex.py", line 50, in generate
return [f"https://image.lexica.art/full_jpg/{ids['id']}" for ids in response.json()["images"]]
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_models.py", line 756, in json
return jsonlib.loads(self.text, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.