# --navigator-video-captions-position

Source: https://zshot-cli.com/reference/flags/navigator/navigator-video-captions-position/
Markdown: https://zshot-cli.com/reference/flags/navigator/navigator-video-captions-position/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Navigator](https://zshot-cli.com/reference/flags/navigator/)
CLI: `--navigator-video-captions-position` · REST: [`navigator_video_captions_position`](https://zshot-cli.com/reference/server/api/schema/#navigator_video_captions_position)
Value: `POSITION` · Default: `bottom`
License: [Pro](https://zshot-cli.com/support/licenses/pro)

Places the captions of [`--navigator-video-shows-captions`](/reference/flags/navigator/navigator-video-shows-captions).

| Position | Where |
|---|---|
| `top`, `bottom`, `center` | A band across the frame at that place, up to 900 CSS px wide and 30% of the frame tall |
| `rect(TOP RIGHT BOTTOM LEFT)` | The region whose edges lie that far from the frame's top and left edges, as CSS's `rect()` |
| `inset(TOP RIGHT BOTTOM LEFT)` | The region that far in from each of the frame's sides, as CSS's `inset()`, with its one to four value shorthand |

Each edge is a percentage of the frame, a length in CSS px such as `16px`, or `auto` for the frame's own edge. A caption sits at the top of its region and grows to fit its text, shrinking its text to fit, then scrolling.

`rect(20% auto 50% auto)` spans the frame's width from 20% to 50% of its height. `inset(16px 16px 70% 16px)` keeps to the top 30% of the frame, 16 px from its sides.

## Example

**CLI**

```sh
zshot -f pipeline.png \
  --navigator-type "anthropic://YOUR_API_KEY@" \
  --navigate "Open the pipeline" \
  --navigator-captures-video session.webm \
  --navigator-video-shows-captions \
  --navigator-video-captions-position "rect(20% auto 50% auto)" \
  https://zshot-cli.com/example_assets/zrm/
```

**JSON** — `POST /` body for the [API](/reference/server/api), Pro license

```json
{
  "url": "https://zshot-cli.com/example_assets/zrm/",
  "output_type": "png",
  "navigate": "Open the pipeline",
  "with_navigator_video": true,
  "navigator_video_shows_captions": true,
  "navigator_video_captions_position": "rect(20% auto 50% auto)",
  "navigator_type": ["anthropic://YOUR_API_KEY@"]
}
```

**curl**

```sh
curl -X POST http://127.0.0.1:3000/ \
  -H "Content-Type: application/json" \
  -d '{"url":"https://zshot-cli.com/example_assets/zrm/","output_type":"png","navigate":"Open the pipeline","with_navigator_video":true,"navigator_video_shows_captions":true,"navigator_video_captions_position":"rect(20% auto 50% auto)","navigator_type":["anthropic://YOUR_API_KEY@"]}' \
  -D - -o pipeline.png
```

## Related

Flags:

- [`--navigator-video-shows-captions`](https://zshot-cli.com/reference/flags/navigator/navigator-video-shows-captions/)
- [`--navigator-captures-video`](https://zshot-cli.com/reference/flags/navigator/navigator-captures-video/)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
      - [--navigate](https://zshot-cli.com/reference/flags/navigator/navigate/)
      - [--navigator-allow-url](https://zshot-cli.com/reference/flags/navigator/navigator-allow-url/)
      - [--navigator-captures-playwright](https://zshot-cli.com/reference/flags/navigator/navigator-captures-playwright/)
      - [--navigator-captures-puppeteer](https://zshot-cli.com/reference/flags/navigator/navigator-captures-puppeteer/)
      - [--navigator-captures-video](https://zshot-cli.com/reference/flags/navigator/navigator-captures-video/)
      - [--navigator-credential](https://zshot-cli.com/reference/flags/navigator/navigator-credential/)
      - [--navigator-credential-env](https://zshot-cli.com/reference/flags/navigator/navigator-credential-env/)
      - [--navigator-credential-helper](https://zshot-cli.com/reference/flags/navigator/navigator-credential-helper/)
      - [--navigator-credential-helper-env](https://zshot-cli.com/reference/flags/navigator/navigator-credential-helper-env/)
      - [--navigator-credential-helper-timeout](https://zshot-cli.com/reference/flags/navigator/navigator-credential-helper-timeout/)
      - [--navigator-credential-origin](https://zshot-cli.com/reference/flags/navigator/navigator-credential-origin/)
      - [--navigator-credential-secret](https://zshot-cli.com/reference/flags/navigator/navigator-credential-secret/)
      - [--navigator-data](https://zshot-cli.com/reference/flags/navigator/navigator-data/)
      - [--navigator-data-json](https://zshot-cli.com/reference/flags/navigator/navigator-data-json/)
      - [--navigator-escalation-max](https://zshot-cli.com/reference/flags/navigator/navigator-escalation-max/)
      - [--navigator-file](https://zshot-cli.com/reference/flags/navigator/navigator-file/)
      - [--navigator-file-size-limit](https://zshot-cli.com/reference/flags/navigator/navigator-file-size-limit/)
      - [--navigator-file-timeout](https://zshot-cli.com/reference/flags/navigator/navigator-file-timeout/)
      - [--navigator-goal](https://zshot-cli.com/reference/flags/navigator/navigator-goal/)
      - [--navigator-initial-scope](https://zshot-cli.com/reference/flags/navigator/navigator-initial-scope/)
      - [--navigator-max-steps](https://zshot-cli.com/reference/flags/navigator/navigator-max-steps/)
      - [--navigator-stall-escalation](https://zshot-cli.com/reference/flags/navigator/navigator-stall-escalation/)
      - [--navigator-step-timeout](https://zshot-cli.com/reference/flags/navigator/navigator-step-timeout/)
      - [--navigator-type](https://zshot-cli.com/reference/flags/navigator/navigator-type/)
      - **--navigator-video-captions-position**
      - [--navigator-video-height](https://zshot-cli.com/reference/flags/navigator/navigator-video-height/)
      - [--navigator-video-shows-captions](https://zshot-cli.com/reference/flags/navigator/navigator-video-shows-captions/)
      - [--navigator-video-shows-pointer](https://zshot-cli.com/reference/flags/navigator/navigator-video-shows-pointer/)
      - [--navigator-video-width](https://zshot-cli.com/reference/flags/navigator/navigator-video-width/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

