Skip to main content
Glama

add_text_segment

Adds text overlays to video projects with precise timing, positioning, and styling controls. Inserts text segments into Statonic video editor projects for annotations, captions, or titles.

Instructions

Add a new text overlay to the project and save. Reuses an existing text track if one exists, otherwise creates one.

Position reference (x, y): ( 0, 0) = canvas center (-1, 0) = left edge, (1, 0) = right edge ( 0, 1) = top, (0,-1) = bottom

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the .json project file
textYesText content
start_secYesStart time in seconds
duration_secYesDuration in seconds
xNoHorizontal position -1 to 1 (default 0)
yNoVertical position -1 to 1 (default 0)
font_sizeNoFont size in canvas px (default 80)
colorNoHex color e.g. "#ffffff" (default white)
boldNoBold (default false)
italicNoItalic (default false)
stroke_enabledNoStroke/outline (default false)
stroke_colorNoStroke color hex (default "#000000")
text_alignNoText alignment (default "center")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnldsz/StatonicMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server