- 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.
Implement motivator generation feature for ad creation
- 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 visual style display to ad details and update API types
- Enhanced the AdDetailPage to display the visual style of ads if available, improving user experience.
- Updated the AdCreativeDB interface to include an optional visual_style property for better data representation.
- Modified the generator service to incorporate visual style in metadata during ad generation, ensuring consistency across the application.
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.
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.
Initial commit of the Ad Generator Lite project, including backend services, frontend components, and configuration files. Added core functionalities for ad generation, user management, and image processing, along with a structured matrix system for ad testing.