1.0.2 • Published 1 year ago

lexica-api v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago