Skip to content

Conversation

@ibehren1
Copy link
Contributor

@ibehren1 ibehren1 commented Dec 17, 2025

Add Image Generator Page

Summary

Adds a dedicated Image Generator page for text-to-image generation using Amazon Bedrock image models.

Changes

New Features

  • Image Generator Page (/image-generator) - New standalone page for generating images from text prompts

    • Text prompt and negative prompt inputs
    • Model selection dropdown (filtered by AWS region)
    • Image size dropdown with pixel dimensions:
      • 1024×1024, 512×512 (1:1)
      • 1024×576, 1280×720 (16:9)
      • 576×1024, 720×1280 (9:16)
      • 1024×768 (4:3), 768×1024 (3:4)
      • 1152×768 (3:2), 768×1152 (2:3)
    • Output format selection (PNG, JPEG, WebP)
    • Image history with recent generations
    • Keyboard shortcut (⌘+Enter) to generate
  • Settings Integration - Added Image Generation section to Settings page for configuring default model

Model Updates

  • Updated IMAGE_GENERATION_MODELS to include only models with TEXT input and IMAGE output modalities:
    • Amazon: Nova Canvas, Titan Image Generator v1, Titan Image Generator v2
    • Stability AI: Stable Diffusion 3.5 Large, Stable Image Core, Stable Image Ultra

Files Changed

  • src/renderer/src/pages/ImageGeneratorPage/ImageGeneratorPage.tsx (new)
  • src/renderer/src/pages/SettingPage/components/sections/ImageGenerationSection.tsx (new)
  • src/renderer/src/i18n/locales/imageGenerator/index.ts (new)
  • src/common/models/models.ts (updated)
  • src/renderer/src/routes.tsx (updated)
  • src/renderer/src/pages/SettingPage/SettingPage.tsx (updated)

Testing

  • TypeScript compilation passes
  • All unit tests pass (261 tests)
  • Mac build successful

- Add new ImageGeneratorPage with text-to-image generation UI
- Add model dropdown with region-filtered image generation models
- Add image size dropdown with pixel dimensions (1024x1024, 512x512, etc.)
- Add ImageGenerationSection to Settings page for default model config
- Update IMAGE_GENERATION_MODELS to include only TEXT->IMAGE models:
  - Amazon: Nova Canvas, Titan Image Generator v1/v2
  - Stability: SD3.5 Large, Stable Image Core, Stable Image Ultra
- Add i18n translations for image generator feature
- Add route for /image-generator page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant