---
title: "Create Model"
method: POST
path: "/tailored-gen/models"
tags: ["Tailored Generation"]
---

# Create Model

`POST /tailored-gen/models`

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.

## Headers

- `api_token` string, required

## Request body

- object
  - `name` string — Name of the model (required)
  - `dataset_id` integer — 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.
  - `description` string — Description of the model (optional)

## Response `201`

Model successfully created

- object
  - `id` integer — Unique identifier for the model
  - `name` string — Name of the model
  - `description` string — Description of the model
  - `status` 'created' — Status of the model
  - `training_version` 'light' | 'max' — Training version
  - `generation_prefix` string — 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_id` integer — ID of the project this model belongs to
  - `dataset_id` integer — ID of the dataset used for training
  - `created_at` string, date-time — Timestamp when the model was created

## Other responses

- `400` — Bad request - validation error
- `401` — Unauthorized
- `404` — Dataset not found
- `429` — Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
- `500` — Internal server error

---

[API](https://skmtc.net/bria-ai/apis/the-bria-api.md) · [All operations](https://skmtc.net/bria-ai/apis/the-bria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/the-bria-api/versions/2768230345a5/schema)
