# US 11,308,677 B2 · Generating personalized videos with customized text messages

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,308,677 B2
- Document ID: US11308677B2
- Status: Granted
- Kind: B2
- Application number: 16/661,122
- Filed: 2019-10-23
- Published: 2020-07-23
- Granted: 2022-04-19
- Earliest claimed: 2019-01-18
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Alexander Mashrabov; Victor Shaburov; Sofia Savinova; Dmitriy Matov; Andrew Osipov; Ivan Semenov; Roman Golobokov
- Web page: https://patentgrep.com/patent/US11308677B2

## CPC

- G06T 13/80: Two-dimensional [2D] animation, e.g. using sprites
- G06T 11/60: Creating or editing images; Combining images with text
- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/10: Multimedia information
- H04M 1/72403: with means for local support of applications that increase the functionality
- H04M 1/72439: for image or video messaging
- H04M 2250/52: including functional features of a camera
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Described are systems and methods for generating personalized videos with customized text messages. An example method may commence with receiving a video template. The video template may include a sequence of frame images and preset text parameters defining an animation of a text. The method may continue with generating a configuration file based on the text and the preset text parameters. The configuration file may include text parameters defining rendering the text for each of the frame images. The method may further include receiving an input text and rendering an output video comprising the sequence of frame images featuring the input text rendered according to the text parameters. The rendering may be performed based on the configuration file. The method may continue with sending the output video to a further computing device via a communication chat.

## Claims

### Claim 1

A method for generating personalized videos with customized text messages, the method comprising:
receiving, by a computing device, a video template including:
a sequence of frame images; and
preset text parameters defining an animation of a preset text, wherein the preset text parameters describe visual effects applied to the preset text; and
generating, by the computing device and based on the preset text and the preset text parameters, a configuration file, the configuration file including text parameters defining rendering the preset text for each of the frame images, the text parameters including a position of the preset text in at least one frame image of the frame images;
receiving, by the computing device, an input text;
rendering, by the computing device and based on the configuration file, an output video comprising the sequence of frame images featuring the input text rendered at the position according to the text parameters;
while playing back the output video:
providing a user with a first option to change the position of the input text and a second option to replace the input text with a new input text; and
dynamically changing, in the output video, the position of the input text and replacing, in the output video, the input text with the new input text; and
sending, by the computing device, the output video to a further computing device via a communication chat.

### Claim 2 (depends on 1)

The method of claim 1, wherein the preset text parameters include a font of the preset text and a color of the preset text in at least one of the frame images.

### Claim 3 (depends on 1)

The method of claim 1, further comprising, prior to the sending the output video to a further computing device, automatically translating the input text from a first language used on the computing device into a second language used on the further computing device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the visual effects include one or more of the following: a letter animation of an appearance, displaying the preset text along a path, displaying copies of the preset text, compression of the preset text, slicing of the preset text, a directional appearance of the preset text, a randomized letter appearance, a distortion and scaling of the preset text, gradient fill of the preset text, adding a shadow and a glow to the preset text, adding directional glow to the preset text, a flash appearance of the preset text, adding a perspective shadow to the preset text, applying a dynamic glow to the preset text, displaying a distorted shadow or an outline of the preset text, outlining the preset text, and applying colored font assets to the preset text.

### Claim 5 (depends on 1)

The method of claim 1, wherein the text parameters include one or more of the following: a scale of the preset text, a rotation of the preset text, a color of the preset text, a number of lines of the preset text, and a maximum length of the preset text.

### Claim 6 (depends on 5)

The method of claim 5, wherein rendering the output video includes:
generating, based on the configuration file, glyphs of the input text; and
generating a layer including the glyphs.

### Claim 7 (depends on 5)

The method of claim 5, wherein rendering the output video includes splitting the input text into the number of lines.

### Claim 8 (depends on 5)

The method of claim 5, wherein the scale is adjusted based on a global scale, the global scale being determined to fit the input text into boundaries of the frame images in the sequence.

### Claim 9 (depends on 1)

