today_ai_weather/config
songtianlun ab50ed3036 feat: add support for multiple image generation models
- Introduced constant MODELS for managing model names.
- Updated the `generate_image` method to switch between FLUX and DALL-E 3.
- Added `generate_image_dalle` and `generate_image_flux` methods for respective API calls.
- Enhanced prompts for image generation across both models, ensuring correct message construction.

This update enables users to generate images using different AI models dynamically, allowing for flexible integration and improved user experience. The handling of errors now falls back to the DALL-E model if the FLUX API fails.
2025-04-10 12:00:57 +08:00
..
environments refactor: update AWS S3 credentials configuration 2025-03-16 00:13:37 +08:00
initializers refactor: comment out startup task scheduling code 2025-04-09 16:14:22 +08:00
locales feat: add multilingual metadata for TodayAIWeather 2025-04-08 17:15:57 +08:00
application.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
boot.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
cable.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
cache.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
credentials.yml.enc feat: add support for multiple image generation models 2025-04-10 12:00:57 +08:00
database.yml fix: improve database URL configuration 2025-02-11 17:01:13 +08:00
deploy.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
environment.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
puma.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
queue.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
recurring.yml init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
routes.rb refactor: remove key verification controller and update routes 2025-04-08 14:42:56 +08:00
schedule.rb feat: add background job processing with Sidekiq 2025-01-22 17:58:25 +08:00
sidekiq_scheduler.yml chore: update sidekiq scheduler description 2025-04-08 15:15:33 +08:00
sitemap.rb refactor: update AWS S3 credentials configuration 2025-03-16 00:13:37 +08:00
storage.yml refactor: update AWS S3 credentials configuration 2025-03-16 00:13:37 +08:00