Electronic device and user interface generation method thereof
The electronic device uses semantic analysis to convert user input into prompt text for image generation models, addressing the inefficiencies of traditional design tools and generative AI models by generating consistent and personalized user interfaces.
Patent Information
- Application Number
- US19/672756
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-05-11
- Publication Date
- 2026-11-26
AI Technical Summary
Existing user interface design tools require high design capabilities and are cumbersome, while generative AI models lack consistency in generating diverse components, leading to style inconsistencies.
An electronic device and method that utilizes semantic analysis to convert user input into prompt text, employing image generation models to automatically generate personalized and high-quality visual interface materials, ensuring consistency through distinct conversion rules for different components.
Reduces the time and cost of manual design by providing accurate, personalized, and consistent visual interface materials aligned with user intent, enhancing user experience.
Smart Images

Figure US20260377044A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims the priority benefit of Taiwan application serial no. 114119161, filed on May 22, 2025. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.BACKGROUNDTechnical Field
[0002] The disclosure relates to an electronic device and a user interface generation method.Related Art
[0003] With the advancement of technology, powerful performance and rich applications have made electronic devices indispensable items in modern people's daily lives. However, user demands for electronic devices are no longer limited to the functional aspects, but also place greater emphasis on the customization of user interface (UI) to reflect personal preferences and style. Users typically hope that their electronic devices have unique and personalized user interfaces. Currently, to generate personalized UI, traditional design tools (such as Photoshop or other professional drawing software) or generative AI models is used. However, the use of traditional design tools requires extremely high design capabilities from users, and the production process is cumbersome, requiring substantial time and energy. Additionally, existing generative AI models are typically only responsible for generating specific types of components or certain specific content in user interfaces, and cannot satisfy the demand for generating various different components. When multiple different generative AI models are used to separately generate various types of components, the lack of connection between models results in style inconsistencies, thereby affecting the overall visual appearance.SUMMARY
[0004] The disclosure provides a user interface generation method adapted to an electronic device including a display. The method comprises the following steps. User input information is received. The user input information is converted into a prompt text based on semantic analysis. Visual interface material is generated by using an image generation model according to the prompt text. The visual interface material is applied to a user interface. The user interface including the visual interface material is displayed through the display.
[0005] The disclosure further provides an electronic device including an input device, a display, a storage device, and a processor. The storage device records a plurality of instructions, and the processor is coupled to the input device, the display, and the storage device, executing the instructions to perform the following operations. User input information is received. The user input information is converted into a prompt text based on semantic analysis. Visual interface material is generated by using an image generation model according to the prompt text. The visual interface material is applied to a user interface. The user interface including the visual interface material is displayed through the display.
[0006] Based on the above, in the embodiments of the disclosure, through semantic analysis technology, user input information is accurately parsed and converted into prompt text, making the subsequently generated visual interface material more closely aligned with user intent. By converting user input information into prompt text based on designed conversion rules, inappropriate visual interface material generated by the image generation model is also avoided. Meanwhile, by automatically generating visual interface material through the image generation model, personalized and high-quality interface design is dynamically provided, reducing the cost and time of manual interface design.BRIEF DESCRIPTION OF THE DRAWINGS
[0007] FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the disclosure.
[0008] FIG. 2 is a flowchart of a user interface generation method according to an embodiment of the disclosure.
[0009] FIG. 3 is a flowchart of a user interface generation method according to an embodiment of the disclosure.
[0010] FIG. 4 is a schematic diagram of a user interface generation method according to an embodiment of the disclosure.
[0011] FIG. 5 is a flowchart of generating a first prompt text for wallpaper generation according to user input information in an embodiment of the disclosure.
[0012] FIG. 6 is a schematic diagram of a prompt word setting interface and a first prompt text according to an embodiment of the disclosure.
[0013] FIG. 7 is a flowchart of generating a second prompt text for icon generation according to user input information in an embodiment of the disclosure.
[0014] FIG. 8 is a schematic diagram of generating a desktop utilizing a wallpaper generation model according to an embodiment of the disclosure.
[0015] FIG. 9 is a schematic diagram of generating application icons utilizing an icon generation model according to an embodiment of the disclosure.DESCRIPTION OF THE EMBODIMENTS
[0016] Reference will now be made in detail to exemplary embodiments of the disclosure, examples of the exemplary embodiments are illustrated in the accompanying drawings. Wherever possible, the same component symbols are used in the drawings and description to represent the same or similar parts. These embodiments are only a part of the disclosure and do not disclose all possible implementations of the disclosure. More precisely, these embodiments are only examples of the devices and methods in the scope of claims of the disclosure.
[0017] Referring to FIG. 1, the electronic device 100 of an embodiment is, for example, a smartphone, tablet computer, notebook computer, or other electronic device capable of displaying a visual operation interface, and the disclosure is not limited thereto. The electronic device 100 comprises an input device 110, a storage device 120, a display 130, and a processor 140, and their functions are described as follows.
[0018] The input device 110 is configured to receive user input information, such as a touch device, microphone, keyboard, or mouse, etc. In one embodiment, the user input information is text input or voice input.
[0019] The display 130 is, for example, a Liquid Crystal Display (LCD), Light-Emitting Diode (LED) display, Field Emission Display (FED), Organic Light-Emitting Diode (OLED) display, or other types of displays, and the disclosure is not limited thereto.
[0020] In one embodiment, the storage device 120 is configured to store data such as files, images, commands, program codes, software modules, etc. In one embodiment, the storage device 120 is any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk or other similar devices, integrated circuits, or combinations thereof.
[0021] In one embodiment, the processor 140 is a Central Processing Unit (CPU), application processor (AP), or other programmable general-purpose or special-purpose microprocessor, Digital Signal Processor (DSP), programmable controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD), Graphics Processing Unit (GPU), or other similar devices or combinations of these devices. The processor 140 executes program codes, software modules, instructions, etc. recorded in the storage device 120 to implement the user interface generation method of the embodiments of the disclosure.
[0022] Referring to FIGS. 1 and 2, the method of the embodiment is adapted to the electronic device 100 in the above embodiment, and the detailed steps of the user interface generation method of the embodiment will be described below in conjunction with the various components in the electronic device 100.
[0023] In step S210, the processor 140 receives user input information through the input device 110. For example, the user operates the input device 110 to input the user input information in an input field of a user operation interface displayed on the display 130. Alternatively, the user speaks the user input information, and the processor 140 receives voice input through the input device 110. In one embodiment, the user input information is a single word or a combination of multiple words, and the disclosure is not limited thereto. The user input information is unformatted natural language.
[0024] In step S220, the processor 140 converts the user input information into a prompt text based on semantic analysis. Specifically, the processor 140 utilizes a Semantic Analysis Model to perform semantic analysis on the user input information, thereby obtaining a semantic analysis result of the user input information. In various embodiments, the above semantic analysis result isa semantic feature vector, semantic classification result, or keywords, etc. The processor 140 generates a prompt text corresponding to the user input information according to the semantic analysis result. The prompt text comprises multiple prompt words, and these prompt words are determined according to the semantic analysis result.
[0025] In some embodiments, the processor 140 automatically selects one or more prompt words in the prompt text from multiple candidate prompt words according to the semantic analysis result. Alternatively, in some embodiments, the processor 140 determines multiple candidate prompt words according to the semantic analysis result, and display these candidate prompt words on a setting interface in the form of a menu or dialog box. The user selects one or more options that meet their requirements from the candidate prompt words, for example, the user selects "forest" from "mountain," "lake," and "forest." The processor 140 subsequently generates the prompt text according to the user's selection. In this way, a prompt text that meets user requirements and is more personalized is generated, further improving the accuracy of image generation.
[0026] In some embodiments, the semantic analysis model is a Text Embedding Model. The processor 140 utilizes the text embedding model to generate a semantic feature vector according to the user input information. Specifically, the processor 140 inputs the user input information to the text embedding model, so that the text embedding model outputs the semantic feature vector of the user input information. The text embedding model is configured to convert input text into semantic feature vectors in a multi-dimensional feature space. In various embodiments, the text embedding model is, for example, a BERT (Bidirectional Encoder Representations from Transformers) model, a GPT (Generative Pre-trained Transformer) model, a Bag-of-Words Model, a CLIP (Contrastive Language–Image Pretraining) model, or a USE (Universal Sentence Encoder) model, etc., and the disclosure is not limited thereto. Subsequently, the processor 140 searches for at least one prompt word with similar semantics from multiple candidate prompt words according to the semantic feature vector of the user input information, to generate the prompt text.
[0027] In some embodiments, the processor 140 combines multiple candidate prompt words into different multiple prompt word combinations. Subsequently, the processor 140 generates semantic feature vectors of these prompt word combinations, and perform similarity comparison between the semantic feature vectors of these prompt word combinations and the semantic feature vector of the user input information respectively. Thereafter, the processor 140 finds the prompt word combination that is most similar to the semantic feature vector of the user input information, to generate the prompt text according to the prompt word combination. Through this method, the prompt word combination that meets user requirements is filtered out in a structured and efficient approach, thereby ensuring that the generated prompt text is highly relevant to the user input information.
[0028] In step S230, the processor 140 utilizes an image generation model to generate visual interface material according to the prompt text. An image generation model is a deep learning-based model configured to generate image content. The aforementioned image generation model is a model based on Generative Adversarial Network (GAN), a diffusion model, or a generator trained by other deep learning methods, capable of generating high-quality material that meets semantic requirements according to the prompt text.
[0029] In some embodiments, the visual interface material comprises a wallpaper or an application icon. That is, the processor 140 utilizes the image generation model to generate the application icons and the wallpaper according to the prompt text. The application icons are specifically configured to represent the functions or features of specific applications, presented in the user interface with easily recognizable designs.
[0030] In step S240, the processor 140 applies the visual interface material to a user interface. In some embodiments, the processor 140 applies the wallpaper generated by the image generation model according to the prompt text to the desktop background. In some embodiments, the processor 140 applies the application icon generated by the image generation model according to the prompt text to the user interface. In some embodiments, the processor 140 also provides a real-time preview function, allowing the user to preview the effect before applying the visual interface material, and modify the selection of prompt words to further satisfy personalized requirements.
[0031] In step S250, the processor 140 displays the user interface including the visual interface material through the display 130. Based on this, the user views the personalized user interface that meets expectations through the display 130.
[0032] Referring to FIGS. 1 and 3, the method of the embodiment is applicable to the electronic device 100 in the aforementioned embodiment, and the detailed steps of the user interface generation method of the embodiment are described below in conjunction with various components in the electronic device 100.
[0033] In step S310, the processor 140 receives user input information through the input device 110. In step S320, the processor 140 converts the user input information into a prompt text based on semantic analysis. In some embodiments, the prompt text comprises a first prompt text for wallpaper generation and a second prompt text for application icon generation. Step S320 is implemented as step S321 and step S322.
[0034] In step S321, the processor 140 generates a first prompt text for wallpaper generation according to the semantic analysis result of the user input information based on a first prompt conversion rule. In step S322, the processor 140 generates a second prompt text for application icon generation according to the semantic analysis result of the user input information based on a second prompt conversion rule.
[0035] It should be noted that, the first prompt conversion rule is different from the second prompt conversion rule. That is, the processor 140 applies different prompt conversion rules to respectively generate the first prompt text for wallpaper generation and the second prompt text for application icon generation. The reason is that wallpaper generation and icon generation have different requirements for prompt information. Wallpapers typically occupy most of the space of the display 130, and their design needs to comprises rich details, such as scene themes, color schemes, lighting effects, and overall composition. Therefore, wallpaper generation requires more detailed and specific prompt information to generate more complex and refined wallpapers. In contrast, icon generation relies on more concise prompt information to generate application icons with simpler composition and fewer details.
[0036] Furthermore, the processor 140 generates the first prompt text for wallpaper generation and the second prompt text for application icon generation according to the same user input information and different prompt conversion rules. Therefore, the application icons and the wallpaper have consistent style due to the same user input information.
[0037] In step S330, the processor 140 utilizes an image generation model to generate visual interface material according to the prompt text. In some embodiments, the image generation model comprises a wallpaper generation model and an icon generation model. Step S330 is implemented as step S331 and step S332.
[0038] In step S331, the processor 140 inputs the first prompt text to a wallpaper generation model to generate the wallpaper in the visual interface material. In step S332, the processor 140 inputs the second prompt text to an icon generation model to generate the application icons in the visual interface material. The generation of wallpapers and application icons will be described in further detail in subsequent embodiments.
[0039] In step S340, the processor 140 applies the visual interface material to a user interface. That is, the processor 140 integrates the wallpaper and application icons generated according to the user input information, and apply the wallpaper and application icons to the user interface. In the embodiment, the processor 140 also determines an interface color scheme according to the user input information, and configure the colors of the user interface according to the interface color scheme.
[0040] In step S350, the processor 140 selects at least one theme color from multiple preset colors according to the semantic analysis result of the user input information. In some embodiments, the processor 140 analyzes the correlation between the user input information and the multiple preset colors based on text embedding model technology to select at least one theme color highly correlated to the user input information from the preset colors.
[0041] In some embodiments, the processor 140 utilizes a text embedding model to generate a semantic feature vector of the user input information, and compare the semantic feature vector with color semantic vectors corresponding to each preset color to select at least one theme color that matches the user input information from the multiple preset colors. Each preset color is associated with one or more color semantic vectors, and the one or more color semantic vectors of each preset color are determined according to the color description text of each preset color.
[0042] In step S360, the processor 140 applies an interface color scheme determined based on at least one theme color to the user interface. Specifically, the processor 140 determines an interface color scheme including at least one matching color and at least one theme color according to the at least one theme color and a color matching mechanism. The color matching mechanism is, for example, Android's Dynamic Color mechanism, but not be limited thereto. The processor 140 respectively configures different areas or UI components (such as buttons, icons, sliders, and other interactive elements) of the user interface according to the theme colors and matching colors of the interface color scheme.
[0043] In step S370, the processor 140 displays the user interface including the visual interface material through the display 130. That is, based on the process shown in FIG. 3, the wallpaper, application icons, and colors in the user interface is close to the semantics of the user input information and have consistent style.
[0044] In one embodiment, referring to FIG. 4, which is a schematic diagram of a user interface generation method according to an embodiment of the disclosure. The prompt converter 411 respectively generates a first prompt text Prm_1, a second prompt text Prm_2, and a third prompt text Prm_3 based on the user input information Info_1 according to different style conversion rules. In the embodiment, the user input information Info_1 is converted into a third prompt text Prm_3 for determining interface colors. In some embodiments, a large language model (LLM model) is utilized to perform text summarization processing on the user input information Info_1 to generate a concise third prompt text Prm_3. The prompt converter 411 is a software module executed by the processor 140.
[0045] The wallpaper generation model M11 generates wallpaper W11 according to the first prompt text Prm_1. The icon generation model M12 generates application icon ic11 according to the second prompt text Prm_2. The color scheme decision model M13 determines interface color scheme CP11 according to the third prompt text Prm_3. The semantic feature vector of the third prompt text Prm_3 is configured to find theme colors matching the user input information Info_1 from multiple preset colors. In various embodiments, the wallpaper generation model M11, icon generation model M12, and color scheme decision model M13 is deployed locally or in the cloud. Finally, the theme application service 412 integrates and applies the generated theme materials (i.e., wallpaper W11, application icon ic11, and interface color scheme CP11) to the user interface UI_1 to achieve a complete theming effect.
[0046] Referring to FIG. 5, which is a flowchart of generating a first prompt text for wallpaper generation according to user input information in an embodiment of the disclosure. The method of the embodiment is applicable to the electronic device 100 in the above-mentioned embodiments, and the detailed steps of the user interface generation method of the embodiment will be described below in conjunction with various components in the electronic device 100.
[0047] In some embodiments, the processor 140 determines at least one wallpaper prompt word Wrd_1, Wrd_2 corresponding to the user input information Info_1 by performing semantic analysis on the user input information Info_1. In this example, two wallpaper prompt words Wrd_1, Wrd_2 are used as an example for illustration, but it is not limited thereto.
[0048] In detail, in step S51, the processor 140 performs semantic analysis on the user input information Info_1 to obtain a semantic feature vector SF_1 of the user input information Info_1. In step S52, the processor 140 generates wallpaper prompt words Wrd_1, Wrd_2 according to the semantic feature vector SF_1 of the user input information Info_1.
[0049] In some embodiments, the processor 140 selects wallpaper prompt word Wrd_1 from multiple first candidate prompt words according to the semantic feature vector SF_1 of the user input information Info_1. In addition, the processor 140 selects wallpaper prompt word Wrd_2 from multiple second candidate prompt words according to the semantic feature vector SF_1 of the user input information Info_1. In some embodiments, the second candidate prompt words are provided based on the selection of wallpaper prompt word Wrd_1. That is, after the processor 140 determines wallpaper prompt word Wrd_1, the processor 140 determines multiple second candidate prompt words belonging under wallpaper prompt word Wrd_1.
[0050] For example, the processor 140 selects wallpaper prompt word Wrd_1 from multiple style prompt words according to the semantic feature vector SF_1 of the user input information Info_1. Assuming wallpaper prompt word Wrd_1 is "natural landscape", the processor 140 obtains multiple second candidate prompt words "mountain", "lake", "forest" according to "natural landscape". Thereafter, the processor 140 selects wallpaper prompt word Wrd_2 from the multiple second candidate prompt words "mountain", "lake", "forest" according to the semantic feature vector SF_1 of the user input information Info_1.
[0051] In step S53, the processor 140 embeds at least one wallpaper prompt word Wrd_1, Wrd_2 into a preset prompt text format PF1 to generate a first prompt text Prm_1 including wallpaper detail information and at least one wallpaper prompt word. The preset prompt text format PF1 comprises wallpaper detail information. The wallpaper detail information comprises displays information of the display 130, such as screen resolution and aspect ratio, etc. The wallpaper detail information comprises supplemental prompt words. In some embodiments, the wallpaper detail information is determined based on wallpaper prompt words Wrd_1, Wrd_2. The supplemental prompt words in the wallpaper detail information are related extension words of wallpaper prompt words Wrd_1, Wrd_2 or visual effects related to wallpaper prompt words Wrd_1, Wrd_2, etc.
[0052] For example, referring to FIG. 6, which is a schematic diagram of a prompt word setting interface and a first prompt text according to an embodiment of the disclosure. The processor 140 determines a style-type wallpaper prompt word 610 according to the semantic feature vector of the user input information. Thereafter, the processor 140 determines multiple background-type candidate prompt words according to the style-type wallpaper prompt word 610, which are respectively "interstellar city", "interstellar port", "dimensional rift", "neon castle", "alien world". The processor 140 provides multiple background-type candidate prompt words and multiple tone-type candidate prompt words through the setting interface UI61, which are respectively "normal tone", "vivid tone", "soft tone", "warm tone", "cool tone", "black and white tone".
[0053] In some embodiments, the user manually selects wallpaper prompt word 611 from multiple background-type candidate prompt words and select wallpaper prompt word 612 from multiple tone-type candidate prompt words. Alternatively, in other embodiments, the processor 140 arranges and combine wallpaper prompt word 610, multiple background-type candidate prompt words, and multiple tone-type candidate prompt words into different prompt word combinations. The processor 140 automatically selects wallpaper prompt word 611 and wallpaper prompt word 612 according to the semantic feature vectors of these prompt word combinations and the semantic feature vector of the user input information. Subsequently, the processor 140 generates first prompt text Prm_1 including wallpaper prompt words 610, 611, 612 and wallpaper detail information 613 according to the preset prompt text format.
[0054] Referring to FIG. 7, which is a flowchart of generating a second prompt text for icon generation according to user input information in an embodiment of the disclosure. The method of the embodiment is applicable to the electronic device 100 in the above-mentioned embodiments, and the detailed steps of the user interface generation method of the embodiment will be described below in conjunction with various components in the electronic device 100.
[0055] In some embodiments, the processor 140 determines at least one icon prompt word Crd_1, Crd_2 corresponding to the user input information Info_1 by performing semantic analysis on the user input information Info_1. In this example, two icon prompt words Crd_1, Crd_2 are used as an example for illustration, but it not be limited thereto.
[0056] In detail, in step S61, the processor 140 performs semantic analysis on the user input information Info_1 to obtain the semantic feature vector SF_1 of the user input information Info_1. In step S62, the processor 140 generates icon prompt words Crd_1, Crd_2 according to the semantic feature vector SF_1 of the user input information Info_1. Furthermore, the implementation approach for the processor 140 to determine icon prompt words Crd_1, Crd_2 is similar to the implementation approach for determining wallpaper prompt words. In some embodiments, icon prompt word Crd_1 is selected from multiple candidate prompt words based on the semantic feature vector SF_1 of the user input information Info_1. Icon prompt word Crd_2 is selected from multiple candidate prompt words based on the semantic feature vector SF_1 of the user input information Info_1 or user selection operation.
[0057] It should be noted that in step S63, the processor 140 combines at least one icon prompt word Crd_1, Crd_2 to generate a second prompt text Prm_2 including at least one icon prompt word Crd_1, Crd_2. That is, in some embodiments, the processor 140 generates a second prompt text Prm_2 that comprises icon prompt words Crd_1, Crd_2, making the second prompt text Prm_2 concise and suitable for generating application icons.
[0058] Referring to FIG. 8, which is a schematic diagram of utilizing a wallpaper generation model to generate a desktop in an embodiment of the disclosure.
[0059] In some embodiments, the processor 140 inputs the first prompt text Prm_1 to the wallpaper generation model M11 to obtain the original wallpaper RW1 output by the wallpaper generation model M11. That is, through the wallpaper generation model M11 that performs text-to-image tasks, the processor 140 obtains the original wallpaper RW1 according to text input. Thereafter, through a Super-Resolution Model M14 according to the screen resolution of the display 130, the processor 140 enhances the image resolution of the original wallpaper RW1 to obtain the wallpaper W11. The super-resolution model M14 is, for example, an ESRGAN (Enhanced Super-Resolution GAN) model, but not be limited thereto. Since the image size output by the wallpaper generation model M11 is limited, the original wallpaper RW1 is enlarged through the super-resolution model M14 to obtain the wallpaper W11 with detailed content.
[0060] Referring to FIG. 9, which is a schematic diagram of utilizing an icon generation model to generate application icons in an embodiment of the disclosure.
[0061] In some embodiments, the processor 140 inputs the second prompt text Prm_2 and at least one preset application icon icd_1 to the icon generation model M12 to obtain the application icon ic11 output by the icon generation model M12. In detail, the preset application icon icd_1 is a pre-designed icon outline control diagram. Different application programs correspond to different icon outline control diagrams. For example, the preset application icon icd_1 of a camera application program comprises a camera shape outline. The preset application icon icd_1 of a clock application program comprises a clock shape outline. The icon generation model M12 adjusts the preset application icon icd_1 to a final application icon ic11 with specific design style and visual features according to the information provided by the second prompt text Prm_2. The icon generation model M12 adds visual effects or visual elements that conform to the second prompt text Prm_2 on the basis of retaining the preset outline.
[0062] In summary, in the embodiments of the disclosure, through semantic analysis technology, user input information is accurately parsed and converted to prompt text, making the subsequently generated visual interface materials more closely aligned with user intent. By converting user input information to prompt text based on designed conversion rules, inappropriate visual interface materials generated by image generation models also are avoided. Meanwhile, by automatically generating visual interface materials through image generation models, personalized and high-quality interface designs is dynamically provided, reducing the cost and time of manual interface design. In addition, more diverse visual variations and interest is brought, and the connection and interaction between the device and the user is experienced.
[0063] Although the invention has been described with reference to the above embodiments, it will be apparent to one of ordinary skill in the art that modifications to the described embodiments are made without departing from the spirit of the invention. Accordingly, the scope of the invention is defined by the attached claims not by the above detailed descriptions.
Claims
1. A user interface generation method, adapted to an electronic device comprising a display, the method comprising:receiving user input information;converting the user input information into a prompt text based on semantic analysis;generating a visual interface material by utilizing an image generation model according to the prompt text;applying the visual interface material to a user interface; anddisplaying the user interface comprising the visual interface material through the display.
2. The user interface generation method as described in claim 1, wherein the visual interface material comprises a wallpaper or an application icon.
3. The user interface generation method as described in claim 1, wherein the step of converting the user input information into the prompt text based on the semantic analysis comprises:generating a first prompt text for wallpaper generation according to a semantic analysis result of the user input information based on a first prompt conversion rule; andgenerating a second prompt text for application icon generation according to the semantic analysis result of the user input information based on a second prompt conversion rule,wherein the first prompt conversion rule is different from the second prompt conversion rule.
4. The user interface generation method as described in claim 3, wherein the step of generating the first prompt text for wallpaper generation according to the semantic analysis result of the user input information based on the first prompt conversion rule comprises:determining at least one wallpaper prompt word corresponding to the user input information through performing the semantic analysis on the user input information; andembedding the at least one wallpaper prompt word into a preset prompt text format to generate the first prompt text comprising wallpaper detail information and the at least one wallpaper prompt word, wherein the preset prompt text format comprises the wallpaper detail information.
5. The user interface generation method as described in claim 3, wherein the step of generating the second prompt text for application icon generation according to the semantic analysis result of the user input information based on the second prompt conversion rule comprises:determining at least one icon prompt word corresponding to the user input information through performing semantic analysis on the user input information; andcombining the at least one icon prompt word to generate the second prompt text comprising the at least one icon prompt word.
6. The user interface generation method as described in claim 3, wherein the step of generating the visual interface material by utilizing the image generation model according to the prompt text comprises:inputting the first prompt text to a wallpaper generation model to generate the wallpaper in the visual interface material; andinputting the second prompt text to an icon generation model to generate the application icon in the visual interface material.
7. The user interface generation method as described in claim 6, wherein the step of inputting the first prompt text to the wallpaper generation model to generate the wallpaper in the visual interface material comprises:inputting the first prompt text to the wallpaper generation model to obtain an original wallpaper output by the wallpaper generation model; andenhancing image resolution of the original wallpaper according to screen resolution of the display through a super-resolution model to obtain the wallpaper.
8. The user interface generation method as described in claim 6, wherein the step of inputting the second prompt text to the icon generation model to generate the application icon in the visual interface material comprises:inputting the second prompt text and at least one preset application icon to the icon generation model to obtain the application icon output by the icon generation model.
9. The user interface generation method as described in claim 1, further comprising:selecting at least one theme color from a plurality of preset colors according to the semantic analysis result of the user input information; andapplying an interface color scheme determined based on the at least one theme color to the user interface.
10. An electronic device, comprising:an input device;a display;a storage device recording a plurality of instructions;a processor coupled to the input device, the display, and the storage device, executing the instructions and configured to execute the following steps:receiving user input information;converting the user input information into a prompt text based on semantic analysis;generating a visual interface material by utilizing an image generation model according to the prompt text;applying the visual interface material to a user interface; anddisplaying the user interface comprising the visual interface material through the display.
