Static text style

It's the most basic text style, so you can use it for simple static text

Demo:

001 style schema

This is a simplified schema of a 001 style element:


Warning: substr() expects parameter 1 to be string, array given in /var/www/json2video.com/html/tpl/common.php on line 1096
{
    "type": "text",
    "style": "001",
    "text": "",
    "settings": {}
}

Check the full specification of the Style schema in the API documentation.

Settings property for 001

This text style has the following default properties in the settings field:

Object property
Default value
font-size
"4vw"
font-family
"Inter"
font-weight
"700"
text-align
"center"
vertical-align
"center"
text-shadow
"2px 2px rgba(33,33,33,0.5)"
color
"#FFFFFF"

Usage examples

Check the following examples of 001:

Example 1


Warning: substr() expects parameter 1 to be string, array given in /var/www/json2video.com/html/tpl/common.php on line 1096
{
    "resolution": "full-hd",
    "quality": "high",
    "draft": false,
    "scenes": [
        {
            "background-color": "#4392F1",
            "elements": [
                {
                    "type": "text",
                    "text": "Hello world",
                    "duration": 5
                }
            ]
        }
    ]
}

Example 2


Warning: substr() expects parameter 1 to be string, array given in /var/www/json2video.com/html/tpl/common.php on line 1096
{
    "resolution": "full-hd",
    "quality": "high",
    "draft": false,
    "scenes": [
        {
            "elements": [
                {
                    "type": "video",
                    "src": "https://assets.json2video.com/assets/videos/beach-01.mp4"
                },
                {
                    "type": "text",
                    "style": "001",
                    "text": "'Lorem ipsum' has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book",
                    "settings": {
                        "color": "#FFFFFF",
                        "font-size": "60px",
                        "font-family": "Roboto Condensed",
                        "shadow": 2,
                        "text-align": "left",
                        "vertical-align": "top"
                    },
                    "width": 960,
                    "x": 900,
                    "y": 50
                }
            ]
        }
    ]
}