# Load TTS model

- **Method:** `POST`
- **Path:** `/api/v1/model/load`
- **Operation ID:** `model_load_api_v1_model_load_post`
- **Tags:** Model

Load or switch the TTS model.

**A model must be loaded before any generation endpoint will work.**
If the requested mode/quality is already loaded, returns immediately
with `status: "already_loaded"`. Otherwise begins async loading —
poll `GET /api/v1/model/load/progress` until `status: "complete"`.

Switching generation mode (clone / design / tts) requires a different
model variant and triggers a reload.

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Query parameters

- **`sync`**: `boolean`, default: `false`

  Wait for loading to complete

## Request body

**Content type:** `application/json`

schema: `ModelLoadRequest`, default: `{}`

- **`mode`**: `string | null`

  Generation mode to load (clone, design, tts). Uses current if omitted.
- **`quality`**: `string | null`

  Quality preset to load. Uses current if omitted.

**Example:**

```json
{}
```

## Responses

### 200 Successful Response

**Content type:** `application/json`

schema: `ModelLoadResponse`

- **`status` (required)**: `string`

  Load status (loading, complete, already\_loaded, error)
- **`message`**: `string | null`

  Error message if status is 'error'
- **`mode`**: `string | null`

  Generation mode being loaded
- **`quality`**: `string | null`

  Quality preset being loaded

**Example:**

```json
{
  "status": "loading",
  "mode": "clone",
  "quality": "higher_quality",
  "message": ""
}
```

### 422 Validation Error

**Content type:** `application/json`

schema: `HTTPValidationError`

- **`detail`**: `array`

  **Items:**

  schema: `ValidationError`
  - **`loc` (required)**: `array of (string | integer)`
  - **`msg` (required)**: `string`
  - **`type` (required)**: `string`
  - **`ctx`**: `object`
  - **`input`**: `any`

**Example:**

```json
{
  "detail": [
    {
      "loc": [
        ""
      ],
      "msg": "",
      "type": "",
      "input": null,
      "ctx": {}
    }
  ]
}
```

## Schemas

- `HTTPValidationError` — shown above.
- `ModelLoadRequest` — shown above.
- `ModelLoadResponse` — shown above.
- `ValidationError` — shown above.
