Thumbnails
When a thumbnail job completes, the platform stores thumbnail metadata on the linked Transcription (thumbnails subdocument). Image files are not stored on Perchat — the worker uploads JPEGs to your S3 bucket using a saved storage connection. API responses include bucket and key per item; use GET /v1/transcriptions/{id}?include=thumbnailUrls for short-lived download URLs on jobs that use a storage connection.
Each thumbnail job generates at most 3 JPEG variants. Set input.options.thumbnailCount to 1, 2, or 3 — values above 3 are rejected at validation. Outputs are written to your bucket via the job's storage connection.
Thumbnail jobs require a completed transcription with segments (input.transcriptionId). Pipeline tuning — vision model, frame limits, and imageQuality (low | medium | high | auto) — is platform-managed and snapshotted into job.input.options at create. The imageModel is set by the platform (default gpt-image-2.5-flare; the retired gpt-image-1 is mapped to it automatically). Clients may set options.thumbnailCount (1–3), options.nonAiThumbnailCount, and the output size via options.ratioWidth / ratioHeight / resolution on the generate body.
Create: start thumbnails with POST /v1/thumbnails after creating a canvas and a named version (Create a canvas version). Send canvasId, canvasVersionId (omit = latest cut), and required canvasVideoId from the pool. That POST writes the result onto the canvas. Pass overwrite: true to replace the current result instead of adding another. Poll GET /v1/jobs/:jobId, then use the endpoints below for the stored result. Requires an active transcript on the canvas version.
After the job completes, read metadata from the transcript or the convenience endpoints below.
Re-running accumulates. Running another thumbnail job for the same transcriptionId adds new, visually different thumbnails (different source frames and a fresh look) to the existing set — it does not replace them. So items[] / nonAiItems[] and their counts grow with each run; resultSummary.newThumbnailCount reports how many that run added.
The Thumbnail result object
- transcriptionIdstring
- Linked transcription (txt_…). Path param on retrieve/delete routes.
- jobIdstring
- Source thumbnail job.
- generatedboolean
- True when at least one thumbnail was persisted.
- thumbnailCountnumber
- Number of AI items in items[] — accumulated total across runs. Each run adds up to 3.
- generatedAttimestamp, optional
- When the most recent thumbnail run completed.
- itemsarray
- Per-image metadata for AI thumbnails. Each item includes
id,bucket,key, optionalurl(when requested via include),score(confidence 0–1),caption,variantStyle, andgeneratedByAi.
List thumbnails
/v1/thumbnailsthumbnails.thumbnailCount > 0).Requires permission
transcript:list
Parameters
- pageinteger, optional
- Page number (default 1).
- limitinteger, optional
- Page size (default 20, max 100).
Returns
See the the thumbnail result object for attribute details.
Retrieve thumbnails for a transcription
/v1/thumbnails/{transcriptionId}transcriptionId (txt_…), not a separate thumbnail record id. Only AI-generated items[] are included here — non-AI frame counts (nonAiThumbnailCount / nonAiItems[]) are only on the transcript-embedded thumbnails shape (see notes).Requires permission
transcript:read
{
"id": "thumb_01",
"bucket": "my-media-bucket",
"key": "perchat-media-results/txt_01HX2K9V3JEK4WYZN6F0XQ2W8M/thumbnails/thumbnail_1.jpg",
"score": 0.94,
"caption": "Speaker gestures at product on stage",
"variantStyle": "landscape",
"generatedByAi": true
}With download URL (?include=thumbnailUrls on the transcript retrieve):{
"id": "thumb_01",
"bucket": "my-media-bucket",
"key": "perchat-media-results/txt_01HX2K9V3JEK4WYZN6F0XQ2W8M/thumbnails/thumbnail_1.jpg",
"url": "https://bucket.s3.region.amazonaws.com/thumbnails/thumb_01.jpg?X-Amz-Algorithm=...",
"score": 0.94,
"caption": "Speaker gestures at product on stage",
"variantStyle": "landscape",
"generatedByAi": true
}Transcript-embedded shape:{
"generated": true,
"thumbnailCount": 2,
"nonAiThumbnailCount": 1,
"jobId": "job_01HX2K9V3JEK4WYZN6F0XQ2W8M",
"items": [
{
"id": "thumb_01",
"bucket": "my-media-bucket",
"key": "perchat-media-results/txt_01HX2K9V3JEK4WYZN6F0XQ2W8M/thumbnails/thumbnail_1.jpg",
"score": 0.94,
"caption": "Speaker gestures at product on stage",
"variantStyle": "landscape",
"generatedByAi": true
}
],
"nonAiItems": [
{
"id": "frame_01",
"bucket": "my-media-bucket",
"key": "perchat-media-results/txt_01HX2K9V3JEK4WYZN6F0XQ2W8M/thumbnails/non_ai_thumbnail_1.jpg",
"score": 0.78,
"caption": null,
"variantStyle": "landscape",
"generatedByAi": false
}
]
}Parameters
- transcriptionIdstring
- Transcription identifier (txt_…).
Returns
See the the thumbnail result object for attribute details.
Clear thumbnails for a transcription
/v1/thumbnails/{transcriptionId}thumbnails subdocument on the transcription. Does not delete images from your S3 bucket.Requires permission
transcript:delete
Parameters
- transcriptionIdstring
- Transcription identifier (txt_…).
Returns
See the the thumbnail result object for attribute details.