Ir al contenido principal
Funciones

Salida en vivo del motor de render real — edita los ajustes y se actualiza al instante.

Hoja de ruta ahora / después / más adelante

motion design

Un raíl se dibuja y tres columnas revelan qué sale ahora, después y más adelante mientras la cámara hace un paneo.

Ideal para: Una hoja de ruta pública, una actualización para inversores, un adelanto de novedades.

Ajustes

Fuente
Tema
Tamaño
Ánimo

Úsala en un vídeo

Lo que puedes cambiar:titlephases
Para desarrolladores (MCP y JSON)

Esta es la escena exacta para enviar a create_animation (MCP): mantén la estructura, cambia las palabras y escribe la narración — la voz fija cuánto dura la escena. Pégala en update_storyboard con set_data para cambiar un vídeo que ya hiciste.

{
  "visual": "motion",
  "heading": "Roadmap",
  "narration": "Write the sentence the voice says over this scene; its length is the scene's.",
  "data": {
    "motion": {
      "spec": {
        "version": 1,
        "name": "Roadmap",
        "intent": "what ships now, next and later",
        "camera": "panRight",
        "exit": "mirror",
        "params": [
          {
            "name": "title",
            "type": "text",
            "label": "Title",
            "default": "Where the product goes next",
            "maxLength": 30
          },
          {
            "name": "phases",
            "type": "list",
            "items": "record",
            "label": "Phases (label, title, caption)",
            "min": 3,
            "max": 3,
            "default": [
              {
                "label": "Now",
                "title": "Team workspaces",
                "caption": "Shipping this month"
              },
              {
                "label": "Next",
                "title": "Brand kits",
                "caption": "Beta in November"
              },
              {
                "label": "Later",
                "title": "Live editing",
                "caption": "Exploring for 2027"
              }
            ]
          }
        ],
        "layers": [
          {
            "id": "title",
            "kind": "text",
            "text": "{{title}}",
            "role": "display",
            "align": "start",
            "maxLines": 2,
            "box": {
              "col": 0,
              "row": 0,
              "cols": 12,
              "rows": 3.2
            },
            "tall": {
              "col": 0,
              "row": 0.2,
              "cols": 12,
              "rows": 2.8
            },
            "enter": {
              "primitive": "maskReveal"
            }
          },
          {
            "id": "rail",
            "kind": "shape",
            "shape": "line",
            "stroke": "c1",
            "strokeWidth": "bold",
            "box": {
              "col": 0,
              "row": 3.45,
              "cols": 12,
              "rows": 0.5
            },
            "tall": {
              "col": 0.15,
              "row": 3.4,
              "cols": 0.5,
              "rows": 8.4
            },
            "enter": {
              "primitive": "drawOn",
              "order": 1
            }
          },
          {
            "id": "phase",
            "kind": "text",
            "text": "{{item.label}}",
            "role": "title",
            "color": "c1",
            "uppercase": true,
            "align": "start",
            "valign": "start",
            "maxLines": 1,
            "repeat": {
              "param": "phases",
              "flow": "row",
              "gap": "md"
            },
            "box": {
              "col": 0,
              "row": 4.4,
              "cols": 12,
              "rows": 1.4
            },
            "tall": {
              "col": 0.9,
              "row": 3.4,
              "cols": 4.6,
              "rows": 8.4
            },
            "enter": {
              "primitive": "maskReveal",
              "order": 2
            }
          },
          {
            "id": "item",
            "kind": "text",
            "text": "{{item.title}}",
            "role": "headline",
            "align": "start",
            "valign": "center",
            "maxLines": 2,
            "repeat": {
              "param": "phases",
              "flow": "row",
              "gap": "md"
            },
            "box": {
              "col": 0,
              "row": 6.2,
              "cols": 12,
              "rows": 3.4
            },
            "tall": {
              "col": 5.9,
              "row": 3.4,
              "cols": 6.1,
              "rows": 8.4
            },
            "enter": {
              "primitive": "maskReveal",
              "order": 2
            }
          },
          {
            "id": "when",
            "kind": "text",
            "text": "{{item.caption}}",
            "role": "title",
            "color": "sub",
            "align": "start",
            "valign": "end",
            "maxLines": 2,
            "repeat": {
              "param": "phases",
              "flow": "row",
              "gap": "md"
            },
            "box": {
              "col": 0,
              "row": 9.9,
              "cols": 12,
              "rows": 2
            },
            "tall": {
              "col": 0.9,
              "row": 3.4,
              "cols": 4.6,
              "rows": 8.4
            },
            "enter": {
              "primitive": "maskReveal",
              "order": 2
            }
          }
        ]
      },
      "name": "Roadmap"
    }
  }
}

Reutilízala: guarda data.motion.spec una vez con save_motion_spec (se comprueba como con validate_motion_spec) y cualquier escena podrá usar el visual «motion» con data.motion.specId y sus propios parámetros. Nombre de la spec: «Roadmap».

Más animaciones de Funciones