v1

latestOpenAPI 3.0.02026-07-13650400.5 KB
Tailored Generation

Create Model

Create new model. A dataset can be used to train multiple models with different training versions (e.g., one light and one max). The model will belong to the same project as its dataset.

post/tailored-gen/models

Headers

api_tokenstring required

Request body

namestring

Name of the model (required)

dataset_idinteger

ID of the dataset to use (required)

training_version'light' | 'max'

Training version (required):

  • Light: Choose this version when you need fast generation times and compatibility with our structure reference feature.
  • Max: Best for complex IPs requiring high fidelity and precise prompt alignment. Choose this version when accurate replication of specific attributes is your top priority. This version is currently not available when ip_medium=photography.
descriptionstring

Description of the model (optional)

Response

Model successfully created

idinteger

Unique identifier for the model

namestring

Name of the model

descriptionstring

Description of the model

status'created'

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. This field is empty upon model creation, and filled after the training starts.

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