- Updated API endpoints to include optional parameters for trending topics in ad generation requests.
- Added new endpoint for bulk exporting ads as a ZIP file containing images and an Excel sheet.
- Implemented trend monitoring service to fetch relevant news articles for specified niches.
- Enhanced validation schemas to accommodate new parameters for trending topics.
- Updated generator service to incorporate trending context into ad copy generation.
- Created export service for handling bulk ad exports, including image downloads and Excel file creation.
- Added caching mechanism for trending topics to optimize performance.
feat: Enhance AI image generation prompts for natural, photorealistic advertising creatives by enriching context and refining modification instructions.
- Added a new MotivatorGenerateRequest model and corresponding API endpoint to generate emotional motivators based on user-selected niche, angle, and concept.
- Integrated motivator generation into the ad creation workflow, allowing users to select motivators for enhanced ad targeting.
- Updated the frontend to support motivator generation, including state management for selecting and displaying generated motivators.
- Enhanced the generator service to incorporate motivators into ad copy and image prompts, ensuring a cohesive user experience.
- Refactored API types and endpoints to accommodate the new motivator generation functionality, maintaining type safety and consistency across the application.
- Introduced custom angle and concept fields in the MatrixGenerateRequest model, allowing users to provide personalized inputs for ad generation.
- Implemented a new RefineCustomRequest model and corresponding API endpoint to refine user-provided angles and concepts using AI, enhancing the ad generation process.
- Updated the frontend to support custom angle and concept inputs, including state management for refining these inputs and displaying refined results.
- Refactored the generator service to handle custom angles and concepts, ensuring proper integration with existing ad generation workflows.
- Enhanced type definitions and API endpoints to accommodate the new features, ensuring type safety and consistency across the application.
Enhance image regeneration process with preview and selection confirmation
- Added a preview_only option to the image regeneration API, allowing users to generate images without immediate database updates.
- Implemented a new ImageSelectionRequest model for confirming user selection between original and regenerated images.
- Updated the frontend RegenerationModal to include a comparison step, enabling users to choose their preferred image before saving.
- Enhanced API endpoints and types to support the new selection confirmation feature, ensuring a seamless user experience.
Implement image regeneration feature and update API endpoints
- Added a new API endpoint for regenerating images, allowing users to create new versions of existing ads with optional model selection.
- Introduced a frontend modal for image regeneration, enhancing user interaction and experience.
- Updated the API to list available image generation models, providing users with options for customization.
- Refactored data models and types to support the new regeneration functionality, ensuring type safety and consistency across the application.
- Enhanced the concepts framework by moving visual structure layouts to a separate file for better organization and clarity.
Add creative modifier endpoints and frontend components
- Introduced new API endpoints for uploading, analyzing, and modifying creative images, enhancing the creative workflow.
- Implemented frontend components for creative uploading, analysis display, and modification forms, allowing users to interactively modify creatives.
- Added type definitions for creative analysis and modification responses to ensure type safety across the application.
- Updated the header to include navigation to the new creative modification feature, improving user accessibility.
Enhance extensive ad generation with custom niche support
- Updated the ExtensiveGenerateRequest model to include an optional custom_niche field for enhanced flexibility in ad generation.
- Modified the generate_extensive function to validate custom niche input when 'others' is selected as the niche.
- Adjusted frontend components to accommodate the new custom_niche field, including validation in the ExtensiveForm and updates to the GeneratePage.
- Updated API endpoints to handle the new custom_niche parameter, ensuring seamless integration across the application.
Refactor extensive ad generation to support batch responses
- Updated the API endpoint to return all generated ads instead of just the first one, enhancing the batch generation feature.
- Modified the frontend components to handle and display batch results, including updates to the GeneratePage and ExtensiveForm for better user feedback.
- Changed variable names and comments for clarity, ensuring consistency in terminology related to ad images and variations.
- Improved error handling and logging in the generator service to accommodate the new batch processing logic.
Update ad generation features and enhance user input options
- Renamed project references from Ad Generator Lite to PsyAdGenesis, reflecting the new branding.
- Added optional fields for target audience and offer in ad generation requests to improve customization.
- Enhanced the GeneratePage and BatchForm components to include input fields for target audience and offer.
- Updated API endpoints to handle new parameters for ad generation and batch processing.
- Improved error handling and validation for new input fields to ensure robust user experience.
- Enhanced the ad creative generation logic to incorporate user-defined target audience and offer in the output.
Enhance image generation and logging features across frontend and backend
- Added verification and logging for generated images in GeneratePage and AdPreview components to improve user feedback and debugging.
- Updated API endpoint to ensure required parameters are always sent for image generation.
- Enhanced image generation logic in the generator service to support parallel processing and improved error handling.
Update frontend dependencies and enhance UI components for better user experience
- Updated Tailwind CSS version to 4.1.18 in package.json and package-lock.json.
- Introduced a reusable GradientBadge component for consistent styling across the application.
- Improved layout and typography in DashboardAdCard and AdCard components for better readability and interaction.
- Added loading states and error handling in new AnglesPage and ConceptsPage components.
- Enhanced progress components in the generation workflow to provide better user feedback during ad generation.