# Download a rendered clip, optionally re-encoded

- **Method:** `POST`
- **Path:** `/api/v1/clips/projects/{project_id}/clips/{clip_id}/export`
- **Operation ID:** `clips_export_clip_api_v1_clips_projects__project_id__clips__clip_id__export_post`
- **Tags:** Clips

## Effective servers

- `http://127.0.0.1:8100`

  Voice Creator Pro on this computer

## Path parameters

- **`project_id` (required)**: `string`
- **`clip_id` (required)**: `string`

## Request body

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

`object | null`, schema: `ClipsExportRequest`

- **`container`**: `string`, possible values: `"mp4", "mov", "mkv"`, default: `"mp4"`

  Output container
- **`quality`**: `string`, possible values: `"original", "high", "medium", "small"`, default: `"original"`

  original copies the stored clip with no re-encode
- **`resolution`**: `string`, possible values: `"original", "1080", "720"`, default: `"original"`

  Output width; original keeps the rendered size

**Example:**

```json
{
  "container": "mp4",
  "quality": "original",
  "resolution": "original"
}
```

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

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