Text Overlay

Create custom text overlays for your source video.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <!-- Format params -->
        <text_overlay>
            <!-- Common overlay params -->
            <text>[Text1]</text> <!-- required-->
            <font_source>[Font1Source]</font_source> <!-- required-->
            <font_size>[Font1Size]</font_size>
            <font_rotate>[Font1Rotate]</font_rotate>
            <font_color>[Font1Color]</font_color>
            <align_center>[0|1]</align_center>
            <overlay_x>[TextOverlay1PositionX]</overlay_x>
            <overlay_y>[TextOverlay1PositionY]</overlay_y>
            <size>[TextOverlay1Size]</size>
        </text_overlay>
        <!-- ... -->
        <text_overlay>
            <!-- Overlay params -->
        </text_overlay>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            // Format params
            "text_overlay": [
                {
                    // Common overlay params
                    "text": "[Text1]",
                    "font_source": "[Font1Source]",
                    "font_size": "[Font1Size]",
                    "font_rotate": "[Font1Rotate]",
                    "font_color": "[Font1Color]",
                    "align_center": "[0|1]",
                    "overlay_x": "[TextOverlay1PositionX]",
                    "overlay_y": "[TextOverlay1PositionY]",
                    "size": "[TextOverlay1Size]"
                },
                {
                    // Overlay params
                }
            ]
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
textSpecify the text for the overlay.TextNone
font_sourceSpecify the URL for the font file.Valid URL.None
font_sizeSpecify the text font size.Non-negative integer0
font_rotateSpecify the angle on which text should be rotated.Non-negative integer0
font_colorSpecify the font color.6-digits hexadecimal 000000-FFFFFF000000
align_centerAlign text in the center.0 or 1. 0 = disabled, 1 = enabled.0
overlay_xSpecify the text overlay position on the x axis.Non-negative integer0
overlay_ySpecify the text overlay position on the y axis.Non-negative integer0
sizeSpecify the size of the text block in pixels.WxH where W and H – positive integersNone

🚧

Note

<text /> and <font_source /> are the required parameters.