# US 2025/0378602 A1 · Ai-driven creation of custom stickers from messages in chat interfaces

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

- Number: US 2025/0378602 A1
- Document ID: US20250378602A1
- Status: Published application
- Kind: A1
- Application number: 18/737,529
- Filed: 2024-06-07
- Published: 2025-12-11
- Earliest claimed: 2024-06-07
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Nathan Kenneth Boyd
- Web page: https://patentgrep.com/patent/US20250378602A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/094: Adversarial learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06T 11/60: Creating or editing images; Combining images with text
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/046: Interoperability with other network applications or services
- H04L 51/066: Format adaptation, e.g. format conversion or compression
- H04L 51/10: Multimedia information
- G06F 40/186: Templates
- G06T 2200/24: involving graphical user interfaces [GUIs]
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This disclosure relates to techniques for generating and utilizing custom stickers in a digital communication environment. A technique involves receiving a text-based message input during a chat session and using a generative language model (e.g., a Large Language Model, or LLM) to create a text prompt. This prompt is then used by a generative image model to produce a custom sticker. The generated sticker is sent to a client device where it is displayed in a sticker tray alongside other selectable stickers. Users can select and send these stickers directly within their chat interface, enriching communication with visually expressive and contextually relevant imagery.

## Claims

### Claim 1

A method performed by a server for generating a custom sticker in response to a request from a client device, the method comprising:
receiving the request from the client device, the request including text input into a message input field of a chat interface presented at the client device; and
processing the request by:
dynamically generating a first prompt based on the text received with the request using a first predefined prompt template, the first prompt including an instruction to a generative language model to interpret the text and generate, as output, a textual description of the custom sticker;
providing the first prompt to a generative language model, as input, and receiving from the generative language model, as output, the textual description of the custom sticker;
dynamically generating a second prompt to include the textual description of the custom sticker using a second predefined prompt template, the second prompt including an instruction to a generative image model to interpret the textual description of the custom sticker and generate, as output, an image file representing the custom sticker;
providing the second prompt to the generative image model, as input, and receiving from the generative image model, as output, an image file representing the custom sticker; and
sending the image file representing the custom sticker to the client device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
prior to sending the image file to the client device, processing the image file by overlaying a caption onto an image of the image file, the caption derived to include the text input into the message input field of the chat interface.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
prior to dynamically generating the first prompt, performing a content check on the text received with the request by comparing the text against a predefined list of objectionable words and phrases; and
discontinuing the processing of the request if the content check identifies any words or phrases, within the text, from the predefined list of objectionable words and phrases.

### Claim 4 (depends on 1)

The method of claim 1, wherein dynamically generating the first prompt further comprises:
dynamically generating the first prompt using the first predefined prompt template to include instructions to the generative language model to format the output as a JavaScript Object Notation (JSON) object, the JSON object to include i) the textual description of the custom sticker, and ii) the text received with the request as input via the message input field of the chat interface.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
prior to dynamically generating the second prompt, performing a content check on the textual description of the custom sticker received as output from the generative language model; and
upon the content check passing, performing a rule-based term replacement process on the textual description of the custom sticker to replace specific words or phrases with alternative words or phrases, according to one or more predefined rules.

### Claim 6 (depends on 1)

The method of claim 1, wherein dynamically generating the second prompt comprises:
dynamically generating the second prompt using the second predefined prompt template to include an input prompt specifying the textual description of the custom sticker, and a negative prompt specifying, as constraints, undesirable elements and characteristics to be excluded from the image file representing the custom sticker.

### Claim 7 (depends on 6)

The method of claim 6, wherein dynamically generating the second prompt further comprises:
dynamically generating the second prompt using the second predefined prompt template to include one or more examples, each example comprising a textual description of a sticker paired with an image file representing a sticker, as desired output.

### Claim 8 (depends on 1)

The method of claim 1, wherein the generative language model is a Large Language Model (LLM) accessible to the server over a network.

### Claim 9 (depends on 1)

The method of claim 1, wherein the generative image model is selected from the group consisting of:
a Generative Adversarial Network (GAN), utilizing competing neural networks to generate image files with images that are visually similar to authentic images based on text-based prompts;
a Variational Autoencoder (VAE), using a probabilistic approach to generate image files with images by encoding inputs into a latent space and then decoding them back to outputs, guided by text-based prompts; and
a Transformer-based model, designed for image generation by processing text-based prompts through self-attention mechanisms to produce image files with images.

### Claim 10 (depends on 1)

