# Save the caption word edits for an avatar video

- **Method:** `PUT`
- **Path:** `/api/v1/talking-head/videos/{video_id}/word-edits`
- **Operation ID:** `th_set_word_edits_api_v1_talking_head_videos__video_id__word_edits_put`
- **Tags:** Avatars

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Path parameters

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

## Request body

**Required:** `true`

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

schema: `TalkingHeadWordEditsRequest`

- **`word_edits`**: `object`

  Caption edits keyed by word index, same shape as AI Cut: {word\_text, word\_pops, word\_stickers, word\_roles, caption\_overrides}

**Example:**

```json
{
  "word_edits": {
    "additionalProperty": "anything"
  }
}
```

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

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