Loading lesson…
Loading lesson…
In the first part, we directly called NanoBanana through code and experienced the basic "input and generate" process. This approach works fine when requirements are simple. But when generation tasks start to include more constraints, such as:
The single-call approach gradually becomes insufficient.
This is where you need to introduce AI Agent (Intelligent Agent). This section uses Lovart as an example to show how the overall workflow changes when an image generation model has a "thinking layer." Note! This is not an advertisement, just helping everyone quickly grasp the convenience of AI Agents~
Lovart is an Agent-based design tool on the web. Compared to ordinary image generation tools, it adds a layer of "thinking and planning" before generation.


After entering Lovart, you mainly need to understand the following controls:
Click the cube icon below the input box to view the currently available generation models (such as GPT Image, Flux, etc.).
To maintain consistency with the previous examples, this section still uses NanoBanana as the underlying generation model.

This is Lovart's core toggle:


After enabling the globe icon, the Agent can retrieve web information during the generation process (such as design trends, color schemes) as supplementary input.
Even though you can already generate decent quality images through Python, the native API still has limitations in complex tasks. The key reason is that the native API is inherently imperative. When you ask it to generate a specific object, it can execute directly; but when the input becomes "plan a complete set of game assets," it won't proactively decompose the goal into multiple executable steps.
Lovart's core difference lies in its Agent mechanism. Between user input and the image generation model, it adds a layer of logic for understanding and planning: first identifying user intent, then decomposing tasks, rewriting prompts, and only then executing generation.
Let's use "making a set of programmer duck IP sticker pack" as an example to see how the Agent participates in the entire process.
The Problem with Native API: You need to think about character design and emotional states yourself, and write individual prompts for each image.
Lovart's Approach:
Design a set of programmer duck IP sticker pack, flat style, cute
The AI won't immediately start drawing. Instead, it first searches the web for related programmer duck designs. It then outputs a decomposed plan, automatically generating scenes like Debug, Coffee Break, Panic, etc., with corresponding visual descriptions for each.


In this step, the AI transforms from "executor" to "planner." After the AI finishes analyzing your requirements, you can see various styles and content of programmer duck images in Lovart's canvas area. You can start filtering for the styles you like.

Images in Lovart are not just results — they also participate in subsequent generation.

The generated result will inherit the color scheme, proportions, and details of the master template.

Besides using an entire image as a reference, Lovart also supports:
Click the tab bar on the left side of the canvas area, select the "Mark" button, and mark the target area on the image. This content will automatically sync to the conversation box. For example, here we can choose to change the background color.



You can see that the newly generated image only changed the background color, which is consistent with our input requirement.
For example: you can keep the character from image A as the main subject, while only replacing the hat with the style from image B. The Agent will automatically integrate these visual constraints in the background.
Taking the programmer duck as an example, we can choose to keep the duck character from the first image and replace it as the main subject element in the second image.


The final effect is quite remarkable. You can also try other combinations!
After generation is complete, you can directly perform: upscale, remove background, erase, and other operations.


These are not simple filters — they are results from the Agent automatically orchestrating different tools.
Once the base style is determined, you can very quickly generate a series of sticker pack images.

What we ultimately get are production-ready assets that can be directly delivered, not just a display image.
Lovart uses a subscription-based pricing model, where different plans correspond to different usage quotas and feature permissions. Please refer to the official website for specific details.
This tutorial does not recommend or compare any specific plans; if you have actual usage needs, you can choose to upgrade based on your personal situation. Currently, payment via Alipay and other methods is supported.

Lovart doesn't replace the underlying model — rather, through its Agent mechanism, it upgrades image generation from "single execution" to "continuous workflow."
When tasks start involving planning, consistency, and delivery, the advantages of such tools become very apparent.