v1

latestOpenAPI 3.0.02026-07-13650400.5 KB
Tailored Generation

Update Model

Update a model's name and description. Other model attributes such as training version and dataset cannot be modified after creation.

put/tailored-gen/models/{model_id}

Path parameters

model_idinteger required

Model ID

Headers

api_tokenstring required

Request body

namestring

New model name (optional)

descriptionstring

New model description (optional)

Response

Model successfully updated

idinteger

Unique identifier for the model

namestring

Name of the model

descriptionstring

Description of the model

status'Created' | 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped'

Status of the model

training_version'light' | 'max'

Training version

generation_prefixstring

Text drawn from the dataset's caption_prefix that is automatically prepended to generation prompts to maintain consistency. It matches the dataset's caption_prefix. It can be bypassed during generation by setting include_generation_prefix=false.

project_idinteger

ID of the project this model belongs to

dataset_idinteger

ID of the dataset used for training

created_atstring date-time

Timestamp when the model was created