# Camera Presets & Framing

> Compose shots with 16 built-in camera presets, smooth camera blends, single-camera renders, and custom keyframes.

Define named cameras under `cameras:` in `film.yaml`, then cut or smoothly blend between them under `edits:`.

## Quick Example

```yaml
cameras:
  opening: {preset: wide}
  host:    {preset: medium, who: mira}
  closer:  {preset: closeup, who: mira}

edits:
  cut:
    - [0.0, opening]
    - [2.0, host]
    - [4.0, closer, {blend: 0.8}]   # Smooth 0.8s camera glide
```

## All 16 Built-In Camera Presets

| Preset | Framing & Motion |
|---|---|
| **`master`** | Full overview covering the entire set |
| **`wide`** | Wide establishing shot framing the location and cast |
| **`medium`** | Waist-up shot centered on a character (`who:`) |
| **`closeup`** | Tight head-and-shoulders framing for reactions and dialogue |
| **`two_shot`** | Balanced frame holding two characters in conversation |
| **`over_shoulder`** | Looks past one character's shoulder toward the speaker |
| **`reverse`** | Complementary reverse angle in a two-person exchange |
| **`follow`** | Smoothly tracks a walking or running character |
| **`tracking`** | Moves parallel alongside a moving subject |
| **`orbit`** | Circles smoothly around the subject |
| **`dolly_in`** | Moves steadily closer to emphasize a key moment |
| **`crane`** | Sweeps vertically up or down across the scene |
| **`rail`** | Glides steadily along a linear camera track |
| **`low`** | Low-angle hero view looking slightly upward |
| **`eye_level`** | Natural eye-height perspective |
| **`top`** | Overhead bird's-eye angle |
| **`keys`** | Manual keyframed camera (`yaw`, `pitch`, center `c`, zoom `e`) |

---

## Smart Obstruction Avoidance

Every actor-focused camera automatically checks if a solid prop sits between the lens and the character's head, smoothly swinging to the nearest clear angle instead of blocking the shot.

## Render One Camera Directly

You can preview any named camera for the full film duration without changing `edits:`:

```bash
aifilm render hello/film.yaml --edit cam:portrait --out portrait-check.mp4
```

## Related pages

- [CLI Command Reference](https://film.praison.ai/docs/guides/cli-reference.md)
- [Automatic Director Editing](https://film.praison.ai/docs/features/auto-editing.md)
- [Built-in Sets & Environments](https://film.praison.ai/docs/features/sets.md)
