> ## Documentation Index
> Fetch the complete documentation index at: https://rendobar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Keep the API key in an env var (RENDOBAR_API_KEY), never in chat or committed code.
> Job types change, so fetch the live catalog from GET https://api.rendobar.com/jobs/types rather than relying on memory.
> The full integration prompt for coding agents is at https://rendobar.com/prompts/integrate.md.

# Text and titles

> Add a styled title to a video, keep it readable over any footage, and animate it in and out a letter, word or line at a time.

A `text` clip renders a styled title. `style` holds `font`, `size`, `weight`, `italic`, `color`, `align`, a `stroke`, a `background` box, a `shadow` and `animate`, which sets the entrance (`fade`, `slideUp`, `slideDown`, `slideLeft`, `slideRight`, `blur` or `scale`), whether it arrives a letter, word or line at a time, and the exit. `font` takes any Google Fonts family by name, a bundled family, or your own file. See [Fonts and languages](https://rendobar.com/docs/docs/jobs/compose/fonts).

Captions and timers are separate clips, on [Subtitles and timers](https://rendobar.com/docs/docs/jobs/compose/captions). Lottie animations are on [Media clips](https://rendobar.com/docs/docs/jobs/compose/media#lottie-animations).

Place the text with `transform`, like any other clip.

```json theme={null}
{
  "asset": {
    "type": "text",
    "text": "Coastal Escape",
    "style": {
      "font": "Inter",
      "size": 84,
      "weight": 800,
      "color": "#FFFFFF",
      "stroke": { "color": "#000000", "width": 6 },
      "animate": { "type": "slideUp", "duration": 0.7 }
    }
  },
  "transform": { "position": { "x": "50%", "y": "38%" } },
  "start": 0,
  "length": 3
}
```

Colours are hex: `#RGB`, `#RRGGBB`, or `#RRGGBBAA` with alpha. `weight` runs from 100 to 1000, and `italic: true` slants the text. Text does not wrap to a width, so put a line break (`
`) in `text` where each new line starts. Keep a title to two to six words.

## Keeping text readable

White text gets lost over bright footage. Three fields fix it, in order of how much they change the look.

<video src="https://cdn.rendobar.com/compose/showcase/text-stroke/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-stroke/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-stroke/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-stroke/after.jpg" autoPlay loop muted playsInline controls />

a 5px stroke

<video src="https://cdn.rendobar.com/compose/showcase/text-shadow/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-shadow/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-shadow/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-shadow/after.jpg" autoPlay loop muted playsInline controls />

a shadow

<video src="https://cdn.rendobar.com/compose/showcase/text-background/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-background/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-background/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-background/after.jpg" autoPlay loop muted playsInline controls />

a box

## Where the lines sit

<video src="https://cdn.rendobar.com/compose/showcase/text-align/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-align/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-align/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-align/after.jpg" autoPlay loop muted playsInline controls />

align left

## Arriving

<video src="https://cdn.rendobar.com/compose/showcase/text-animate/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-animate/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-animate/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-animate/after.jpg" autoPlay loop muted playsInline controls />

slideUp over 0.6s

## Kinetic titles

`by` splits the text so it arrives one unit at a time: `"letter"`, `"word"` or `"line"`. `duration` is when the last unit lands. `stagger` is the gap between the start of one unit and the next. `order` picks which unit goes first: `start`, `end`, `center`, `edges` or `random`. `random` uses a seed from the clip, so re-renders match.

```json theme={null}
{
  "asset": {
    "type": "text",
    "text": "AFTER DARK",
    "style": {
      "font": "Inter",
      "size": 58,
      "weight": 800,
      "animate": { "type": "slideUp", "by": "word", "duration": 1.1 }
    }
  },
  "transform": { "position": { "x": "50%", "y": "46%" } },
  "start": 0,
  "length": 6
}
```

<video src="https://cdn.rendobar.com/compose/showcase/text-split/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-split/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-split/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-split/after.jpg" autoPlay loop muted playsInline controls />

slideUp by word over 1.1s

Split at most one title per shot, on a top-level track or in `overlays`. On body text or captions, a split slows reading.

## Leaving

`out` animates the text away over the clip's last `duration` seconds, with any motion `type` takes and the same split and order. Without `out`, the text stays until the clip ends.

```json theme={null}
"animate": { "type": "fade", "duration": 0.6, "out": "blur" }
```

<video src="https://cdn.rendobar.com/compose/showcase/text-exit/before.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-exit/before.jpg" autoPlay loop muted playsInline controls />

before

<video src="https://cdn.rendobar.com/compose/showcase/text-exit/after.mp4" poster="https://cdn.rendobar.com/compose/showcase/text-exit/after.jpg" autoPlay loop muted playsInline controls />

out: blur

> [!NOTE]
>
> A split, an exit, or a `blur` or `scale` entrance makes the clip an animated graphic. It costs the same per minute, and renders up to 1080p at 30 fps on every self-serve plan. It works only on a top-level track or in `overlays`, not inside a scene or a composition. A `fade` or a slide of the whole title does not count as one. See [what each plan renders](https://rendobar.com/docs/docs/jobs/compose/pricing#what-each-plan-renders).

Every text field is in the [text reference](https://rendobar.com/docs/docs/jobs/compose/reference/text).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.