Compose a layout reel
compose_layoutBuild a layout video inside emero, free: images, clips, text labels and boxes placed on a canvas, segment by segment, joined with straight cuts, with a silent track (or the clips' sound, or one audio file). Rendered by emero, saved to the library, usable as a workflow cover. load_skill("combining-videos") → Layout reels first.
Easiest:
template: "start-end-frame-reel"withvars: { segments: [{ start_id, end_id, clip_id }, …], tag_text? }: per segment the start and end stills side by side under yellow "Start Frame" / "End Frame" tabs, the clip full width below, a "Made with Emero" tag under it, 1080x1920, silent.Or a full
spec: { canvas: { w, h, fps?, background? }, audio?: "silent" | "from_clips" | { audio_id, volume? }, segments: [{ duration?: "clip" | seconds, layers: [...] }] }. Layers, drawn in order: image { id, x, y, w, h, fit? cover|contain|stretch } · video { id, x, y, w, h, fit?, trim? { start, end } } · label { text, font? "DM Sans"|"Inter", weight? 400-700, size, color?, fill, anchor { x, y }, align? center-bottom|center-top|center|top-left, pad_x?, height, radius?, square_corners? none|top|bottom } · rect { x, y, w, h, fill, radius? }. Coordinates are output pixels, or fractions 0-1 of the canvas. Colors #RRGGBB. Limits: 10 segments, 120s, 12 layers per segment.preview: true(or { segment, at }) returns ONE still as an image id right away: look at it before the full render. Every result lists each label's drawn box (x, y, w, h) so you can check placement. The full render returns a job id: call check_generation with it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compose_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | a full layout spec (see the description); use this OR template | |
| vars | No | template variables, e.g. { segments: [{ start_id, end_id, clip_id }], tag_text } | |
| preview | No | ||
| template | No | ||
| project_id | No | Opaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list. An agent working in a folder (Claude Code, Codex) uses the folder's .emero.json project_id instead: load_skill("projects"). | |
| project_name | No | Short human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats". |