Created on 2nd October 2024
•
BannerCraft is an AI-powered platform revolutionizing how businesses create promotional banners. Our project introduces a cutting-edge solution for high-quality, customized advertisement banner creation, leveraging advanced AI technologies to streamline design workflows and enhance marketing impact.
Challenges We Faced
Prompt Engineering for Gemini 1.5 Pro
A key challenge was fine-tuning prompts for Gemini 1.5 Pro to generate high-quality, contextually relevant banner descriptions. Initially, our prompts resulted in generic or misaligned outputs. We addressed this by implementing a structured prompt template, adding specific details about product placement, lighting, and themes, and using few-shot learning with successful examples. This iterative process significantly improved the quality and relevance of our generated content.
Integration with Imagen3 API
Handling rate limits and optimizing response times with the Imagen3 API was another challenge. We resolved this by implementing an efficient queuing system to manage requests, caching frequently used elements to reduce API calls, and developing a fallback mechanism for API downtimes. These measures improved the speed and reliability of banner generation.
Image Editing Performance
Our initial image editor, particularly the inpainting feature, was computationally intensive, causing performance issues on lower-end devices. We optimized our algorithms for efficiency, implemented progressive loading for high-resolution edits, and added client-side caching of edit history to reduce server load. These optimizations led to a smoother editing experience across all devices.
Bounding box
Algorithm for replacing only the product part of AI generated image with disturbing the background and aesthetics
Tracks Applied (1)