# US 2025/0378643 A1 · Mesh generation using prompts

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

- Number: US 2025/0378643 A1
- Document ID: US20250378643A1
- Status: Published application
- Kind: A1
- Application number: 18/740,295
- Filed: 2024-06-11
- Published: 2025-12-11
- Earliest claimed: 2024-06-11
- Inventors: Sergei Korolev; Mason Liu; Vladislav Shakhrai; Aleksei Stoliar; Mikhail Vasilkovskii
- Web page: https://patentgrep.com/patent/US20250378643A1

## CPC

- G06T 17/205: {Re-meshing}
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 13/40: of characters, e.g. humans, animals or virtual beings
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06V 40/168: {Feature extraction; Face representation}
- G06V 40/174: {Facial expression recognition}
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2219/2021: Shape modification
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Described is a system for generating meshes by receiving a prompt from a developer, accessing a default head mesh rigged to facial features of a default head, modifying the default head mesh by inputting the prompt into a stable diffusion model, retrieving gradients from the stable diffusion model, and adjusting a plurality of vertices on the default head mesh according to the gradients, accessing a camera feed from a camera system of a user, the camera feed including a head of the user, and applying a first content augmentation corresponding to the modified head mesh to the head of the user in the camera feed.

## Claims

### Claim 1

A system comprising:
at least one processor; and
at least one memory component storing instructions that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
receiving a prompt from a developer;
accessing a default head mesh rigged to facial features of a default head;
modifying the default head mesh by:
inputting the prompt into a stable diffusion model;
retrieving gradients from the stable diffusion model; and
adjusting a plurality of vertices on the default head mesh according to the gradients;
accessing a camera feed from a camera system of a user, the camera feed including a head of the user; and
applying a first content augmentation corresponding to the modified head mesh to the head of the user in the camera feed.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise training the stable diffusion model to generate images based on inputted prompts, wherein during the generation of an image based on the inputted prompt, the stable diffusion model generates the gradients.

### Claim 3 (depends on 2)

The system of claim 2, wherein the gradients including encoded information that includes instructions on changes to the vertices of the default head mesh is to be adjusted to correspond to the inputted prompt.

### Claim 4 (depends on 2)

The system of claim 2, wherein the gradients include individual rates of change for corresponding vertices of the default head mesh.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations further comprise:
comparing the modified default head mesh with a rendered mesh to identify a loss, the rendered mesh representing a desired mesh outcome based on the inputted prompt; and
further modifying the modified default head mesh causing a reduction in the loss.

### Claim 6 (depends on 1)

The system of claim 1, wherein inputting the prompt into the stable diffusion model causes the stable diffusion model to (1) identify relevant features from a dataset of a plurality of head meshes and corresponding prompts and (2) generate the gradients based on the identified relevant features.

### Claim 7 (depends on 1)

The system of claim 1, subsequent to modifying the default head mesh, generating an application configured to be used by a plurality of users to apply the modified head mesh to corresponding users of the system via camera feeds from corresponding user devices; and
receiving a selection of the application by the user, wherein accessing the camera feed is in response to receiving the selection of the application.

### Claim 8 (depends on 1)

The system of claim 1, wherein the operations further comprise:
assessing the camera feed to identify facial features of the head of the user;
identifying locations of the facial features relative to the head; and
customizing the default head mesh such that the location of the facial features of the default head mesh correspond to the location of the facial features of the head of the user, the first content augmentation comprising applying the customized head mesh to the head of the user in the camera feed.

### Claim 9 (depends on 8)

The system of claim 8, wherein customizing the default head mesh includes deforming the default head mesh by adjusting weights of predefined blend shapes to match the location of the facial features of the head of the user.

### Claim 10 (depends on 9)

The system of claim 9, wherein the weights are further adjusted to control a magnitude of intensity for a corresponding blend shape.

### Claim 11 (depends on 9)

The system of claim 9, wherein the operations further comprise:
assessing the camera feed to identify a facial expression of the head of the user; and
further customizing the default head mesh such that the facial expression of the default head mesh corresponds to the facial expression of the head of the user.

### Claim 12 (depends on 8)

The system of claim 8, wherein customizing the default head mesh includes adjusting vectors of the default head mesh, the vectors determined based on a difference between a location of a facial feature in the camera feed to a location of a corresponding facial feature in the default head mesh.

### Claim 13 (depends on 8)

The system of claim 8, wherein customizing the default head mesh comprises rendering the default head mesh as a 2D image, computing a loss function that measures a discrepancy between the 2D image and an expected image, adjusting the default head mesh based on the computed loss function, and propagating gradients back to the adjusted default head mesh.

### Claim 14 (depends on 1)

The system of claim 1, wherein the operations further comprise:
accessing a default body mesh rigged to features of a default body;
modifying the default body mesh by:
inputting the prompt into a stable diffusion model;
retrieving gradients from the stable diffusion model; and
adjusting a plurality of vertices on the default body mesh according to the gradients;
accessing a camera feed from a camera system of a user, the camera feed including a body of the user; and
applying the first content augmentation that also corresponds to the modified body mesh to the body of the user in the camera feed.

### Claim 15 (depends on 1)

The system of claim 1, wherein the operations further comprise:
displaying a selectable user interface element; and
in response to a user selection of the selectable user interface element, capturing a picture or video of the camera feed with the applied first content augmentation.

### Claim 16 (depends on 1)

The system of claim 1, wherein the first content augmentation augments, modifies, or overlays content from the camera feed with one or more digital elements, wherein one or more digital elements include at least one of: an image, an animation, or audio.

### Claim 17

A method comprising:
receiving a prompt from a developer;
accessing a default head mesh rigged to facial features of a default head;
modifying the default head mesh by:
inputting the prompt into a stable diffusion model;
retrieving gradients from the stable diffusion model; and
adjusting a plurality of vertices on the default head mesh according to the gradients;
accessing a camera feed from a camera system of a user, the camera feed including a head of the user; and
applying a first content augmentation corresponding to the modified head mesh to the head of the user in the camera feed.

### Claim 18 (depends on 17)

The method of claim 17, further comprising training the stable diffusion model to generate images based on inputted prompts, wherein during the generation of an image based on the inputted prompt, the stable diffusion model generates the gradients.

### Claim 19 (depends on 17)

The method of claim 17, further comprising comparing the modified default head mesh with a rendered mesh to identify a loss, the rendered mesh representing a desired mesh outcome based on the prompt; and further modifying the modified default head mesh causing a reduction in the loss.

### Claim 20

A non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
receiving a prompt from a developer;
accessing a default head mesh rigged to facial features of a default head;
modifying the default head mesh by:
inputting the prompt into a stable diffusion model;
retrieving gradients from the stable diffusion model; and
adjusting a plurality of vertices on the default head mesh according to the gradients;
accessing a camera feed from a camera system of a user, the camera feed including a head of the user; and
applying a first content augmentation corresponding to the modified head mesh to the head of the user in the camera feed.
