For the complete documentation index, see llms.txt. This page is also available as Markdown.

Model and LoRA tools

Reference for the FLORA MCP tools that list generation models and their parameters, and train and check LoRA styles.

These FLORA MCP tools list the models your account can generate with and train LoRA styles from your own images. flora_list_models returns each model's model_id, its estimated cost in US dollars and, for one model, the exact params names that flora_create_generations accepts. To browse models by name, see the image, video, audio, text and 3D model catalogs.

Tool
What it does
Labels

List the generation models this account can use, or read one model's full parameter list.

read-only

List LoRA trainer families with their training parameters, defaults, image limits and compatible models.

read-only

Train and save a LoRA style from your own images, the same way the FLORA web Train dialog does.

writes, destructive, spends money, async

Check whether a saved LoRA style is ready, with its base model and trigger details.

read-only

flora_list_models

List the generation models this account can use, or read one model's full parameter list.

Labels: read-only

Shown in clients as: List models

Use when: Before generating: to pick a model_id, see estimated cost and time, or get one model's exact params names (such as image_url or image_urls).

Don't use when: The default model for the job is fine: flora_create_generations picks one when you leave out model.

Arguments

Argument
Type
Required
Notes

type

string

no

Filter by output modality. One of image, video, audio, text, model3d.

model_id

string

no

Return this one model in full, including its parameters.

query

string

no

Filter by model id or name (case-insensitive; '.', '_' and spaces match '-').

limit

number

no

Max items to return (default 25).

Returns: Featured models first under featured, grouped by type, then the rest under models; a featured model isn't repeated in models, and limit caps both together. Each has a model_id, name, capabilities (such as text-to-image), estimated_cost_usd and estimated_seconds. total counts every model that matched your filters, and truncated appears when the page shows fewer. With model_id, that model's full params list with options and defaults.

Cost: Free. This tool doesn't spend money.

Usually comes before: flora_create_generations

Example prompt: "Which FLORA video models can animate a photo?"

Example call:

Full description from the server

flora_list_lora_trainers

List LoRA trainer families with their training parameters, defaults, image limits and compatible models.

Labels: read-only

Shown in clients as: List LoRA trainers

Use when: Before flora_train_lora, so base_model and trainer_params come from the live catalog.

Don't use when: You want to generate with a LoRA that's already trained: check it with flora_get_lora, then pass params.lora_id to flora_create_generations.

Arguments

Argument
Type
Required
Notes

workspace_id

string

yes

Workspace for training and inference (ws_…).

Returns: Trainer families, each with its training parameters and defaults, image count limits and formats, and the inference model IDs that accept the result, with strength defaults and ranges.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_workspaces

Usually comes before: flora_train_lora

Example prompt: "What LoRA trainers can I use in FLORA?"

Example call:

Full description from the server

flora_train_lora

Train and save a LoRA style from your own images, the same way the FLORA web Train dialog does.

Labels: writes · destructive · spends money · async

Shown in clients as: Train LoRA

Use when: The user wants a reusable style or subject trained from their images.

Don't use when: You'd pass a trainer model to flora_create_generations: that skips the saved style. Upload the images with flora_create_asset first and pass their FLORA URLs.

Arguments

Argument
Type
Required
Notes

workspace_id

string

yes

Workspace to authorize and bill (ws_…).

project_id

string

yes

Project that owns the training run (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

name

string

yes

Name for the saved Style. Can't be empty.

base_model

string

yes

Catalog LoRA family key, such as flux-2 or krea-2. Can't be empty.

image_urls

array of string (uri)

yes

Ordered training-image URLs uploaded to FLORA; trainer-specific image-count limits also apply. 1 to 100 items.

captions

array of (string or null)

no

Optional flat array of per-image captions (string or null), aligned index-by-index with image_urls — exactly one entry per image. Null or blank entries use the shared fallback. Omit to keep web captioning defaults. Up to 100 items. Each item: up to 1024 characters.

trainer_params

map of string, number or boolean

no

Optional flat map of trainer parameters: scalar values only (string, number or boolean), keyed by the exact parameter names flora_list_lora_trainers declares — default_caption and trigger_phrase are flat trainer_params keys, not nested objects or top-level args. Omitted values use web Train defaults, including captioning mode; explicit false, zero and empty strings are preserved for validation.

client_token

string

yes

Persistent lowercase UUID for this logical training request. Reuse the same token and inputs after a lost response. Matches ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$.

Returns: style_id and run_id. Poll the run with flora_list_generations, check readiness with flora_get_lora, then generate with params.lora_id.

Cost: Spends money when training starts. There's no quote option, so tell the user training is billed and get approval first. Save one client_token and reuse it, with the same inputs, after a lost response so the training isn't billed twice.

Usually comes before: flora_list_generations, flora_get_lora

Example prompt: "Train a LoRA called Product style from the 20 product photos I uploaded."

Example call:

Full description from the server

flora_get_lora

Check whether a saved LoRA style is ready, with its base model and trigger details.

Labels: read-only

Shown in clients as: Get LoRA

Use when: After training, to see whether the style is ready before generating with it.

Don't use when: Training failed and you want to know why: poll the training run_id with flora_list_generations.

Arguments

Argument
Type
Required
Notes

workspace_id

string

yes

Workspace in which the Style will be used (ws_…).

style_id

string

yes

Saved Style identifier returned by flora_train_lora (sty_…).

Returns: The style's readiness, base_model and saved trigger metadata. Missing, deleted and inaccessible styles return 404. When it's ready, pass its ID as params.lora_id (not params.style_id) to flora_create_generations.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_train_lora

Usually comes before: flora_create_generations

Example prompt: "Is my Product style LoRA ready?"

Example call:

Full description from the server

Last updated

Was this helpful?