Lexica (Independent Publisher) (#2373)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
This commit is contained in:
Troy Taylor 2023-02-15 16:00:10 -05:00 коммит произвёл GitHub
Родитель b3f8be31b0
Коммит 677e571126
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 176 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,150 @@
{
"swagger": "2.0",
"info": {
"title": "Lexica",
"description": "Lexica is the stable diffusion search engine. Generate photorealistic images with Lexica Aperture.",
"version": "1.0",
"contact": {
"name": "Troy Taylor",
"url": "https://www.hitachisolutions.com",
"email": "ttaylor@hitachisolutions.com"
}
},
"host": "lexica.art",
"basePath": "/api/v1/",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/search": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The image identifier.",
"title": "ID"
},
"gallery": {
"type": "string",
"description": "The query gallery.",
"title": "Gallery"
},
"src": {
"type": "string",
"description": "The image.",
"title": "Source"
},
"srcSmall": {
"type": "string",
"description": "The image small.",
"title": "Source Small"
},
"prompt": {
"type": "string",
"description": "The prompt.",
"title": "Prompt"
},
"width": {
"type": "integer",
"format": "int32",
"description": "The image width.",
"title": "Width"
},
"height": {
"type": "integer",
"format": "int32",
"description": "The image height.",
"title": "Height"
},
"seed": {
"type": "string",
"description": "The seed.",
"title": "Seed"
},
"grid": {
"type": "boolean",
"description": "Whether this image is a grid of multiple images.",
"title": "Grid"
},
"model": {
"type": "string",
"description": "The model used to generate this image.",
"title": "Model"
},
"guidance": {
"type": "integer",
"format": "int32",
"description": "The guidance scale.",
"title": "Guidance"
},
"promptid": {
"type": "string",
"description": "The prompt identifier.",
"title": "Prompt ID"
},
"nsfw": {
"type": "boolean",
"description": "Whether NSFW.",
"title": "NSFW"
}
}
},
"title": "images"
}
}
}
}
},
"summary": "Search for a term",
"description": "Retrieve a list of images generated by the query term(s). For a reverse image search, you can pass in the URL of an image as the query.",
"operationId": "Search",
"parameters": [
{
"name": "q",
"in": "query",
"x-ms-summary": "Query",
"description": "The search query.",
"required": true,
"type": "string"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://lexica.art/"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://lexica.art/"
},
{
"propertyName": "Categories",
"propertyValue": "AI"
}
]
}

Просмотреть файл

@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Troy Taylor",
"stackOwner": "Lexica"
}
}

Просмотреть файл

@ -0,0 +1,17 @@
# Lexica
Lexica is the stable diffusion search engine. Generate photorealistic images with Lexica Aperture.
## Publisher: Troy Taylor, Hitachi Solutions
## Prerequisites
There are no prerequisites to use this service.
## Obtaining Credentials
There are no credentials needed to use this service.
## Supported Operations
### Search for a term
Retrieve a list of images generated by the query term(s). For a reverse image search, you can pass in the URL of an image as the query.
## Known Issues and Limitations
There are no known issues at this time.