# Set the AI Cut LLM config

- **Method:** `PUT`
- **Path:** `/api/v1/aicut/llm-config`
- **Operation ID:** `aicut_set_llm_config_api_v1_aicut_llm_config_put`
- **Tags:** AI Cut

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Request body

**Required:** `true`

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

schema: `ClipsLLMConfigRequest`

- **`api_key`**: `string | null`

  Omit to keep the provider's stored key
- **`base_url`**: `string | null`

  Omit to keep the provider's stored base URL
- **`disable_thinking`**: `boolean | null`

  Omit to keep the stored reasoning setting
- **`model`**: `string`, default: `""`
- **`provider`**: `string`, default: `"gemini"`
- **`provider_order`**: `string | null`

  OpenRouter provider slugs, comma-separated; omit to keep, empty to clear
- **`reasoning_effort`**: `string | null`

  One of the model's supported efforts (low, high, max...); omit to keep, empty for the default

**Example:**

```json
{
  "provider": "gemini",
  "api_key": "",
  "base_url": "",
  "model": "",
  "disable_thinking": true,
  "provider_order": "",
  "reasoning_effort": ""
}
```

## Responses

### 200 Successful Response

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

`any`

**Example:**

```json
null
```

### 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

- `ClipsLLMConfigRequest` — shown above.
- `HTTPValidationError` — shown above.
- `ValidationError` — shown above.
