Lexica.art
An easy-to-use reverse engineered text to image generation Python API wrapper for Lexica.art
Install / Use
/learn @NotCookey/Lexica.artREADME
Usage
Searching For Images Using The API
from Lex import Lexica
lex = Lexica(query="icecream").images()
print(lex)
<b>It will return you a list with the image links</b>
Generating Images Using The API
<b>You must have a registered account on Lexica first.</b>
<b>Once you're registered you need the cookie from the site. To find the cookie open Inspect Tools then navigate to the Network Tab and start recording the requests. Generate an image and intercept the requests, there you'll find a request named generator open the requests and scroll down until you find the cookie parameter in the headers section of the request</b>

<b>Copy the entire cookie value and store it in a variable or a file.</b>
from Lex import Lexica
cookie="YOUR COOKIE"
lex = Lexica(query="icecream",cookie=cookie).generate()
print(lex)
<b>It will return you a list with the image links</b>
Additional Configurations
- <b>negativePrompt: Default to
None</b> - <b>guidanceScale: Default to
7</b> - <b>portrait: Default to
True(If set toFalsewill generate a landscape image with ratio (768,512))</b>
Demo Web UI made using the API Wrapper
<b>If you are interested feel free to check it out, Aperture</b>

Thank You
- <b>I hope you found this useful, If you did consider giving it a star <3</b>
Related Skills
gh-issues
351.8kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
healthcheck
351.8kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
351.8kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
oracle
351.8kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
