Skip to main content
This guide walks you through updating storyboard elements after creating a preview. You’ll learn how to replace background visuals, modify scene text, change background music, and render the final video with your updates.

What You’ll Learn

Replace Backgrounds

Swap scene background images or videos with your own media

Update Text

Modify scene text and title content

Change Music

Replace background music with a different track

Render Updates

Render the final video with all your modifications

Before You Begin

Make sure you have:

Workflow Overview

The update workflow fits between creating a storyboard preview and rendering the final video:
You can only update existing elements; no new elements can be added. Each element is identified by a unique id from the preview response.

Step-by-Step Guide

Step 1: Create a Storyboard Preview

First, create a storyboard preview to generate the elements you will modify:

Step 2: Poll for Completion and Review Elements

Wait for the preview job to complete and review the renderParams.elements array to identify elements you want to update:
Example output:

Step 3: Update Elements

Now update the elements you want to modify. You can update one or many elements in a single request.
When updating background visuals, url is used for final rendering and visualUrl is used for preview playback. visualUrl can be a lower-resolution video or even a thumbnail image for faster preview loading; set visualType to match (e.g., "image" for a thumbnail). type always reflects the media type of url. If you use the same URL for both, set type and visualType to the same value.

Replace a Background Visual

Update Scene Text

Scene text elements support <strong> tags for keyword highlighting. The highlighted words will be rendered using the element’s keywordColor.
When updating the text property, you must set textLines to an empty array []. The textLines array contains pre-calculated line break positions and character coordinates for the original text. Keeping stale textLines after changing the text will cause incorrect line breaks and character positioning. Setting it to [] ensures the system recalculates the layout during preview and render.

Change Background Music

Update Multiple Elements at Once

Step 4: Render the Final Video

After updating elements, render the final video using the Render from Preview API:

Element Types Quick Reference

The following element types are returned in the renderParams.elements array from a completed storyboard preview job:
ElementelementTypetypeid PatternKey Updatable Properties
Voice-OveraudioElementaudiovoiceOverurl
Background MusicaudioElementaudiobgMusicurl, fade
Scene BackgroundbackgroundElementvideo / imagebackgroundElement_{uniqueId}url, visualUrl, visualType, type, loop, mute, objectMode, colorOverlay
Scene TextSceneTexttextSceneText_{uniqueId}text (supports <strong> for keyword highlighting), fontFamily, fontSize, fontColor, keywordColor, textBackgroundColor, textAlign
Title/Layer TextlayerItemtext{uniqueId}text, fontFamily, fontSize, fontColor, textAlign
Layer VisuallayerItemvideo / image{uniqueId}url, visualUrl, type, objectMode, opacity
Element IDs are auto-generated unique strings. Always retrieve the actual IDs from the preview job response; do not hardcode or construct them manually.
For a complete reference of every attribute on each element type, including styling, animation, position presets, and audio segments, see the Element Attributes Reference in the API documentation.

Next Steps

Embed Preview Player

Preview updates in real-time using the embedded player

Search Media

Find stock videos and images to use as backgrounds

Search Music

Find background music tracks

API Reference

Full API reference for Update Storyboard Elements