List Models

HTTP request

POST /lora/?type={type}&cate={cate}

Authorization

Include your ACCESS TOKEN in HTTP Authorization header

Authorization: Bearer Token

Request Parameters

KEY
TYPE
VALUE

type

String

Type of LoRA model. Enum: “sd”,”sdxl”. The default is take all.

cate

String

Catalog of LoRA models. This parameter is diverse. The default value is take all.

Parrot API

lora_models = parrot.get_lora_models(type, cate)

Response

Returns the list of types.

{
  "data": [
    {
      "model": "add_detail",
      "metadata": {
        "source": "https://huggingface.co/OedoSoldier/detail-tweaker-lora"
      }
    },
    {
      "model": "add_detail_xl",
      "metadata": {
        "source": "https://civitai.com/models/122359/detail-tweaker-xl"
      }
    },
    {
      "model": "anime_nouveau_xl",
      "metadata": {
        "source": "https://huggingface.co/Linaqruf/anime-nouveau-xl-lora"
      }
    },
    {
      "model": "storybook-kids",
      "metadata": {
        "source": "https://huggingface.co/artificialguybr/storybookredmond-1-5-version-storybook-kids-lora-style-for-sd-1-5"
      }
    }
  ]
}

Last updated

Was this helpful?