Automate

Templates that think

Pass variables to swap text and media, use conditions to switch scenes on and off, and iterate an array into one scene per item — a safe templating engine that runs before your payload is ever validated.

Dynamic templates

Beyond simple merge fields

Most video APIs stop at merge fields. Zvid templates carry real logic. Define project-level and per-scene variables, drop {{name}} or {{name.path}} placeholders anywhere, and override them per request. Placeholders are type-preserving — a whole-string placeholder keeps numbers, arrays, and booleans intact rather than stringifying them.

Conditions prune scenes and elements based on variable state, and iteration expands one scene into many — one per item in an array, with an alias and an automatic index, chaining transitions as it goes. Everything resolves on the server first, so the final project runs through the same security checks as a hand-written payload.

What you get

A templating engine with real logic

{{ placeholders }}

Type-preserving substitution with {{name}} and {{name.path}} — up to 200 variables, nested up to 8 levels deep.

Conditional scenes

A scene or element’s condition field keeps it only when its variable is truthy — one template, many shapes.

Array iteration

iterate expands one scene per array item with an iterateAs alias and auto index, auto-chaining transitions.

Resolved server-side

The engine runs before validation, so resolved output passes the same plan and security checks as raw JSON.

Editor parity

The editor ships the same engine as a display-only preview, so you author templates visually with confidence.

Safe by design

Strict validation rejects undefined, mistyped, or wrong-type placeholders before they can enter the document.

200

Variables per template

iterate

One scene → many

condition

Scene on/off logic

Type-safe

Placeholders

FAQ

Frequently asked questions

How is this different from merge fields? +

Merge fields only substitute strings. Zvid adds conditional scenes and array iteration, and keeps value types intact — so one template can produce structurally different videos.

Where does resolution happen? +

On the server, before validation. The resolved project goes through the exact same plan-limit and security checks as any hand-written payload.

Can I build templates without code? +

Yes. The editor’s Variables panel and typed placeholder pickers let you author variables, conditions, and iteration visually, then save as a template.

Want the full picture? See every Zvid feature

Ready to ship video at scale?

Start free — your first render is only a JSON payload away.