The method of claim 1, wherein sending the custom sticker to the client device includes causing the client device to:
present the custom sticker along with a plurality of other stickers within a sticker tray of the chat interface, each sticker within the sticker tray user-selectable and, upon selection of a sticker in the sticker tray, the selected sticker will populate the message input field of the client device, thereby enable a user to send the selected sticker to another user over a network by activating a send button in the chat interface.

### Claim 11

A system for generating a custom sticker in response to a request from a client device, the system comprising:
at least one processor;
at least one memory storage device storing instructions thereon, which, when executed by the at least one processor, cause the system to perform operations comprising:
receiving the request from the client device, the request including text input into a message input field of a chat interface presented at the client device; and
processing the request by:
dynamically generating a first prompt based on the text received with the request using a first predefined prompt template, the first prompt including an instruction to a generative language model to interpret the text and generate, as output, a textual description of the custom sticker;
providing the first prompt to a generative language model, as input, and receiving from the generative language model, as output, the textual description of the custom sticker;
dynamically generating a second prompt to include the textual description of the custom sticker using a second predefined prompt template, the second prompt including an instruction to a generative image model to interpret the textual description of the custom sticker and generate, as output, an image file representing the custom sticker;
providing the second prompt to the generative image model, as input, and receiving from the generative image model, as output, an image file representing the custom sticker; and
sending the image file representing the custom sticker to the client device.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise:
prior to sending the image file to the client device, processing the image file by overlaying a caption onto an image of the image file, the caption derived to include the text input into the message input field of the chat interface.

### Claim 13 (depends on 11)

The system of claim 11, wherein the operations further comprise:
prior to dynamically generating the first prompt, performing a content check on the text received with the request by comparing the text against a predefined list of objectionable words and phrases; and
discontinuing the processing of the request if the content check identifies any words or phrases, within the text, from the predefined list of objectionable words and phrases.

### Claim 14 (depends on 1)

The system of claim 1, wherein dynamically generating the first prompt further comprises:
dynamically generating the first prompt using the first predefined prompt template to include instructions to the generative language model to format the output as a JavaScript Object Notation (JSON) object, the JSON object to include i) the textual description of the custom sticker, and ii) the text received with the request as input via the message input field of the chat interface.

### Claim 15 (depends on 11)

The system of claim 11, wherein the operations further comprise:
prior to dynamically generating the second prompt, performing a content check on the textual description of the custom sticker received as output from the generative language model; and
upon the content check passing, performing a rule-based term replacement process on the textual description of the custom sticker to replace specific words or phrases with alternative words or phrases, according to one or more predefined rules.

### Claim 16 (depends on 11)

The system of claim 11, wherein dynamically generating the second prompt comprises:
dynamically generating the second prompt using the second predefined prompt template to include an input prompt specifying the textual description of the custom sticker, and a negative prompt specifying, as constraints, undesirable elements and characteristics to be excluded from the image file representing the custom sticker.

### Claim 17 (depends on 16)

The system of claim 16, wherein dynamically generating the second prompt further comprises:
dynamically generating the second prompt using the second predefined prompt template to include one or more examples, each example comprising a textual description of a sticker paired with an image file representing a sticker, as desired output.

### Claim 18 (depends on 11)

The system of claim 11, wherein the generative language model is a Large Language Model (LLM) accessible to the server over a network.

### Claim 19 (depends on 11)

The system of claim 11, wherein the generative image model is selected from the group consisting of:
a Generative Adversarial Network (GAN), utilizing competing neural networks to generate image files with images that are visually similar to authentic images based on text-based prompts;
a Variational Autoencoder (VAE), using a probabilistic approach to generate image files with images by encoding inputs into a latent space and then decoding them back to outputs, guided by text-based prompts; and
a Transformer-based model, designed for image generation by processing text-based prompts through self-attention mechanisms to produce image files with images.

### Claim 20

A system for generating a custom sticker in response to a request from a client device, the system comprising:
means for receiving the request from the client device, the request including text input into a message input field of a chat interface presented at the client device; and
means for processing the request by:
dynamically generating a first prompt based on the text received with the request using a first predefined prompt template, the first prompt including an instruction to a generative language model to interpret the text and generate, as output, a textual description of the custom sticker;
providing the first prompt to a generative language model, as input, and receiving from the generative language model, as output, the textual description of the custom sticker;
dynamically generating a second prompt to include the textual description of the custom sticker using a second predefined prompt template, the second prompt including an instruction to a generative image model to interpret the textual description of the custom sticker and generate, as output, an image file representing the custom sticker;
providing the second prompt to the generative image model, as input, and receiving from the generative image model, as output, an image file representing the custom sticker; and
sending the image file representing the custom sticker to the client device.
