---
title: "Internal Export Html"
method: GET
path: "/internal/export_html"
---

# Internal Export Html

`GET /internal/export_html`

## 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/internal/export_html`
- Auth: none declared

Internal-only: serve the video-player export page for a project.

Returns HTML with bundle.js inlined and OTIO playlist (with presigned URLs)
for the given project and resolution. Same page as export-server.js /export-page
but with bundle inlined and project data baked in.

Resolution selects asset quality: 480p, 720p, 1080p, 4k.
``track_id`` (repeatable) renders only those tracks, the others disabled;
``frame_seconds`` renders the timeline at that time to a JPEG instead of
encoding the MP4; ``frame_list`` (repeatable) renders each of its times
to its own JPEG in one page load. ``start_seconds`` / ``end_seconds``
(timeline seconds) encode only that part of the timeline, rebased to 0
by the player.

A segmented export loads the page once per part: ``start_frame`` /
``end_frame`` (output frame indices, end exclusive) with ``audio=0`` for a
video-only segment, or ``audio_only=m4a`` for its sound — of the whole
timeline, or of ``start_seconds`` / ``end_seconds`` for a ranged export.
The frame range excludes the audio-only render, the second-based range
and the frame export above.

``hdr`` (``hlg`` or ``pq``) encodes the video as HDR (the player's ``hdr``
export option); it applies to a video encode only.
No permission check: any project can be fetched by id (internal use only).

## Query parameters

- `project_id` string, required
- `resolution` '480p' | '720p' | '1080p' | '4k'
- `track_id` string[], nullable
- `frame_seconds` number, nullable
- `start_seconds` number, nullable
- `end_seconds` number, nullable
- `start_frame` integer, nullable
- `end_frame` integer, nullable
- `audio` boolean
- `audio_only` 'm4a', nullable
- `frame_list` number[], nullable
- `hdr` 'hlg' | 'pq', nullable

## Response `200`

Successful Response

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