US2025068298A1PendingUtilityA1

Image generation method and apparatus, computer device, and storage medium

Assignee: BEIJING VOLCANO ENGINE TECHNOLOGY CO LTDPriority: Aug 24, 2023Filed: Aug 21, 2024Published: Feb 27, 2025
Est. expiryAug 24, 2043(~17.1 yrs left)· nominal 20-yr term from priority
G06F 3/04845G06F 3/0482G06F 3/04847G06T 11/60G06T 2200/24G06T 11/00G06F 16/535G06F 16/54G06F 16/5846
44
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present disclosure provides an image generation method and apparatus, a computer device, and a storage medium. The image generation method includes: displaying a target interface for performing intelligent image generation, the target interface displaying a plurality of style reference materials, and each style reference material including style indication information and a corresponding sample image; determining a target style reference material selected from the plurality of style reference materials by a user, and obtaining input information from the user in an image generation mode that is selected; and according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image.

Claims

exact text as granted — not AI-modified
The invention claimed is: 
     
         1 . An image generation method, comprising:
 displaying a target interface for performing intelligent image generation, wherein the target interface displays a plurality of style reference materials, and each of the plurality of style reference materials comprises style indication information and a corresponding sample image;   determining a target style reference material selected from the plurality of style reference materials by a user, and obtaining input information from the user in an image generation mode that is selected; and   according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image.   
     
     
         2 . The method according to  claim 1 , wherein the image generation mode selected by the user is a text-to-image mode, and the text-to-image mode refers to generating an image based on text information;
 the obtaining input information from the user in an image generation mode that is selected comprises:   determining and displaying first text description reference information based on the target style reference material selected by the user; and   obtaining the input information obtained by editing the first text description reference information by the user.   
     
     
         3 . The method according to  claim 1 , wherein the image generation mode selected by the user is an image-to-image mode, and the image-to-image mode refers to generating an image based on image information;
 the obtaining input information from the user in an image generation mode that is selected comprises:   obtaining an original image uploaded by the user, or, obtaining an original image uploaded by the user and description information for the original image, wherein the original image is from a local client of the user or from a target platform.   
     
     
         4 . The method according to  claim 3 , wherein obtaining the description information for the original image from the user comprises:
 determining and displaying second text description reference information according to the original image uploaded by the user and the target style reference material selected by the user; and   obtaining description information obtained by editing the second text description reference information by the user as the description information for the original image.   
     
     
         5 . The method according to  claim 1 , wherein before the generating and displaying at least one target image, the method further comprises:
 obtaining parameter information input by the user in response to at least one image generation parameter that is set;   the according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image comprises:   according to the parameter information input by the user for the at least one image generation parameter, the input information, and the target style reference material, generating and displaying the at least one target image.   
     
     
         6 . The method according to  claim 5 , wherein in response to the image generation mode selected by the user being an image-to-image mode, the at least one image generation parameter comprises at least one selected from a group comprising an image structure retention intensity and a texture retention intensity; the image-to-image mode refers to generating an image based on image information, the image structure retention intensity is used for indicating a retention degree of edge lines of the original image uploaded by the user, and the texture retention intensity is used for indicating a retention degree of image texture of the original image uploaded by the user. 
     
     
         7 . The method according to  claim 1 , further comprising:
 displaying at least one image processing control; and   in response to an image processing request for any one target image of the at least one target image, processing the target image to obtain a processed image in accordance with an image processing mode corresponding to a selected image processing control.   
     
     
         8 . The method according to  claim 7 , wherein the at least one image processing control comprises at least one of following controls:
 a first control corresponding to a super-resolution processing mode, a second control corresponding to a variation processing mode, a third control corresponding to an image-matting processing mode, and a fourth control corresponding to a creation-similar image processing mode; and   the super-resolution processing mode refers to performing zoom-in processing on an image, the zoom-in processing refers to performing simultaneous zoom-in processing on an image in terms of resolution and size; the image-matting processing mode refers to performing foreground pixel extraction processing on an image; the variation processing mode refers to performing image detail adjustment processing on a premise of maintaining a consistent image style; the creation-similar image processing mode refers to recreating an image by adopting input information that is same as input information of a corresponding image, and after the fourth control is triggered, displaying the input information of the corresponding image again in the target interface.   
     
     
         9 . The method according to  claim 8 , wherein the displaying at least one image processing control comprises:
 in response to a triggering operation for a control list button displayed at a position of the target image, displaying the at least one image processing control at the position of the target image; or,   displaying a plurality of image generation modes and the at least one image processing control in an image generation mode option bar of the target interface.   
     
     
         10 . The method according to  claim 7 , wherein the displaying at least one image processing control comprises:
 in response to a triggering operation for a control list button displayed at a position of the target image, displaying the at least one image processing control at the position of the target image; or,   displaying a plurality of image generation modes and the at least one image processing control in an image generation mode option bar of the target interface.   
     
     
         11 . A computer device, comprising a processor, a memory, and a bus,
 wherein the memory stores machine-readable instructions executable by the processor, when the computer device runs, the processor is in communication with the memory via the bus, and when the machine-readable instructions are executed by the processor, steps of an image generation method are performed,   wherein the image generation method comprises:   displaying a target interface for performing intelligent image generation, wherein the target interface displays a plurality of style reference materials, and each of the plurality of style reference materials comprises style indication information and a corresponding sample image;   determining a target style reference material selected from the plurality of style reference materials by a user, and obtaining input information from the user in an image generation mode that is selected; and   according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image.   
     
     
         12 . The computer device according to  claim 11 , wherein the image generation mode selected by the user is a text-to-image mode, and the text-to-image mode refers to generating an image based on text information;
 when performing the obtaining input information from the user in an image generation mode that is selected, the processor is configured to:   determine and display first text description reference information based on the target style reference material selected by the user; and   obtain the input information obtained by editing the first text description reference information by the user.   
     
     
         13 . The computer device according to  claim 11 , wherein the image generation mode selected by the user is an image-to-image mode, and the image-to-image mode refers to generating an image based on image information;
 when performing the obtaining input information from the user in an image generation mode that is selected, the processor is configured to:   obtain an original image uploaded by the user, or, obtain an original image uploaded by the user and description information for the original image, wherein the original image is from a local client of the user or from a target platform.   
     
     
         14 . The computer device according to  claim 13 , wherein when performing obtaining the description information for the original image from the user, the processor is configured to:
 determine and display second text description reference information according to the original image uploaded by the user and the target style reference material selected by the user; and   obtain description information obtained by editing the second text description reference information by the user as the description information for the original image.   
     
     
         15 . The computer device according to  claim 11 , wherein before the generating and displaying at least one target image, the method further comprises:
 obtaining parameter information input by the user in response to at least one image generation parameter that is set;   when performing the according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image, the processor is configured to:   according to the parameter information input by the user for the at least one image generation parameter, the input information, and the target style reference material, generate and display the at least one target image.   
     
     
         16 . The computer device according to  claim 15 , wherein in response to the image generation mode selected by the user being an image-to-image mode, the at least one image generation parameter comprises at least one selected from a group comprising an image structure retention intensity and a texture retention intensity; the image-to-image mode refers to generating an image based on image information, the image structure retention intensity is used for indicating a retention degree of edge lines of the original image uploaded by the user, and the texture retention intensity is used for indicating a retention degree of image texture of the original image uploaded by the user. 
     
     
         17 . The computer device according to  claim 11 , wherein the method further comprises:
 displaying at least one image processing control; and   in response to an image processing request for any one target image of the at least one target image, processing the target image to obtain a processed image in accordance with an image processing mode corresponding to a selected image processing control.   
     
     
         18 . The computer device according to  claim 17 , wherein the at least one image processing control comprises at least one of following controls:
 a first control corresponding to a super-resolution processing mode, a second control corresponding to a variation processing mode, a third control corresponding to an image-matting processing mode, and a fourth control corresponding to a creation-similar image processing mode; and   the super-resolution processing mode refers to performing zoom-in processing on an image, the zoom-in processing refers to performing simultaneous zoom-in processing on an image in terms of resolution and size; the image-matting processing mode refers to performing foreground pixel extraction processing on an image; the variation processing mode refers to performing image detail adjustment processing on a premise of maintaining a consistent image style; the creation-similar image processing mode refers to recreating an image by adopting input information that is same as input information of a corresponding image, and after the fourth control is triggered, displaying the input information of the corresponding image again in the target interface.   
     
     
         19 . The computer device according to  claim 17 , wherein when performing the displaying at least one image processing control, the processor is configured to:
 in response to a triggering operation for a control list button displayed at a position of the target image, display the at least one image processing control at the position of the target image; or,   display a plurality of image generation modes and the at least one image processing control in an image generation mode option bar of the target interface.   
     
     
         20 . A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, steps of an image generation method are performed,
 wherein the image generation method comprises:   displaying a target interface for performing intelligent image generation, wherein the target interface displays a plurality of style reference materials, and each of the plurality of style reference materials comprises style indication information and a corresponding sample image;   determining a target style reference material selected from the plurality of style reference materials by a user, and obtaining input information from the user in an image generation mode that is selected; and   according to the input information in the image generation mode and the target style reference material, generating and displaying at least one target image.

Join the waitlist — get patent alerts

Track US2025068298A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.