pictify_generate_video_template
Generate a new video template from a text prompt using AI. The service designs a motion brief (palette, beats, typography), writes the scene as code, compiles it, renders preview frames and visually reviews them — then saves a draft template whose text, colors and optional image are editable variables. Use when the user wants a NEW video design; to re-render an existing template with different values, use pictify_render_video instead. Takes 30-60 seconds and is metered as one render. Returns the template UID and a preview image URL; render it with pictify_render_video, or refine it in the studio.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"context": "<context>"
},
"name": "pictify_generate_video_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Canvas width in pixels | |
| height | No | Canvas height in pixels | |
| prompt | Yes | What the video is for, with any mood/style guidance. Example: 'An 8 second product launch teaser for a developer tool called ShipFast — dark, electric, type-driven' | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| brandColor | No | Optional brand color (hex) to build the palette around, e.g. '#ff5533' | |
| durationSeconds | No | Video length in seconds (1-60) |