# Skill: effect/page-scroll — "גלילת עמוד" (Page scroll)

A full-page screenshot scrolls by — a smooth eased scroll, or a fast whip with motion blur.
צילום מסך של עמוד שלם נגלל — גלילה חלקה, או גלילה מהירה עם טשטוש תנועה.

Category: Camera & motion · מצלמה ותנועה · a real preview: https://media.gpt.org.il/lookbook/effects/page-scroll.mp4?v=mv19exzc
Price: **60 credits per finished minute**: the render itself — 1 credit per second of 1080p output. Combined with captions, a hook or other effects: still one render, nothing more for combining.

Base URL: `https://apihub.co.il` · Auth: `Authorization: Bearer <API key>` · Docs: `/docs` (group "Video Effects")
Send `X-Tag: <job name>` on every call of one video; `GET /v1/usage?tag=<job name>` returns what it cost.
**Files are kept 24 hours** — download the finished video.

---

## 1. On its own — one call

```jsonc
POST /v1/effects/page-scroll             // x-wait-ms: 110000
{
  "image_url": "https://media.gpt.org.il/lookbook/effects/assets/page-apihub.jpg",
  "start": 0,
  "duration": 5,
  "params": {
    "scroll_to": 0.6
  }
}
```

A normal render: `status: processing` → poll `GET /v1/executions/{id}` until `completed`, then read `output.url`.

When it plays: a stretch: `start` + `duration` (seconds of the finished video), or `at` (a word id) + `duration`, or `during` { from, to } (word ids).

## 2. With captions, a hook and other effects — the same render

```jsonc
POST /v1/studio/edit               // x-wait-ms: 110000
{
  "video_url": "<the video>",
  "language_code": "he",
  "captions": {
    "style": "classic"
  },
  "effects": [
    {
      "id": "page-scroll",
      "params": {
        "scroll_to": 0.6
      },
      "start": 0,
      "duration": 5
    }
  ],
  "audio": {
    "normalize": true
  },
  "output": {
    "aspect_ratio": "9:16",
    "resolution": "1080",
    "fit": "crop",
    "quality": "high"
  }
}
```

`effects` is a list: add more entries for more effects. The engine applies them by pipeline stage (cuts and time →
camera → grade and looks → overlays → text and captions → sound), never by their order in the list. An edit has one
`transition`, one `color` grade, one `music` bed, one `speed` and one caption style: two effects that set the same
one are refused with a message that names them.

## 3. Params

| param | default | range / options | what it does |
|---|---|---|---|
| `url` | **required** | string | The page's screenshot (PNG / JPG) — a full-page capture scrolls; the picture is fitted to the window's width |
| `scroll_to` | `1` | 0–1 | Scroll down to this point of the page (0 = the top, 1 = the bottom) |
| `scroll_delay_ms` | `300` | 0–20000 | The scroll starts this long after the page is in, ms |
| `scroll_ms` | `4500` | 80–30000 | How long the scroll takes, ms |
| `scroll_ease` | `"in-out"` | `in-out` · `out` · `linear` | The scroll's ease |
| `scroll_blur` | `false` | boolean | Smear the page while it scrolls (a fast whip) |
| `zoom_to` | `1` | 1–4 | Zoom into a region of the page to this size at the end (1 = no zoom) |
| `zoom_x` | `0.5` | 0–1 | The region: 0 left … 1 right |
| `zoom_y` | `0.35` | 0–1 | The region: 0 top … 1 bottom of the window |
| `zoom_at_ms` | `null` | value | When the zoom starts, ms from the effect's start (null = just after the scroll) |
| `zoom_ms` | `280` | 80–3000 | How long the zoom takes, ms |
| `theme` | `"dark"` | `dark` · `light` | The window's look |
| `load_ms` | `200` | 0–1000 | The page's fade-in, ms |
| `rect` | `{"x":0,"y":0,"width":100,"height":100}` | object | Where the page shows (its top-left corner and size, %) — the whole frame by default |

GET `/v1/effects/page-scroll` returns the same as JSON (with the full body schema). Every field has a default; numbers
outside their range are refused with the field's name.
