Tutoriels
Bien démarrer
1. Structure minimale
Commencez par cette forme :
{
"meta": {
"version": "2.0.0",
"width": 1920,
"height": 1080,
"fps": 30,
"background": "#0b1020"
},
"tracks": [
{
"id": "main",
"clips": []
}
]
}Requis :
meta.versionmeta.widthmeta.heightmeta.fpstracks
2. Ajouter votre premier 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"
}
}Insérez ce clip dans tracks[0].clips.
3. Premier exemple complet
{
"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. Que faire ensuite
- Vous voulez la structure et les règles : lisez Concepts de base
- Vous voulez un exemple de mouvement texte uniquement : lisez Créer une animation de texte
- Vous voulez une référence de champs : lisez Structure JSON et règles des champs