Ad Image Generation Using Prompt Optimization and Template Synthesis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The production process of image advertisement materials is complex, leading to low efficiency and poor quality in Internet advertising.

Innovation Solution

An image generation method involving determining an image template based on product information, generating elements using text generation and optimization models, and synthesizing these elements to create a high-quality advertisement image.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If a complex production process is used for image advertisement materials, then more comprehensive processing can be achieved, but production efficiency decreases and quality deteriorates

Engineering Contradiction:
Improveimage qualityVSAvoidproduction efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent divides the image generation process into distinct modules: text generation model for copywriting elements, text-to-image generation model for visual elements, and an integration module that combines them. This segmentation allows each model to specialize in its specific task, improving both the quality of individual elements and the overall production efficiency by enabling parallel processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a prompt library as an intermediary component that stores pre-designed prompt templates. This prompt library acts as a mediator between product information and the generation models, providing structured input that improves generation quality while reducing the complexity of direct model control, thereby enhancing both quality and efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Quantity of substance

If traditional advertising media such as television and print media are used, then broad coverage can be achieved, but costs increase significantly

Engineering Contradiction:
Improveadvertising coverageVSAvoidadvertising cost
Core Design Contradiction:
Quantity of substanceVSLoss of energy

Solution Approach 1:

The patent generates multiple advertisement images by copying and recombining standardized elements (copywriting templates, visual templates, product images) through the integration module. This copying approach allows the same high-quality templates to be reused across numerous advertisements, achieving broad coverage at low marginal cost, similar to how digital content can be replicated infinitely without additional production costs.

Inventive Principle:
Principle #26Copying

3Manufacturing precision

If manual image production processes are used, then detailed control can be achieved, but production time increases and efficiency decreases

Engineering Contradiction:
Improveimage element qualityVSAvoidproduction time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent pre-trains specialized text generation models and text-to-image generation models on specific datasets before actual advertisement production. This preliminary action allows the models to learn optimal generation patterns in advance, so that during actual production, high-quality images can be generated rapidly without requiring manual intervention for each element, thus maintaining quality while reducing production time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The integration module automatically performs the task of selecting and combining copywriting elements and visual elements based on product information, without requiring manual design intervention. The system serves itself by autonomously making design decisions based on the trained models and stored templates, significantly reducing production time while maintaining consistent quality standards.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4651060A1Image generation methods and apparatuses, electronic devices, and storage media
Publication Date: 2025.11.19 ANT SHENGXIN (SHANGHAI) INFORMATION TECH CO LTD
  • EP4651060A1 patent drawingFigure 1
  • EP4651060A1 patent drawingFigure 2
  • EP4651060A1 patent drawingFigure 3

AI summary

Embodiments of this specification disclose image generation methods and apparatuses, electronic devices, and storage media. The image generation method includes: determining, based on product information of a product, an image template that corresponds to the product; generating several first elements based on a prompt library by using a pre-accessed text generation model; optimizing prompts in the prompt library by using a pre-accessed content optimization model, to obtain optimized prompts; generating, by using a pre-accessed text-to-image generation model, several second elements that correspond to the optimized prompts; determining, from the several first elements and the several second elements, image materials that correspond to the product information; and performing, by using the image template, synthesis processing on the image materials that correspond to the product information, to obtain a synthesized image. The embodiments of the specification improve quality of the synthesized image and image generation efficiency.