Image generation device, prompt creation support device, program and application program
The image generation system simplifies prompt creation by using a tag-based interface to generate high-quality illustration backgrounds, addressing the complexity of existing AI systems and enabling efficient background image generation for illustrators.
Patent Information
- Application Number
- JP2023026784
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-09-04
- Estimated Expiration
- 2043-02-23
AI Technical Summary
Existing image generation AI systems require users to create complex and detailed prompts in English, which is challenging, and often result in difficulty controlling the generated images, especially for illustrators who need to focus on character and background composition.
An image generation device and system that supports users by providing a user interface for selecting tags corresponding to desired image elements, automatically generating prompts, and using an AI model to create background images, allowing users to easily generate high-quality illustration backgrounds without extensive prompt writing.
Enables users to efficiently create high-quality illustration backgrounds by simplifying the prompt creation process, allowing them to focus on character illustration and composition, reducing time and effort required for image generation.
Smart Images

Figure 2024120131000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an image generating device, a prompt creation support device, a program, and an application program. [Background technology]
[0002] In recent years, image generation AI systems have become known in which AI automatically generates original images (for example, see Non-Patent Documents 1 and 2). Images created by image generation AI are generated by an algorithm called a "diffusion model" that is installed in the system. Users use a system that is equipped with the diffusion model as a trained model, so they can generate various images just by inputting text, without having to understand the algorithm or write program code. [Prior art documents] [Patent documents]
[0003] [Non-Patent Document 1] Stable Diffusion Online, Internet<URL:https: / / stablediffusionweb.com / > [Non-Patent Document 2] NovelAI - The AI Storyteller, Internet<URL:https: / / novelai.net / > Summary of the Invention [Problem to be solved by the invention]
[0004] What these image generation AIs have in common is that they generate high-resolution graphic images by inputting text called a prompt. More specifically, the prompt input to an image generation AI is an instruction sentence consisting of a combination of English words separated by commas to be input to a "text to image" type AI.
[0005] However, with this type of "text to image" AI, in order to output an image close to the ideal that the user desires, the user needs to create an appropriate prompt (text), which is not necessarily an easy task. In other words, the prompts input to the image generation AI must all be written in English, and there is also the problem that it is difficult to finely control the generated image. In fact, some experts, known as prompt engineers, are beginning to appear who research and create prompts that can be devised to allow image generation AI to create high-quality images.
[0006] On the other hand, there are illustrators who create original characters without relying on the image generation AI and post their works on illustration posting sites. Here, in creating character illustrations, not only the character illustration but also the illustrated background placed behind the character is an important element, and in order to draw a background that matches the character, skills other than the skill of drawing the character and more time are required, such as objectively grasping the overall composition, perspective, or story. For this reason, illustrators generally tend to devote their skills and time resources to pursuing the originality and quality of the character, and the reality is that the illustration background is made up of a simple background, such as a solid color or something similar.
[0007] The present invention has been proposed in view of the above-mentioned points, and one object of the present invention is to assist a user in creating an image. [Means for solving the problem]
[0008] In order to solve the above problems, the image generating device of the present invention has a UI data transmitting means for transmitting UI data for generating a UI including a plurality of tags to a user terminal, a tag receiving means for receiving one or more of the tags selected by a user from the user terminal, a prompt creating means for creating a prompt including elements corresponding to the tags, an image generating means for generating an image based on the prompt, and an image output means for outputting the image. has.
[0009] In addition, in order to solve the above-mentioned problems, the prompt creation support device of the present invention has a UI data transmission means for transmitting UI data for generating a UI including a plurality of tags to a user terminal, a tag receiving means for receiving one or more of the tags selected by a user from the user terminal, and a prompt creation means for creating a prompt including elements corresponding to the tags. Effect of the Invention
[0010] According to the embodiment of the present invention, it is possible to assist a user in creating an image. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a network configuration of an illustrative background image generation system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of the hardware configuration of an illustration background image generation server according to the present embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of the software configuration of an illustration background image generation server according to the present embodiment. [Figure 4] 4 is a diagram illustrating an example of a data configuration of a user DB according to the embodiment. FIG. [Diagram 5] 4 is a diagram showing an example of a data configuration of an image storage DB according to the embodiment; FIG. [Figure 6] 4 is a diagram showing an example of tag table information of a tag DB according to the embodiment; FIG. [Figure 7]11 is a diagram showing an example of option tag table information in a tag DB according to the embodiment; FIG. [Figure 8] 1 shows an example (part 1) of a web UI screen of a user terminal according to the present embodiment. [Figure 9] 13 shows an example (part 2) of a web UI screen of a user terminal according to the present embodiment. [Figure 10] 13 shows an example (part 3) of a web UI screen of a user terminal according to the present embodiment. [Figure 11] 13 shows an example (part 4) of a web UI screen of a user terminal according to the present embodiment. [Figure 12] 13 shows an example (part 5) of a web UI screen of a user terminal according to the present embodiment. [Figure 13] 13 shows an example (part 6) of a web UI screen of a user terminal according to the present embodiment. [Figure 14] 13 shows an example (part 7) of a web UI screen of a user terminal according to the present embodiment. [Figure 15] 13 shows an example (part 8) of a web UI screen of a user terminal according to the present embodiment. [Figure 16] 9 shows an example (part 9) of a web UI screen of a user terminal according to the present embodiment. [Figure 17] 10 shows an example (part 10) of a web UI screen of a user terminal according to the present embodiment. [Figure 18] 11 shows an example (part 11) of a web UI screen of a user terminal according to this embodiment. [Figure 19] 12 shows an example (part 12) of a web UI screen of a user terminal according to this embodiment. [Figure 20] 13 shows an example of an edited illustrative background image according to the present embodiment. [Figure 21] FIG. 11 is a flowchart illustrating an image generation process of the illustration background image generation server according to the embodiment. [Figure 22] 13A and 13B show examples of illustrated background images with and without a "common prompt" and a "negative prompt" according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. <Network configuration> Fig. 1 is a diagram showing an example of a network configuration of an illustrative background image generation system according to the present embodiment. In the illustrative background image generation system 100 in Fig. 1, an illustrative background image generation server 10 and a user terminal 20 are connected via a network 50.
[0013] The illustrative background image generation server (hereinafter also referred to simply as the image generation server) 10 is a server device that provides a user with a web UI (User Interface) screen for generating illustrative background images (background content), and generates illustrative background images by inputting prompts created based on the user's selection operations via the web UI screen to an AI image generation unit trained using a diffusion model.
[0014] The user terminal 20 is an information processing terminal device including a PC (Personal Computer), a smartphone, a tablet terminal, and the like owned by a user such as an illustrator. The user creates a prompt for outputting an illustrated background image close to the ideal desired by the user, taking into consideration the overall composition with the user character, perspective, story, and the like, via the web UI screen of the image generation server 10. In addition, the user terminal 20 can input the created prompt to an AI image generation unit to generate and output an illustrated background image.
[0015] The network 50 is a communication network including wired and wireless networks, and includes, for example, the Internet, a public line network, and WiFi (registered trademark).
[0016] (Hardware configuration) 2 is a diagram showing an example of the hardware configuration of an illustrative background image generation server according to this embodiment. Image generation server 10 includes a central processing unit (CPU) 11, a read only memory (ROM) 12, a random access memory (RAM) 13, a hard disk drive (HDD) 14, and a communication device 15.
[0017] The CPU 11 executes various programs and performs arithmetic processing. The ROM 12 stores programs required at startup. The RAM 13 is a work area for temporarily storing the processing by the CPU 11 and storing data. The HDD 14 stores various data and programs. The communication device 15 communicates with other devices via a network 50.
[0018] (Software configuration) 3 is a diagram showing an example of the software configuration of an illustration background image generation server according to this embodiment. The image generation server 10 has, as main functional units, a web UI data acquisition unit 101, a web UI data transmission unit 102, a tag reception unit 103, a prompt creation unit 104, an AI image generation unit 105, an image output unit 106, a character image acquisition unit 107, an image editing unit 108, and a storage unit 109.
[0019] The web UI data acquisition unit 101 has a function of acquiring web UI data for generating a web UI (for example, a web UI screen) including a plurality of situation tags.
[0020] The web UI data transmission unit 102 has a function of transmitting web UI data to the user terminal 20 .
[0021] The tag receiving unit 103 has a function of receiving one or more tags selected by the user from the user terminal 20 .
[0022] The prompt generator 104 has a function of generating a prompt including an element corresponding to a tag selected by the user.
[0023] The AI image generation unit 105 has a function of generating an image based on the generated prompt.
[0024] The image output unit 106 has a function of outputting the generated image.
[0025] The character image acquisition unit 107 has a function of acquiring a character image from the user terminal 20.
[0026] The image editing unit 108 has a function of placing a character image on a background image.
[0027] The storage unit 109 stores a user DB 109a, an image storage DB 109b, a tag DB 109c, and a learning data DB 109d. The user DB 109a is a DB in which user information of users is registered. The image storage DB 109b is a DB that holds user character images (character content images), illustration background images (background content images), and composite content images. The tag DB 109c is a DB that holds a tag table and an option tag table. The learning data DB 109d is a huge image data set that has been trained in advance, for example, by a known Diffusion Model, so that the AI image generation unit 105 of the image generation server 10 generates an illustration background content image.
[0028] Each functional unit is realized by a program executed on hardware resources such as the CPU, ROM, and RAM of the computer constituting the image generating server 10. These functional units may be interpreted as "means," "module," "unit," or "circuit." Each functional unit may be realized not only by the single image generating server 10, but also by distributing the functions among multiple server devices and enabling them to communicate with each other via the network 50, thereby realizing the same functions as the single image generating server 10. Each DB of the storage unit 109 may also be placed in an external storage device on the network 50. The computer programs and application programs may be stored in a computer-readable storage medium.
[0029] (Database) 4 is a diagram showing an example of a data configuration of a user DB according to this embodiment. The user DB 109a is a DB in which user information of users is registered. The user DB 109a according to this embodiment has data items such as "user ID", "user name", "password", and "email address".
[0030] The “user ID” is a unique identifier assigned to each user. The “user ID” and “password” are the ID and password that the user uses to access and log in to the web UI screen of the image generation server 10.
[0031] 5 is a diagram showing an example of the data configuration of the image storage DB according to the present embodiment. Images stored in the image storage DB 109b include a user character image (character content image), an illustration background image (background content image), and a composite content image. The user character image is a content image (transparent image) of a character uploaded by a user via a web UI screen. The illustration background image is a content image of an illustration background generated by the image generation unit of the image generation server 10. The composite content image is a content image obtained by superimposing a user character image on an illustration background image and compositing it.
[0032] The image storage DB (user character image) shown in FIG. 5(a) has data items such as "user ID," "upload date and time," and "image data." "User ID" is a user ID corresponding to the user DB 109a. "Upload date and time" is the date and time when the user character image was uploaded by the user. "Image data" is data of the user character image uploaded by the user.
[0033] The image storage DB (illustrative background image) shown in FIG. 5(b) has data items such as "user ID," "creation date and time," "image data," "tag," and "prompt." "User ID" is a user ID corresponding to the user DB 109a. "Creation date and time" is the date and time when the illustrative background image was generated by the image generation unit of the image generation server 10. "Image data" is data of the illustrative background image generated by the AI image generation unit 105 of the image generation server 10. "Tag" is a tag selected by a user from the web IU. "Prompt" is a prompt text input to the AI image generation unit 105 to generate the illustrative background image.
[0034] The image storage DB (composite content image) shown in FIG. 5(c) has data items such as "user ID," "creation date and time," and "image data." "User ID" is a user ID corresponding to the user DB 109a. "Creation date and time" is the date and time when the composite content image was created in response to a user operation. "Image data" is data of the composite content image created in response to a user operation.
[0035] 6 is a diagram showing an example of tag table information in the tag DB according to this embodiment. The tag table in the tag DB 109c is a table in which tags (also called situation tags) that are assigned meanings in accordance with situations in the background of an illustration are associated with prompts that express the tags. The tags are displayed on a web UI screen so that the user can select them. The tag table according to this embodiment has data items such as "tag category", "tag", "prompt element", "option tag category", "default prompt element", and "custom base prompt".
[0036] A "tag category" is a semantic concept tag at the first level (highest level) that is displayed to the user on the web UI screen. A "tag" is a tag at the second level that belongs to one of the "tag categories" and is displayed to the user on the web UI screen. For example, a "tag category" at the first level includes category tags such as "school," "building," "ruins," "season," "outdoors," and "nature," and the "school" tag category at the first level includes category tags at the second level such as "swimming pool," "schoolyard," "corridor," "library," and "classroom."
[0037] A "prompt element" is a component of the prompt to be created, and is an instruction word in English for converting a tag selected (specified) by a user operation on the web UI screen into the expression format of the prompt. To generate an illustrated background image, a prompt (an instruction sentence combining English words separated by commas) including the converted prompt element in the tag table is input to the AI image generation unit 105 of the image generation server 10, instead of the tag itself on the web UI screen.
[0038] "Optional tag categories" are optional tag categories that are displayed to the user as options on the web UI screen. Because they are optional, the presence or absence of "optional tag categories" and the contents of the tag categories vary depending on the tag. For example, tags that indicate outdoor situations such as "swimming pool" and "schoolyard" have an optional tag category for the concept of "time of day", whereas tags that indicate indoor situations such as "corridor", "library", and "classroom" do not have an optional tag category for the concept of "time of day".
[0039] A "default prompt element" is a prompt element of an optional tag that is defined to become the initial value when there are multiple "option tag categories" and the user does not select (specify) any option tag category from among the multiple option tag categories.
[0040] A "custom base prompt" is a prompt that is specified in place of a common prompt when creating a prompt. For example, in the case of the "corridor" tag as a tag for which a custom base prompt is specified, instead of applying a "common prompt", the custom base prompts "(((masterpiece))), (((best quality))), (((high quality))), (((scenery))), (((no humans))), (((absurdres)))" are entered as a replacement. According to the applicant's research, for tags for which a custom base prompt is specified in the tag table, applying a custom base prompt rather than a common prompt is expected to improve the quality of the generated image.
[0041] 7 is a diagram showing an example of optional tag table information in the tag DB according to the present embodiment. The optional tag table in the tag DB 109c is a table in which optional tags (also called situation optional tags) each having a meaning associated with a situation in the background of an illustration are associated with a prompt expressing the optional tag.
[0042] The optional tag table according to this embodiment has data items such as "option tag category", "option tag", and "prompt element". "Optional tag category" is an optional tag category corresponding to the "option tag category" in the tag table information shown in FIG. 6. "Optional tag" is an optional tag belonging to any of the "option tag categories". "Prompt element" is an English instruction word for converting an optional tag into a prompt expression format when the optional tag is selected (specified) by a user operation on the web UI screen.
[0043] <prompt> A prompt is an instruction sentence that combines English words separated by commas to be input to a text-to-image type AI. In this embodiment, a prompt to be input to the AI image generation unit 105 is created by converting a tag selected (specified) from a web UI screen according to a situation of a background image desired by a user into an expression format of a prompt based on a tag table and an option tag table.
[0044] Generally, a "text to image" type AI receives two inputs, a "prompt" and a "negative prompt," and so the prompts input to the AI image generation unit 105 are a "prompt" and a "negative prompt." In this embodiment, the former "prompt" is composed of a "common prompt" and a "user prompt." The common prompt is a fixed prompt that is always included in all "prompts," and is composed of predetermined prompt elements. The user prompt is a prompt composed of prompt elements according to tags selected by the user. The latter "negative prompt" is a prompt for indicating what should not be displayed in the image, and is composed of predetermined prompt elements.
[0045] Below are examples of "common prompts," "user prompts," and "negative prompts." Parentheses () have the effect of emphasizing the prompt element within the parentheses. Common prompt examples "(((masterpiece))),(((best quality))), (((high quality))), (((scenery))), (((no humans))), (((absurdres))),light_particles,finely detail" Example of user prompt (for the tags "pool" and "morning") "pool,school,outdoors,((poolside)),sunlight,blue_sky" Negative prompt examples "worst quality, low quality, medium quality, deleted, lowres, comic, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, cropped, ugly, outside_border"
[0046] <Image generation example> Next, an example of image generation that is generated by a user operation from a web UI screen displayed on the screen of the user terminal 20 will be described. (Generating background images for illustrations) 8 shows an example (part 1) of a web UI screen of a user terminal according to this embodiment. A user accesses and logs into illustration background image generation server 10 using a specific application program (e.g., a general-purpose web browser or a dedicated application program) of user terminal 20, thereby displaying the web UI screen on the screen of user terminal 20.
[0047] The web UI screen, in a generation mode 201 for generating an image, has a "gallery" 202 showing a list of generated and saved illustrated background images, a generated image display section 203 where the generated images are displayed, and a tag selection section 204 for the user to select a situation for the illustrated background generated. The user selects a tag (keyword) from the tags in the tag selection section 204 that matches the illustrated background image that the user wants to generate.
[0048] Fig. 9 shows an example (part 2) of a web UI screen of a user terminal according to this embodiment. When a user selects, for example, a "school" tag category from among a plurality of "tag categories" 205 such as "school," "building," "ruins," "season," "outdoors," and "nature" in a tag selection section 204 of the web UI screen, "tags" 206 belonging to the "school" tag category are displayed. As shown in Fig. 9, "tags" 206 belonging to the "school" tag category include, for example, "swimming pool," "schoolyard," "corridor," "library," and "classroom" (see the tag table in tag DB 109c shown in Fig. 6).
[0049] 10 shows an example (part 3) of a web UI screen of a user terminal according to this embodiment. For example, when a user selects a “swimming pool” tag under the “school” tag category, the selected tag is displayed in the tag selection field 207.
[0050] Furthermore, if the selected tag has an "option tag category," the "option tag category" 208 and "option tag" 209 corresponding to the tag are displayed. For example, if the "swimming pool" tag is selected, the "time period" option tag category and the "morning" option tag and "evening-night" option tag corresponding to the "swimming pool" tag are displayed (see the option tag table in tag DB 109c shown in FIG. 7). If the user does not select the "option tag" 209, it is considered that the "default prompt element" (prompt element corresponding to the "morning" option tag) has been selected.
[0051] FIG. 11 shows an example (part 4) of a web UI screen of a user terminal according to this embodiment. When the user completes tag selection and presses the "Generate background image" button 210, a generated illustrated background image 203a is displayed in the generated image display section 203. The illustrated background image 203a is an image generated by inputting a prompt generated based on the tag displayed in the tag selection field 207. An example of a prompt generated based on the selected "pool" (and "morning") tag is shown below. Note that the prompt elements for "pool" are "pool, school, outdoors, ((poolside))". The default prompt elements for "morning" are "sunlight, blue_sky". Prompt (common prompt + user prompt): "(((masterpiece))),(((best quality))), (((high quality))), (((scenery))), (((no humans))), (((absurdres))),light_particles,finely detail,pool,school,outdoors,((poolside)),sunlight,blue_sky" Negative prompts: "worst quality, low quality, medium quality, deleted, lowres, comic, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, cropped, ugly, outside_border"
[0052] Among these, the "user prompt" consisting of the prompt element corresponding to the selected "pool" tag is the portion "pool, school, outdoors, ((poolside)), sunlight, blue_sky."
[0053] The generated prompt result may be explicitly displayed to the user on, for example, a web UI screen, or may be hidden from the user, since the user only needs to select a tag and does not need to be aware of the generated prompt itself.
[0054] FIG. 12 shows an example (part 5) of a web UI screen of a user terminal according to this embodiment. FIG. 12 shows an illustrated background image 203a generated when a user selects the "evening-night" option tag 209 on the web UI screen shown in FIG. 10 and presses the "generate background image" button 210. Comparing the illustrated background image 203a of FIG. 12 with the illustrated background image 203a of FIG. 11, the illustrated background image generated is an image of a common situation, "pool," while the time periods are images of different situations, "morning" and "evening-night." Below is an example of a prompt created based on the selected "pool" and "evening-night" tags. The prompt element for "pool" is "pool, school, outdoors, ((poolside))." The default prompt element for "evening-night" is "night, night sky."
[0055] Prompt (common prompt + user prompt): "(((masterpiece))),(((best quality))), (((high quality))), (((scenery))), (((no humans))), (((absurdres))),light_particles,finely detail,pool,school,outdoors,((poolside)),night,night sky" Negative prompts: "worst quality, low quality, medium quality, deleted, lowres, comic, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, cropped, ugly, outside_border"
[0056] Among these, the "user prompt" consisting of the prompt elements corresponding to the selected tags "pool" and "evening-night" is the portion "pool, school, outdoors, ((poolside)), night, night sky".
[0057] When the user presses the "save image" button 211, the image generated in the generated image display section 203 is stored in the image storage DB 109b (FIG. 5(b)). The stored image is then displayed in the "gallery" 202. Images in the "gallery" 202 can also be downloaded to the user terminal 20.
[0058] Fig. 13 shows an example (part 6) of a web UI screen of a user terminal according to this embodiment. The web UI screen shown in Fig. 13 shows an illustrated background image 203a generated when a user selects the "nature", "winter", and "morning" tags and presses the "generate background image" button 210. The illustrated background image generated is an image of the situation of "nature", "winter", and "morning".
[0059] (Editing the illustration background image) 14 shows an example (part 7) of a web UI screen of a user terminal according to this embodiment. In an edit mode 221 for editing an image, the web UI screen has, as operation units for editing the background image, a "free move" 222 for moving the illustrated background image and the user character image, a "character enlargement" 223 for enlarging or reducing the user character image, a "background enlargement" 224 for enlarging or reducing the illustrated background image, a "background blur" 225 for blurring the illustrated background image, and a "saturation" 226 for increasing or decreasing the saturation of the illustrated background image. The web UI screen also has an "upload character image" 227 as an operation unit for uploading the user character image.
[0060] Fig. 15 shows an example (part 8) of a web UI screen of a user terminal according to this embodiment. As shown in Fig. 15(a), when a user operates "upload character image" 227, a user character image is uploaded, and the user character image 203b is displayed superimposed on the illustration background image 203a of the generated image display unit 203. The uploaded user character image is also stored in the image storage DB 109b (Fig. 5(a)). Also, as shown in Fig. 15(b), when a user operates "enlarge character" 223, the user character image 203b on the illustration background image of the generated image display unit 203 can be enlarged or reduced.
[0061] Furthermore, when the user operates "Delete character" 228, the uploaded user character image 203b can be deleted from the illustration background image of the generated image display section 203. Furthermore, when the user operates "Save background" 229, only the illustration background image 203a of the generated image display section 203 can be saved in the image saving DB 109b. On the other hand, when the user operates the "Save image" button 211, the entire image displayed in the generated image display section 203, that is, a composite image in which the user character image 203b is superimposed on the illustration background image 203a, can be saved in the image saving DB 109b (FIG. 5(c)). The saved image is displayed in "Gallery" 202.
[0062] Fig. 16 shows an example (part 9) of a web UI screen of a user terminal according to this embodiment. As shown in Fig. 16(a), when the user operates "enlarge background" 224, the illustrated background image 203a in the generated image display unit 203 can be enlarged or reduced. Also, as shown in Fig. 16(b), when the user operates "blur background" 225, the illustrated background image 203a in the generated image display unit 203 can be blurred.
[0063] 17 shows an example (part 10) of a web UI screen of a user terminal according to this embodiment. As shown in FIG. 17, when the user operates “saturation” 226, the saturation of the illustration background image 203a of the derived image display section 203 can be increased or decreased.
[0064] Fig. 18 shows an example (part 11) of a web UI screen of a user terminal according to this embodiment. As shown in Fig. 18(a), when the user operates "moving character" 222a, the user character image 203b in the generated image display section 203 can be moved. Also, as shown in Fig. 18(b), when the user operates "moving background" 222b, the illustration background image 203a in the generated image display section 203 can be moved.
[0065] Fig. 19 shows an example (part 12) of a web UI screen of a user terminal according to this embodiment. As shown in Fig. 19(a), when a user selects one illustrated background image from "Gallery" 202, the illustrated background image 203a in the generated image display section 203 can be changed to the illustrated background image 203a selected by the user.
[0066] 20 shows an example of an edited illustrative background image according to this embodiment. In an edit mode 221 (not shown) for editing an image, the web UI screen can further edit and process the illustrative background image 203a in the generated image display section 203 into, for example, a fisheye image with an angle similar to the scenery seen when a fish looks up at the sky from underwater, a tilted image with an angle where the subject is photographed from directly below, or an overhead image with an angle where the subject is photographed from directly above.
[0067] <Information Processing> Fig. 21 is a flowchart showing the image generation process of the illustrative background image generation server according to the present embodiment. The CPU 11 reads and executes a program capable of implementing the flowchart shown in Fig. 21, thereby implementing steps (hereinafter, abbreviated as "S") executed by each functional unit.
[0068] S1: When the web UI data acquisition unit 101 receives an access / login request from the user terminal 20, it acquires pre-installed web UI screen data for the user terminal, and the web UI data transmission unit 102 transmits the acquired web UI screen data to the user terminal 20. When the user terminal 20 receives the web UI screen data, it displays a web UI screen based on the web UI screen data on the screen via a predetermined application program (e.g., a general-purpose web browser or a dedicated application program).
[0069] S2: The tag receiving unit 103 receives the tag selected by the user via the web UI screen from the user terminal 20. The reception timing is, for example, the timing when the user completes tag selection on the web UI screen and presses the "Generate background image" button 210.
[0070] S3: The prompt generator 104 refers to the tag table and the option tag table in the tag DB 109c, and generates a prompt based on the tag acquired in S2.
[0071] Specifically, the prompt creation unit 104 first references the tag table and option tag table in the tag DB 109c, and acquires a prompt element corresponding to the tag acquired in S2. If the tag selected by the user is the "pool" tag, the prompt element "pool, school, outdoors, ((poolside))" corresponding to the "pool" tag is acquired. If the option tag category "time zone" is not selected, the default prompt element "sunlight, blue_sky" corresponding to the "morning" tag is acquired. Then, a "user prompt" (A2) consisting of the prompt elements corresponding to the tag acquired in S2 is created. pool, school, outdoors, ((poolside)), sunlight, blue_sky
[0072] Next, prompt generator 104 acquires a predetermined “common prompt” (A2) stored in advance in a predetermined memory area (not shown) of storage unit 109. (((masterpiece))),(((best quality))), (((high quality))), (((scenery))), (((no humans))), (((absurdres))),light_particles,finely detail
[0073] The prompt generator 104 then generates a "prompt" (A1+A2) that includes the acquired "common prompt" (A1) and "user prompt" (A2).
[0074] Furthermore, prompt creation unit 104 acquires a predetermined "negative prompt" (B) stored in advance in a predetermined memory area (not shown) of storage unit 109. Then, it creates a "prompt" (A1+A2) and a "negative prompt" (B).
[0075] S4: The prompt creation unit 104 inputs the prompt created in S3 to the AI image generation unit 105. Specifically, the prompt creation unit 104 inputs the above-mentioned "prompt" (A1+A2) and "negative prompt" (B) to the AI image generation unit 105.
[0076] S5: The AI image generation unit 105 executes a process for generating an illustrated background image based on the prompt input in S4.
[0077] S6: Image output unit 106 outputs the illustrated background image generated in S5. Storage unit 109 also stores the illustrated background image in image storage DB (illustrative background image) 109b in association with the "user ID" of the user who accessed and logged in. Image storage DB (illustrative background image) 109b also stores the tag received in S2 and the prompt entered in S4 in the "tag" and "prompt" items, respectively (see FIG. 5(b)).
[0078] In addition, since the image storage DB (illustration background image) 109b shown in FIG. 5(b) stores "tags" and "prompts (sentences)," the user can read out "image data," "tags," and "prompts" as a set on the web UI screen as image generation history information. By selecting new tags or option tags while referring to sets of "image data," "tags," and "prompts" generated in the past, the user can try generating illustration background images with various tag patterns while comparing the quality of a newly generated illustration background image with that of a previously generated illustration background image. Also, by referring to "image data" and "prompts," the user can learn prompt creation skills and directly edit the text of previously created "prompts."
[0079] In addition, in S4, when the prompt created by the prompt creation unit 104 is input to the AI image generation unit 105, another random number called a seed is input to the AI image generation unit 105 together with the prompt. The seed is used to give randomness to the generated image. Since the number of digits of the random number of the seed is very large and changes every time, even if the input prompt is the same every time, the illustrated background image generated and output in S5 is highly unlikely to be exactly the same illustrated background image (on the other hand, if a fixed seed value and a constant prompt are input, the generated image will not be random, and the same illustrated background image will be generated every time). Therefore, even if the user selects the same "tag" 206 or the same "option tag" 209, different illustrated background images may be generated and output. Therefore, the user can generate multiple illustrated background images while trying combination variations of the same "tag" or different "tags", and select the desired generated illustrated background image from the "gallery" 202.
[0080] ("Common prompt" and "negative prompt") As described above, the "common prompt" and the "negative prompt" are constant prompts consisting of predetermined prompt elements and having predetermined instruction content. That is, in this embodiment, a "prompt" including a "common prompt" consisting of predetermined prompt elements and a "user prompt" consisting of a prompt element corresponding to a tag selected by the user, and a "negative prompt" consisting of predetermined prompt elements are created.
[0081] The "common prompt" and "negative prompt" are combination instructions for prompt elements that improve the overall image quality of an illustration background, which were discovered in the applicant's research. The prompt creation unit 104 in this embodiment creates prompts that automatically incorporate the "common prompt" and "negative prompt", so that the user does not need to be aware of tags or prompt elements related to improving image quality; simply by selecting a tag appropriate to the situation from the web UI screen, the user can obtain an image of high image quality (for example, an illustration background image).
[0082] FIG. 22 shows an example of an illustrated background image with and without a "common prompt" and a "negative prompt" according to this embodiment. FIG. 22(a) is an illustrated background image generated when a user selects the "grassland" tag. The input prompt has a "common prompt" and a "negative prompt". On the other hand, FIG. 22(b) is an illustrated background image generated when a user selects the "grassland" tag. The input prompt does not have a "common prompt" and a "negative prompt". (a) is a background image with depth, while (b) is a flat background image, and the background is too close and it is difficult to tell what it is. Usually, a background image with depth provides a composition suitable for character placement. If the background image is flat, there is little difference from, for example, a plain, solid color or a simple background close to it. One of the "common prompts" and "negative prompts" includes a prompt element for generating such a background with depth.
[0083] FIG. 22(c) is an illustration background image generated when the user selects the "schoolyard" tag. The input prompts include a "common prompt" and a "negative prompt." On the other hand, FIG. 22(d) is an illustration background image generated when the user selects the "schoolyard" tag. The input prompts include no "common prompt" or "negative prompt." (c) is a background image without a figure, while (d) has a figure in the background. The "common prompt" and "negative prompt" in this embodiment include a prompt element that instructs the AI to draw a background. Without this, the AI would not receive an instruction to draw a background, and may draw a figure that is not suitable as an illustration background image.
[0084] <Summary> As described above, according to the illustrated background image generating system 100 of this embodiment, the user can easily create a prompt by selecting a tag indicating the situation of the background image from the web UI screen. In other words, the user can easily create a prompt sentence by simply selecting a situation tag of a background image that matches the overall composition, perspective, or story of the user character, for example.
[0085] Users can also generate an illustration background image by inputting the prompt text they have created. This allows users to complete their own character illustration (composite content image) by placing the user character image on the illustration background image of the situation they imagine. In addition, by reducing the effort required to create prompt text, users (illustrators, etc.) can allocate their skills and time resources to the pursuit of originality and quality of the character.
[0086] In other words, according to this embodiment, in one aspect, when generating an illustration background image using AI, it is possible to assist the user in inputting prompts, thereby assisting the user in creating an illustration background image and completing their own character illustration (composite content image).
[0087] Although the present invention has been described by showing specific examples according to the preferred embodiment of the present invention, it is apparent that various modifications and changes can be made to these examples without departing from the broad spirit and scope of the present invention as defined in the claims. In other words, the details of the examples and the accompanying drawings should not be construed as limiting the present invention.
[0088] Moreover, each function of the image generation server 10 according to this embodiment can be incorporated in an application program installed in the user terminal 20. This allows image generation to be performed only on the user terminal 20 side, without communication with the image generation server 10 via the network 50. That is, for example, one aspect of the application program in the user terminal 20 is as follows: On the computer, A display means for displaying a UI including a plurality of tags on a display device (e.g., the UI screen of FIG. 8); a tag selection means (e.g., the tag selection unit 204 in FIG. 8) for allowing a user to select one or more of the tags; a prompt generating means for generating a prompt including an element corresponding to the selected tag (corresponding to the function of the prompt generating unit 104 of the image generating server 10); An image generating means (corresponding to the function of the AI image generating unit 105 of the image generating server 10) for generating an image based on the prompt; Image output means for outputting the image (corresponding to the function of the image output unit 106 of the image generation server 10); It is an application program that enables the device to function as such. [Explanation of symbols]
[0089] 10 Illustration background image generation server 20 User terminal 50 Network 100 Illustration Background Image Generation System 101 Web UI data acquisition section 102 Web UI data transmission unit 103 Tag receiver 104 Prompt Creation Department 105 AI Image Generation Unit 106 Image output section 107 Character Image Acquisition Section 108 Image Editing Department 109 Storage section
Claims
1. a UI data transmission means for transmitting UI data for generating a UI including a plurality of tags to a user terminal; a tag receiving means for receiving one or more of the tags selected by a user from the user terminal; a prompt generating means for generating a prompt including an element corresponding to the tag; an image generating means for generating an image based on the prompt; an image output means for outputting the image; An image generating device comprising:
2. The image is a background image, The tag is a tag indicating a situation of the background image, A character image acquisition means for acquiring a character image from the user terminal; an image editing means for arranging a character image on the background image; 2. The image generating apparatus according to claim 1, further comprising:
3. The prompt generating means comprises: a prompt including a first predetermined prompt element and a prompt including an element corresponding to the tag; a negative prompt comprising a predefined second prompt element; Creating 3. The image generating device according to claim 2,
4. a storage means for storing the image in association with the tag and the prompt; the image output means outputs the image, and the tag and the prompt associated with the image; 2. The image generating device according to claim 1 .
5. On the computer, a UI data transmission means for transmitting UI data for generating a UI including a plurality of tags to a user terminal; a tag receiving means for receiving one or more of the tags selected by a user from the user terminal; a prompt generating means for generating a prompt including an element corresponding to the tag; an image generating means for generating an image based on the prompt; an image output means for outputting the image; A program to make it function as such.
6. a UI data transmission means for transmitting UI data for generating a UI including a plurality of tags to a user terminal; a tag acquisition means for acquiring one or more tags selected by a user from the user terminal; prompt generation means for generating a prompt corresponding to the tag; 13. A prompt creation assistance device comprising:
7. On the computer, a UI data transmission means for transmitting UI data for generating a UI including a plurality of tags to a user terminal; a tag acquisition means for acquiring one or more tags selected by a user from the user terminal; prompt generation means for generating a prompt corresponding to the tag; A program to make it function as such.
8. On the computer, a UI data receiving means for receiving UI data for generating a UI including a plurality of tags from a server; a display means for displaying a UI based on the UI data on a display device; A selection operation means for selecting the tag; a tag transmission means for transmitting the selected tag to the server; an image receiving means for receiving an image created in response to the tag from a UI data server; Application programs that allow the device to function as a network device.
9. On the computer, A display means for displaying a UI including a plurality of tags on a display device; tag selection means for allowing a user to select one or more of said tags; a prompt generating means for generating a prompt including an element corresponding to the selected tag; an image generating means for generating an image based on the prompt; an image output means for outputting the image; Application programs that allow the device to function as a network device.
Citation Information
Cited By
Printing system, printing control device, and printing method
CN122160461A
Printing system, printing control device, and printing method
CN123204187A
Information processing apparatus, prompt generation method, and image generation method
EP4745915A1
Information processing apparatus, prompt generation method, and image generation method
EP4749584A1
Response support system, response support method, and response support program
JP2026051773A
