# US 2026/0065526 A1 · Method and apparatus, device, medium and program product for generating an image

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

- Number: US 2026/0065526 A1
- Document ID: US20260065526A1
- Status: Published application
- Kind: A1
- Application number: 19/319,505
- Filed: 2025-09-04
- Published: 2026-03-05
- Earliest claimed: 2024-09-05
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Quan MENG; Saisai WANG; Ruidong PAN; Yuzhou WANG; Hongwei KANG
- Web page: https://patentgrep.com/patent/US20260065526A1

## CPC

- G06T 11/00: Two-dimensional [2D] image generation
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06T 11/60: Creating or editing images; Combining images with text
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the present disclosure provide a method and apparatus for generating an image, a device, a medium and a program product. The method comprises generating, based on a user-generated content, a content descriptive text for the user-generated content. The method also comprises generating, based on the content descriptive text, a set of template elements of a template for the user-generated content. The method further comprises generating, based on the set of template elements and the user-generated content, a target composite image. In this method, a set of template elements associated with the user-generated content are generated based on the contents generated from user creation. The associated user-generated content and the set of template elements are further combined.

## Claims

### Claim 1

A method for generating an image, comprising:
generating, based on a user-generated content, a content descriptive text for the user-generated content;
generating, based on the content descriptive text, a set of template elements of a template for the user-generated content; and
generating, based on the set of template elements and the user-generated content, a target composite image.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of template elements include a background image, and wherein generating a set of template elements of a template for the user-generated content comprises:
generating, based on the content descriptive text, first image prompt information for the user-generated content; and
generating, based on the first image prompt information, the background image for the template.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of template elements further comprises at least one of: a summary descriptive text or a sticker, wherein generating a set of template elements of a template for the user-generated content further comprises at least one of:
generating, based on the content descriptive text, the summary descriptive text for the template; or
generating, based on the content descriptive text, the sticker for the template.

### Claim 4 (depends on 3)

The method of claim 3, wherein generating, based on the content descriptive text, the sticker for the template comprises:
generating, based on the content descriptive text, second image prompt information for the user-generated content; and
generating, based on the second image prompt information, the sticker for the template.

### Claim 5 (depends on 2)

The method of claim 2, wherein the first image prompt information comprises at least one of: content of the background image or a color of the background image.

### Claim 6 (depends on 2)

The method of claim 2, wherein generating, based on the first image prompt information, the background image for the template comprises:
generating the background image by applying the first image prompt information to an image generating model, wherein the image generating model is a diffusion model.

### Claim 7 (depends on 6)

The method of claim 6, wherein training of the image generating model comprises:
obtaining a sample image prompt information and a sample image;
obtaining a predicted image by applying the sample image prompt information to the image generating model; and
adjusting parameters of the image generating model based on the sample image and the predicted image.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating, based on the set of template elements and the user-generated content, a target composite image comprises:
generating a set of candidate composite images based on the set of template elements and the user-generated content; and
selecting the target composite image from the set of candidate composite images.

### Claim 9 (depends on 8)

The method of claim 8, wherein generating a set of candidate composite images based on the set of template elements and the user-generated content comprises:
determining a first plurality of positions available for placing a template element in the set of template elements and a second plurality of positions available for placing the user-generated content; and
generating the set of candidate composite images by placing the template element respectively at the first plurality of positions and placing the user-generated content respectively at the second plurality of positions.

### Claim 10 (depends on 8)

The method of claim 8, wherein generating a set of candidate composite images based on the set of template elements and the user-generated content comprises:
determining a plurality of predetermined rules for placing the set of template elements and the user-generated content; and
generating the set of candidate composite images based on the plurality of predetermined rules.

### Claim 11 (depends on 8)

The method of claim 8, wherein selecting the target composite image from the set of candidate composite images comprises:
determining a set of scores for the set of candidate composite images; and
selecting the target composite image from the set of candidate composite images based on the set of scores, wherein a score of the target composite image exceeds a threshold score.

### Claim 12 (depends on 1)

The method of claim 1, wherein generating a content descriptive text for the user-generated content comprises:
obtaining a content descriptive text for the user-generated content by applying the user-generated content to a machine learning model.

### Claim 13 (depends on 11)

The method of claim 11, wherein the user-generated content is an image or a video, and the machine learning model is a visual model.

### Claim 14

An electronic device, comprising:
at least one processor; and
a memory for storing instructions which, when executed by the at least one processor, causes the at least one processor to:
generate, based on a user-generated content, a content descriptive text for the user-generated content;
generate, based on the content descriptive text, a set of template elements of a template for the user-generated content; and
generate, based on the set of template elements and the user-generated content, a target composite image.

### Claim 15 (depends on 14)

The device of claim 14, wherein the set of template elements include a background image, and wherein instructions causing the processor to generate a set of template elements of a template for the user-generated content comprises instructions causing the processor to:
generate, based on the content descriptive text, first image prompt information for the user-generated content; and
generate, based on the first image prompt information, the background image for the template.

### Claim 16 (depends on 14)

The device of claim 14, wherein the set of template elements further comprises at least one of: a summary descriptive text or a sticker, wherein instructions causing the processor to generate a set of template elements of a template for the user-generated content further comprises instructions causing the processor to:
generate, based on the content descriptive text, the summary descriptive text for the template; or
generate, based on the content descriptive text, the sticker for the template.

### Claim 17 (depends on 16)

The device of claim 16, wherein instructions causing the processor to generate, based on the content descriptive text, the sticker for the template comprises instructions causing the processor to:
generate, based on the content descriptive text, second image prompt information for the user-generated content; and
generate, based on the second image prompt information, the sticker for the template.

### Claim 18 (depends on 15)

The device of claim 15, wherein the first image prompt information comprises at least one of: content of the background image or a color of the background image.

### Claim 19 (depends on 15)

The device of claim 15, wherein instructions causing the processor to generate, based on the first image prompt information, the background image for the template comprises instructions causing the processor to:
generate the background image by applying the first image prompt information to an image generating model, wherein the image generating model is a diffusion model.

### Claim 20

A non-transitory computer-readable storage medium with computer programs stored thereon which, when executed by a processor, cause the processor to:
generate, based on a user-generated content, a content descriptive text for the user-generated content;
generate, based on the content descriptive text, a set of template elements of a template for the user-generated content; and
generate, based on the set of template elements and the user-generated content, a target composite image.
