
This ComfyUI workflow, titled 'Swap Product Into a Reference AD,' is designed to seamlessly integrate your product into the style of an existing advertisement. By leveraging the power of AI models such as Gemini3 Pro Image Preview and Nano Banana Pro, this workflow allows users to create visually compelling static ads. The process begins with loading the reference advertisement using the LoadImage node, which sets the stage for style extraction. The GeminiImage2Node plays a crucial role in analyzing and adapting the style of the reference ad to your product image. The workflow also utilizes the ResizeAndPadImage node to ensure that the product image fits perfectly into the desired ad format, maintaining visual harmony and aesthetic appeal.
Technically, this workflow is a blend of image processing and style transfer techniques. The RegexReplace and PrimitiveStringMultiline nodes are used to fine-tune textual elements, ensuring that any text in the reference ad is appropriately adapted or replaced. The SaveImage node finalizes the process by saving the newly created ad, ready for use in marketing campaigns. This workflow is particularly useful for businesses looking to maintain brand consistency across various advertisements, as it allows for quick adaptation of products into pre-existing ad styles without the need for extensive graphic design skills.