LoRAs

Discover LoRA trainers and compatible models

Changed on

Returns available LoRA families, selected trainers, image limits and supported training parameters with the same effective defaults as the web Train dialog for a dataset without manual labels. Also returns compatible visible inference model IDs and their parameter defaults/ranges. Pass the base_model key to POST /loras/train; when its saved Style is ready, use params.lora_id with one of the compatible inference models. Trainer image inputs and fixed output formats are managed by the training service and are not caller-configurable.

get/loras/trainers

Request

  • Base URL
    https://app.flora.ai/api/v1
  • URL
    https://app.flora.ai/api/v1/loras/trainers
  • Auth
    HTTP bearer

Query parameters

workspace_idstring required

Workspace for trainer discovery and subsequent training

Example:ws_abc123

Response

Available LoRA trainers returned.

Changes

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • info

      endpoint added