Skip to main content
Glama

update_segment

Modify properties of video or text segments in Statonic MCP projects, adjusting positioning, timing, cropping, and styling parameters to refine media content.

Instructions

Update one or more properties of an existing segment (video or text) and save.

Video segment writable properties: clipX, clipY — canvas position (-1=left/bottom, 0=center, 1=right/top) clipScale — scale (1.0 = fill canvas height, <1 = smaller, >1 = larger) scaleKeyframes — array of {timeMs: number, scale: number} for zoom animations (use add_zoom_keyframes tool instead) cropLeft, cropRight, cropTop, cropBottom — crop fractions 0–1 startUs, durationUs — timeline position / length in microseconds sourceStartUs, sourceDurationUs — source trim in microseconds

Text segment writable properties: text, x, y, fontSize, color, bold, italic, strokeEnabled, strokeColor, textAlign, textScale, startUs, durationUs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the .json project file
idYesSegment ID (from read_project output)
patchYesKey/value pairs to update on the segment (partial update)

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