# Skill: effect/terminal-typing — "טרמינל מקליד" (Terminal typing)

A terminal window types a prompt letter by letter, then a green status line — the AI at work.
חלון טרמינל מקליד פרומפט אות אחרי אות, ואז שורת סטטוס ירוקה — ה-AI בעבודה.

Category: Overlays & graphics · שכבות וגרפיקה · a real preview: https://media.gpt.org.il/lookbook/effects/terminal-typing.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/terminal-typing             // x-wait-ms: 110000
{
  "video_url": "https://media.gpt.org.il/samples/sample-he.mp4",
  "text": "תביא לי את דף הבית של האתר, תצלם מסך ותעשה זום על המשפט הכי חשוב",
  "start": 0.1,
  "duration": 4.8,
  "params": {
    "status": "פותח דפדפן…"
  }
}
```

A normal render: `status: processing` → poll `GET /v1/executions/{id}` until `completed`, then read `output.url`.
Leave out `video_url` and the effect is drawn on a plain black canvas (9:16 unless `output.aspect_ratio` says otherwise).

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": "terminal-typing",
      "params": {
        "status": "פותח דפדפן…",
        "text": "תביא לי את דף הבית של האתר, תצלם מסך ותעשה זום על המשפט הכי חשוב"
      },
      "start": 0.1,
      "duration": 4.8
    }
  ],
  "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 |
|---|---|---|---|
| `text` | **required** | string | The prompt |
| `title` | `"Terminal"` | string | The small title in the bar ("" = none) |
| `status` | `""` | string | A status line shown when the typing ends ("" = none) |
| `status_color` | `"#3FB950"` | string | The status line's colour |
| `cps` | `26` | 4–80 | Typing speed, letters per second |
| `lead_ms` | `350` | 0–3000 | The window shows this long before the typing starts, ms |
| `cursor` | `true` | boolean | A cursor leading the typing |
| `theme` | `"dark"` | `dark` · `light` | The window's look |
| `size` | `2.3` | 1–8 | Letter size, % of the frame height |
| `color` | `null` | value | The prompt's colour (null = the theme's) |
| `font` | `""` | string | Font family ("" = Heebo for Hebrew, a monospace for code) — GET /v1/studio/fonts |
| `rect` | `{"x":6,"y":7.5,"width":88,"height":28.5}` | object | The window on the frame (its top-left corner and size, %) |

GET `/v1/effects/terminal-typing` 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.
