Skip to main content
Glama

write_statonic_project

Create JSON project files for the Statonic video editor to structure video content with text overlays and track segments.

Instructions

Write a Statonic project JSON file.

TEXT STYLING & POSITIONING RULES (follow these automatically):

  1. Font size: 75-100px (use 85-90 for multi-line text, adjust based on text length)

  2. Break text into 2-3 lines using \n to prevent going off screen

  3. Position: y = 0.25 to 0.31 (lower middle of top half), x = 0 (centered)

  4. Coordinate system: x=0,y=0 is center; y=1 is top; y=-1 is bottom

  5. After creating project, use render_preview to verify text doesn't block subjects

  6. If blocking subject's face/upper body, adjust y down to 0.22-0.25

HOOK FORMULA EXAMPLES (proven high-performance):

  • "how to [VERB] so fast it feels illegal" (CAPS on key verb, e.g. "how to LEARN\nso fast it\nfeels illegal")

  • "99% of [audience] do X the WRONG way" (specific number creates credibility)

  • "the [topic] trick nobody talks about"

  • 2-3 lines, 4-7 words each — NOT one long sentence

  • Use CAPS for ONE emphasis word per line, not the whole text

  • Use generate_hook_options tool to get 5 high-quality hook variants before writing

Example text formatting:

  • "how to study chemistry" → "how to study\nchemistry and get\n99/100" (fontSize: 90)

  • "ACTIVE RECALL 🤫" → single line is fine (fontSize: 75-100)

IMPORTANT: VideoSegment requires: src (not sourceFilePath), name, fileDurationUs, sourceWidth, sourceHeight. Track requires: label. See example:

{ "name": "My Video", "canvas": {"width": 1080, "height": 1920}, "tracks": [ { "id": "track-1", "label": "Base", "type": "video", "segments": [{ "id": "seg-1", "type": "video", "src": "/path/to/video.mp4", "name": "clip-name", "startUs": 0, "durationUs": 4200000, "sourceStartUs": 0, "sourceDurationUs": 4200000, "fileDurationUs": 5000000, "sourceWidth": 1080, "sourceHeight": 1920, "clipX": 0, "clipY": 0, "clipScale": 1, "cropLeft": 0, "cropRight": 0, "cropTop": 0, "cropBottom": 0 }] }, { "id": "track-2", "label": "Text", "type": "text", "segments": [{ "id": "text-1", "type": "text", "text": "Hello", "startUs": 0, "durationUs": 2000000, "x": 0, "y": 0, "fontSize": 80, "color": "#ffffff", "fontFamily": "Arial" }] } ] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesComplete Statonic project JSON
filenameYesOutput filename (e.g., "biology-study-video.json")

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