8000 GitHub - tarah7579/lexica-api: API wrapper around Lexica.art for searching Stable Diffusion images.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tarah7579/lexica-api

 
 

Repository files navigation

Lexica

API wrapper around Lexica for searching Stable Diffusion images.

NPM Build Status MIT License Prettier Code Formatting

Intro

This package is a simple Node.js wrapper around the Lexica API for searching Stable Diffusion images.

It uses got and TypeScript.

Install

npm install --save lexica-api
# or
yarn add lexica-api
# or
pnpm add lexica-api

Usage

import { LexicaAPI } from 'lexica-api'

const lexica = new LexicaAPI()

// normal search
const results0 = await lexica.search('apples')

// reverse image search
const results1 = await lexica.reverseImageSearch(
  'https://media.gettyimages.com/photos/crete-senesi-countryside-in-summer-tuscany-italy-picture-id1411845730'
)

Docs

See the auto-generated docs.

License

MIT © Travis Fischer

Support my open source work by following me on twitter twitter

About

API wrapper around Lexica.art for searching Stable Diffusion images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.9%
  • JavaScript 16.5%
  • Shell 2.6%
0