Aug 28, 2025

<span aria-hidden="true" id="introducing-turbo-mode-for-documentthumbs"></span>

# Introducing Turbo Mode for /document/thumbs

![Kevin van Zonneveld](/assets/images/teammates/avatar-kvz-4.jpg)

**Kevin van Zonneveld**

Co-founder · Amsterdam, The Netherlands · Show bio

[](https://x.com/kvz)[](https://github.com/kvz)

We added a new Turbo mode for our [🤖 /document/thumbs](/docs/robots/document-thumbs.md) Robot. It emits page thumbnails as soon as they are ready instead of batching them at the end, so downstream Steps can start work earlier. This can reduce end-to-end time for multi-page PDFs; the improvement depends on the document and workflow.

<span aria-hidden="true" id="what-is-turbo-mode"></span>

## What is Turbo Mode?

Turbo mode lets Transloadit parallelize or stream work so results become available earlier. We first introduced it for our [🤖 /video/encode](/docs/robots/video-encode.md) and [🤖 /video/concat](/docs/robots/video-concat.md) Robots, and are now bringing similar benefits to document thumbnailing. See our [Turbo mode FAQ](/docs/faq/turbo-mode.md) to find out how it works.

<span aria-hidden="true" id="how-it-works-for-documents"></span>

## How it works for documents

Turbo mode is enabled by default for document thumbnails. Turbo mode allows the [🤖 /document/thumbs](/docs/robots/document-thumbs.md) Robot to emit a result for each page as soon as that page is processed. If you prefer batched results, you can opt out per Step by setting `turbo` to `false`.

Leaving Turbo mode enabled means:

* **Faster pipelines**: subsequent Steps (for example, image post-processing or storing) can begin while later pages are still being rendered.
* **Parallel work**: Turbo mode can extract pages in parallel for larger documents and distribute resizing across machines. The available concurrency and speedup depend on the workload; doubling the number of pages does not guarantee twice the speedup.
* **Page indices**: final results are sorted by page, but pages can be emitted out of order while processing. Use `meta.thumb_index` rather than arrival order to identify a page's zero-based index: the first page has index `0`.

This streaming behavior is especially useful for document viewers that need to show page previews as soon as possible, or pipelines in which every second matters between ‘upload’ and ‘first usable preview’.

<span aria-hidden="true" id="when-to-use-it-and-when-not-to"></span>

## When to use it (and when not to)

✅ **Time-sensitive workflows**: choose Turbo mode if you want to reduce time-to-first-preview, or if downstream work can run per page.

❌ **Cost-sensitive workflows**: Turbo mode adds the input document's size for every extracted page when calculating usage. For multi-page documents this can increase the charge substantially. Compare the latency benefit with that cost and consider setting `turbo` to `false` when cost matters more. Single-page documents have neither the Turbo performance benefit nor the extra charge. See the [turbo parameter](/docs/robots/document-thumbs.md#turbo) and [pricing docs](/docs/robots/pricing.md).

<span aria-hidden="true" id="why-is-it-enabled-by-default"></span>

## Why is it enabled by default?

The default favors earlier results and faster multi-page workflows. That trade-off is not free: evaluate both latency and usage with representative documents. Set `turbo` to `false` in the Step when you prefer sequential processing and batched results.

<span aria-hidden="true" id="example-assembly"></span>

## Example Assembly

Below is a minimal example that converts a multi‑page PDF into 600‑px wide page thumbnails and stores them with an index in the file path. Turbo mode is enabled by default; no additional parameter is needed. The output's zero-based `meta.thumb_index` is available as `${file.meta.thumb_index}` in the storage path.

First create [a stored Template Credential for your private S3 bucket](/docs/faq/how-to-set-up-an-amazon-s3-bucket.md) and replace `YOUR_AWS_CREDENTIALS` with its name. `bucket-default` avoids requesting a public object ACL; keep the bucket policy private too. The path stays under the setup guide's `uploads/` policy prefix; update the policy and path together if you change that prefix. The Assembly ID and original file ID group pages from the same input together, while separating different inputs and runs.

```json
{
  "steps": {
    "thumbs": {
      "use": ":original",
      "robot": "/document/thumbs",
      "width": 600,
      "resize_strategy": "fit"
    },
    "store": {
      "use": "thumbs",
      "robot": "/s3/store",
      "credentials": "YOUR_AWS_CREDENTIALS",
      "acl": "bucket-default",
      "path": "uploads/docs/${assembly.id}/${file.original_id}/page-${file.meta.thumb_index}.${file.ext}"
    }
  }
}

```

<span aria-hidden="true" id="availability"></span>

## Availability

Turbo mode for document thumbnails is enabled by default. [Contact support](/support.md) for help reviewing your workflow.

<span aria-hidden="true" id="learn-more-and-try-it"></span>

## Learn more and try it

* Read the [🤖 /document/thumbs](/docs/robots/document-thumbs.md) Robot docs.
* Review the [Turbo mode FAQ](/docs/faq/turbo-mode.md).
* New to Transloadit? [Sign up](/c/signup/) and start processing in minutes.

Enjoy, and use responsibly!

[#performance](/blog/tags/performance.md)[#pricing](/blog/tags/pricing.md)[#document-processing-service](/blog/tags/document-processing-service.md)[#document-thumbs-robot](/blog/tags/document-thumbs-robot.md)

### Join 25k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Email address

Subscribe

One email a month. Unsubscribe anytime.

## File uploading and encoding. Made simple.

Trusted by Coursera and The New York Times for a reliable API, top-notch support, and open source like [Uppy](https://uppy.io) and [Tus](https://tus.io).

[Try it free](/c/signup/)[Request a demo](/request-demo.md)

No credit card needed · Cancel anytime
