# Skill: effect/glitch-cut — "מעבר גליץ׳" (Glitch transition)

A few frames of digital breakup across the cut: bands jump, colours split.
כמה פריימים של שבירה דיגיטלית על החיתוך: פסים קופצים, הצבעים מתפצלים.

Category: Transitions · מעברים · a real preview: https://media.gpt.org.il/lookbook/effects/glitch-cut.mp4?v=mv19exzc
Price: **60 credits per finished minute**: the render itself — 1 credit per second of 1080p output, **+ about 4 per cut** — a heavy transition: it adds 9.5× a plain render second per second of the join (measured). 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/glitch-cut             // x-wait-ms: 110000
{
  "video_url": "https://media.gpt.org.il/samples/sample-he.mp4",
  "keep": [
    {
      "start": 10.2,
      "end": 12.4
    },
    {
      "start": 40.6,
      "end": 42.8
    }
  ],
  "params": {
    "ms": 360,
    "intensity": 1.4
  }
}
```

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

When it plays: every jump cut the edit makes (the joins `remove_silence`, `keep` or `trim` leave) — no timing fields; without cuts it does nothing.

## 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",
  "remove_silence": {
    "min_pause_ms": 350,
    "padding_ms": 80
  },
  "captions": {
    "style": "classic"
  },
  "effects": [
    {
      "id": "glitch-cut",
      "params": {
        "ms": 360,
        "intensity": 1.4
      }
    }
  ],
  "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 |
|---|---|---|---|
| `ms` | `280` | 80–800 | Length of the transition, ms (rounded to whole frames; at most half of the shorter span) |
| `intensity` | `1` | 0.3–3 | How hard it breaks up |

GET `/v1/effects/glitch-cut` 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.
