diff --git a/app/utils/creatomate.py b/app/utils/creatomate.py index 4024892..f333dfb 100644 --- a/app/utils/creatomate.py +++ b/app/utils/creatomate.py @@ -65,12 +65,11 @@ text_template_v_1 = { { "type": "text", "time": 0, - "y": "80%", + "y": "87.9086%", "width": "100%", "height": "40%", "x_alignment": "50%", "y_alignment": "50%", - "text": "Lorem ipsum dolor sit amet, consectetur ad", "font_family": "Noto Sans", "font_weight": "700", "font_size": "8 vmin", @@ -79,8 +78,8 @@ text_template_v_1 = { "background_y_padding": "7%", "background_border_radius": "28%", "fill_color": "#ffffff", - "stroke_color": "#333333", - "stroke_width": "1.25 vmin", + "stroke_color": "rgba(51,51,51,1)", + "stroke_width": "0.6 vmin", } ] } @@ -88,21 +87,22 @@ text_template_v_2 = { "type": "composition", "track": 3, "elements": [ - { - "type": "text", - "time": 0, - "x": "7.7233%", - "y": "89.5758%", - "width": "84.5534%", - "height": "5.7015%", - "x_anchor": "0%", - "y_anchor": "0%", - "y_alignment": "100%", - "font_family": "Noto Sans", - "font_weight": "700", - "font_size": "6.9999 vmin", - "fill_color": "#ffffff" - } + { + "type": "text", + "time": 0, + "x": "7.7233%", + "y": "82.9852%", + "width": "84.5534%", + "height": "5.7015%", + "x_anchor": "0%", + "y_anchor": "0%", + "x_alignment": "50%", + "y_alignment": "100%", + "font_family": "Noto Sans", + "font_weight": "700", + "font_size": "6.9999 vmin", + "fill_color": "#ffffff" + } ] } @@ -556,7 +556,7 @@ class CreatomateService: def get_text_template(self): match self.orientation: case "vertical": - return text_template_v_1 + return text_template_v_2 case "horizontal": return text_template_h_1