---
title: "Create Clip Download Url"
method: POST
path: "/runs/{run_id}/clips/{clip_id}/download-url"
---

# Create Clip Download Url

`POST /runs/{run_id}/clips/{clip_id}/download-url`

## Request

- Base URL: `https://www.clipzyn.com/v1`
- URL: `https://www.clipzyn.com/v1/runs/{run_id}/clips/{clip_id}/download-url`
- Auth: HTTP bearer

Mint {url, expires_at, suggested_filename} for one selected clip artifact.

Costs nothing quota-wise. Call at the moment of download because URLs expire in about 30
minutes; re-mint instead of reusing history. Recover from clip_not_found by listing clips,
run_not_ready by checking progress or finish status, and validation_error by using an
artifact combination from GET /v1/runs/{run_id}/artifacts. Retry service_unavailable
after retry_after_sec.

## Path parameters

- `run_id` string, required
- `clip_id` string, required

## Request body

- ClipDownloadRequest
  - `artifact` string, required
  - `style` string, nullable
  - `variant` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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