---
title: "Calculate smart cut cost"
method: POST
path: "/ai/smart-cut/cost"
tags: ["AI"]
---

# Calculate smart cut cost

`POST /ai/smart-cut/cost`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/ai/smart-cut/cost`
- Auth: API key in header `Authorization`

Calculate the credit cost of cutting bad takes and filler words out of a recording. Free while the user has transcription minutes left.

## Request body

- AiSmartCutDTO
  - `clip_id` string
  - `end_time` number
  - `instruction` string
  - `join_air_seconds` number
  - `media` string
  - `min_pause_seconds` number
  - `params` AiSmartCutParams
    - `end_time` number
    - `instruction` string
    - `join_air_seconds` number
    - `media` string, required
    - `min_pause_seconds` number
    - `start_time` number
  - `project_id` string, required
  - `start_time` number
  - `workspace_id` string

## Response `200`

OK

- HttpResponseResponse
  - `data` unknown
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/rendley/apis/rendley-api.md) - [All operations](https://skmtc.dev/rendley/apis/rendley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rendley/apis/rendley-api/revisions/7eb8713bbf78?raw)