The method of claim 1, further comprising, prior to sending the output video, playing back, by the computing device, the output video in a full screen mode.

### Claim 10

A system for generating personalized videos with customized text messages, the system comprising at least one processor and a memory storing processor-executable codes, wherein the at least one processor is configured to implement the following operations upon executing the processor-executable codes:
receiving, by a computing device, a video template including:
a sequence of frame images; and
preset text parameters defining an animation of a preset text, wherein the preset text parameters describe visual effects applied to the preset text; and
generating, by the computing device and based on the preset text and the preset text parameters, a configuration file, the configuration file including text parameters defining rendering the preset text for each of the frame images, the text parameters including a position of the preset text in at least one frame image of the frame images;
receiving, by the computer device, an input text;
rendering, by the computing device and based on the configuration file, an output video comprising the sequence of frame images featuring the input text rendered at the position according to the text parameters;
while playing back the output video:
providing a user with a first option to change the position of the input text and a second option to replace the input text with a new input text; and
dynamically changing, in the output video, the position of the input text and replacing, in the output video, the input text with the new input text; and
sending, by the computing device, the output video to a further computing device via a communication chat.

### Claim 11 (depends on 10)

The system of claim 10, wherein the preset text parameters include a font of the preset text and a color of the preset text in at least one of the frame images.

### Claim 12 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to, prior to the sending the output video to a further computing device, automatically translate the input text from a first language used on the computing device into a second language used on the further computing device.

### Claim 13 (depends on 10)

The system of claim 10, wherein the visual effects include one or more of the following: a letter animation of appearance, displaying the preset text along a path, displaying copies of the preset text, a compression of the preset text, slicing of the preset text, a directional appearance of the preset text, a randomized letter appearance, a distortion and scaling of the preset text, a gradient fill of the preset text, adding a shadow and a glow to the preset text, adding a directional glow to the preset text, a flash appearance of the preset text, adding a perspective shadow to the preset text, applying a dynamic glow to the preset text, displaying a distorted shadow or an outline of the preset text, outlining the preset text, and applying colored font assets to the preset text.

### Claim 14 (depends on 10)

The system of claim 10, wherein the text parameters include one or more of the following: a scale of the preset text, a rotation of the preset text, a color of the preset text, a number of lines of the preset text, and a maximum length of the preset text.

### Claim 15 (depends on 14)

The system of claim 14, wherein rendering the output video includes:
generating, based on the configuration file, glyphs of the input text; and
generating a layer including the glyphs.

### Claim 16 (depends on 14)

The system of claim 14, wherein rendering the output video includes splitting the input text into the number of lines.

### Claim 17 (depends on 14)

The system of claim 14, wherein the scale is adjusted based on a global scale, the global scale being determined to fit the input text into bounds of the frame images in the sequence.

### Claim 18 (depends on 10)

The system of claim 10, wherein the at least one processor is further configured to:
prior to sending the output video, play back, by the computing device, the output video in a full screen mode.

### Claim 19

A non-transitory processor-readable medium having instructions stored thereon, which when executed by one or more processors, cause the one or more processors to implement a method for generating personalized videos with customized text messages, the method comprising:
receiving, by a computing device, a video template including:
a sequence of frame images; and
preset text parameters defining an animation of a preset text, wherein the preset text parameters describe visual effects applied to the preset text; and
generating, by the computing device and based on the preset text and the preset text parameters, a configuration file, the configuration file including text parameters defining rendering the preset text for each of the frame images, the text parameters including a position of the preset text in at least one frame image of the frame images;
receiving, by the computer device, an input text;
rendering, by the computing device and based on the configuration file, an output video comprising the sequence of frame images featuring the input text rendered at the position according to the text parameters;
while playing back the output video:
providing a user with a first option to change the position of the input text and a second option to replace the input text with a new input text; and
dynamically changing, in the output video, the position of the input text and replacing, in the output video, the input text with the new input text; and
sending, by the computing device, the output video to a further computing device via a communication chat.
