Tutoriales
Primeros pasos
1. Estructura mínima
Empieza con esta forma:
{
"meta": {
"version": "2.0.0",
"width": 1920,
"height": 1080,
"fps": 30,
"background": "#0b1020"
},
"tracks": [
{
"id": "main",
"clips": []
}
]
}Obligatorio:
meta.versionmeta.widthmeta.heightmeta.fpstracks
2. Añade tu primer clip visible
{
"type": "text",
"start": 0,
"duration": 3,
"text": "Hello, world",
"transform": {
"x": "50%",
"y": "50%"
},
"style": {
"fontSize": 72,
"fontWeight": 700,
"fill": "#ffffff",
"textAlign": "center"
}
}Inserta ese clip en tracks[0].clips.
3. Primer ejemplo completo
{
"meta": {
"version": "2.0.0",
"title": "My First Video",
"width": 1920,
"height": 1080,
"fps": 30,
"background": "#0b1020"
},
"tracks": [
{
"id": "main",
"clips": [
{
"type": "text",
"start": 0,
"duration": 3,
"text": "Hello, world",
"transform": {
"x": "50%",
"y": "50%"
},
"style": {
"fontSize": 72,
"fontWeight": 700,
"fill": "#ffffff",
"textAlign": "center"
},
"animations": [
{
"type": "fadeIn",
"duration": 0.5
}
]
}
]
}
]
}4. Qué hacer después
- Si quieres estructura y reglas: lee Conceptos básicos
- Si quieres un ejemplo solo de movimiento de texto: lee Crear animación de texto
- Si quieres una referencia de campos: lee Estructura JSON y reglas de campos