put-models-by-model-id
Update an existing AI model's configuration, including name, type, parameters, and training settings, by specifying its model ID.
Instructions
Update the given modelId
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalAssets | No | If set to true, returns the original asset without transformation | |
| modelId | Yes | The model's `modelId` to update | |
| negativePromptEmbedding | No | Add a negative prompt embedding to every model's generation | |
| thumbnail | No | 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 | No | ||
| classSlug | No | The slug of the class you want to use (ex: "characters-npcs-mobs-characters"). Set to null to unset the class | |
| name | No | 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. | |
| epoch | No | 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. | |
| promptEmbedding | No | Add a prompt embedding to every model's generation | |
| shortDescription | No | 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. | |
| type | No | The model's type (ex: "flux.1-lora"). The type can only be changed if the model has the "new" status. | |
| parameters | No |