---
title: "Generate Missing Renditions"
method: POST
path: "/project/{project_id}/export/generate_missing_renditions"
tags: ["accepts-api-key"]
---

# Generate Missing Renditions

`POST /project/{project_id}/export/generate_missing_renditions`

## Request

- Base URL: `https://api.tellers.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tellers.ai/project/{project_id}/export/generate_missing_renditions`
- Auth: none declared

Encode an export-compatible master for every clip that lacks one.

Covers the clips ``GET /project/{project_id}/export/preflight`` counts in
``renditions_needed_for_optimum_export`` — those with no export-compatible
rendition at their own resolution — dispatching one downscale each, at that
resolution. It is the highest rendition the sources allow, so afterwards
every export reads the best master there is rather than a small proxy.

Assets with a downscale already running are left alone instead of being
re-encoded, and an asset the caller cannot write to is skipped so its owner
is not billed for an encode they did not ask for. Each encode is billed to
the asset's owner as it runs, the same as ``POST /video/downscale/{id}``;
the amount reported here is the preflight's estimate of it.

An asset holds one proxy rendition at a time, so a new master replaces the
smaller proxy that asset had.

## Path parameters

- `project_id` string, uuid, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- GenerateMissingRenditionsResponse
  - `project_id` string, required
  - `queued_count` integer, required
  - `skipped_count` integer, required
  - `estimated_cost_tellers_tokens` number, required
  - `assets` GenerateMissingRenditionResult[], required
    - `asset_id` string, required
    - `min_dimension` integer, required
    - `status` 'queued' | 'already_running' | 'not_allowed', required
    - `task_id` string, nullable
    - `estimated_cost_tellers_tokens` number

## Other responses

- `422`: Validation Error

---

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