Enhancing Consistency in AI Image Generation with Area Composition

0

As artificial intelligence-based image generation rapidly evolves, we encounter technologies that allow for the creation of more refined and consistent images. Among these, “Area Composition” stands out as a particularly noteworthy technique. This article will delve into what Area Composition is, how it operates, and how it can be practically applied.

What is Area Composition?

Area Composition is a method that creates consistent images by setting specific areas of an image and applying different conditions to each area. This technology is implemented using tools like ComfyUI, allowing you to individually configure and generate each part of an image. This approach helps maintain overall image consistency while incorporating various elements.

  • Setting Conditions: First, conditions are set for each area of the image. For example, the top can be a night sky, the middle a twilight sky, and the bottom a daytime sky.
  • Generating the Image: The image is then generated based on the set conditions. Each area is generated according to its assigned conditions, forming a consistent image overall.
  • Post-processing: If needed, the image can be further edited or adjusted to finalize the result.

Representing Different Times of Day

The image below, generated using the “Anything-V3” model, depicts four different times of the day: night, evening, day, and morning.

Four different times of the day

Here’s the workflow used for this image.

Workflow

Creating New Expressions by Reordering

The same times of day can be included, but arranged in reverse order, to create a new image.

Times of day in reverse order

Adding specific themes to the image can make it more lively.

Character added

Understanding Techniques to Increase Consistency

Generally, AI provides the most consistent results when generating images at 512×512 resolution. However, consistency issues can arise when creating images with wider aspect ratios. By using Area Composition, it’s possible to maintain thematic consistency while generating wider aspect ratio images.

Generating Wide-Aspect-Ratio Images

When creating a 16:9 ratio image with an added theme, you can compare the results of the first and second passes to notice the differences.

First Pass (1280×704)

First pass

Second Pass (1920×1088)

Second pass

As demonstrated, Area Composition allows for achieving both consistency and creativity in AI image generation.

Conclusion

The Area Composition technique is a highly useful tool in AI image generation. It enables the creation of more refined and consistent images while integrating various visual elements. We encourage you to experiment with Area Composition to create creative and consistent images. It will be a valuable asset to your design work.

References: ComfyUI, “Area Composition Examples”

Leave a Reply