/models/{modelId}

Update the given modelId

Path Params
string
required

The model's modelId to update

Query Params
string

If set to true, returns the original asset without transformation

Body Params
string

Add a negative prompt embedding to every model's generation

string

The AssetId of the image you want to use as a thumbnail for the model (example: "asset_GTrL3mq4SXWyMxkOHRxlpw"). Set to null to unset the thumbnail

concepts
array of objects

The concepts is required for composition models. With one or more loras

Only applicable to Flux based models (and older SD1.5 and SDXL models)

concepts
string

The slug of the class you want to use (ex: "characters-npcs-mobs-characters"). Set to null to unset the class

string
length ≤ 64

The model's name (ex: "Cinematic Realism").

If not set, the model's name will be automatically generated when starting training based on training data.

string

The epoch of the model. Only available for flux.1-lora and flux.1-kontext-lora based models.

The epoch can only be set if the model has epochs and is in status "trained".

The default epoch (if not set) is the final model epoch (latest).

Set to null to unset the epoch.

string

Add a prompt embedding to every model's generation

string
length ≤ 256

The model's short description (ex: "This model generates highly detailed cinematic scenes.").

If not set, the model's short description will be automatically generated when starting training based on training data.

string
enum

The model's type (ex: "flux.1-lora").

The type can only be changed if the model has the "new" status.

parameters
object

The parameters to use for the model's training

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json