Skip to content

Commit 606e53d

Browse files
committed
Add new AI models and update existing model implementations
New models: - GPT Image 1.5 (OpenAI) - generation only, with masked API key input - Nano Banana Pro (Google Gemini 3 Pro) - generation and editing - Qwen Image - generation with img2img support Updated models: - Nano Banana: Updated to full release (Gemini 2.5 Flash Image), removed "Preview" designation, updated description - Seedream: Upgraded to version 4.5 with stronger spatial understanding - Renamed imagen4.py → imagen.py, seedream4.py → seedream.py, stable_diffusion_3_5_large_turbo.py → stable_diffusion_large_turbo.py Features: - Added is_secret parameter to ParameterDefinition for password fields - OpenAI API key field now displays masked input (••••) Translations: - All 10 locale files updated with 171 translated messages each - Added translations for all new model strings - Updated Nano Banana strings across all languages Documentation: - README updated with all new model specifications and capabilities
1 parent 136f929 commit 606e53d

25 files changed

+4594
-1465
lines changed

README.md

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Dream Prompter - GIMP Plugin
22

3-
Dream Prompter brings powerful AI models from Replicate directly into GIMP for intelligent image generation and editing. Choose from multiple advanced models including Flux 2 Pro, Imagen 4, Nano Banana, Qwen Image Edit Plus, Seedream 4, and Stable Diffusion 3.5 Large Turbo.
3+
Dream Prompter brings powerful AI models from Replicate directly into GIMP for intelligent image generation and editing. Choose from multiple advanced models including Flux 2 Pro, GPT Image 1.5, Imagen 4, Nano Banana, Nano Banana Pro, Qwen Image, Qwen Image Edit Plus, Seedream 4.5, and Stable Diffusion 3.5 Large Turbo.
44

55
![Dream Prompter](screenshots/dream-prompter.png)
66

77
## Features
88

99
- 🎨 **AI Image Generation**: Create new images from text descriptions
1010
-**AI Image Editing**: Transform existing images with natural language prompts
11-
- 🤖 **Multiple AI Models**: Choose from Flux 2 Pro, Imagen 4, Nano Banana, Qwen Image Edit Plus, Seedream 4, and Stable Diffusion 3.5 Large Turbo
11+
- 🤖 **Multiple AI Models**: Choose from Flux 2 Pro, GPT Image 1.5, Imagen 4, Nano Banana, Nano Banana Pro, Qwen Image, Qwen Image Edit Plus, Seedream 4.5, and Stable Diffusion 3.5 Large Turbo
1212
- 🖼️ **Reference Images**: Support for multiple reference images (varies by model)
1313
- 🔄 **Smart Layer Management**: Automatically creates properly named layers
1414
- 🎯 **Dual Operation Modes**: Seamlessly switch between editing and generation
@@ -125,11 +125,14 @@ yay -S dream-prompter
125125
│ ├── __init__.py
126126
│ ├── factory.py
127127
│ ├── flux_pro.py
128-
│ ├── imagen4.py
128+
│ ├── gpt_image.py
129+
│ ├── imagen.py
129130
│ ├── nano_banana.py
131+
│ ├── nano_banana_pro.py
132+
│ ├── qwen_image.py
130133
│ ├── qwen_image_edit_plus.py
131-
│ ├── seedream4.py
132-
│ └── stable_diffusion_3_5_large_turbo.py
134+
│ ├── seedream.py
135+
│ └── stable_diffusion_large_turbo.py
133136
└── locale/ (optional)
134137
└── ...
135138
```
@@ -243,6 +246,14 @@ If you get the **"replicate not installed"** error on Windows:
243246
- **Special Features**: Excellent text rendering, photorealism, character consistency, up to 4MP resolution
244247
- **More Info**: [Replicate Model Page](https://replicate.com/black-forest-labs/flux-2-pro)
245248

249+
**GPT Image 1.5** (`openai/gpt-image-1.5`) - OpenAI's advanced image generation model:
250+
251+
- **Capabilities**: Generation only
252+
- **Reference Images**: Up to 10 for generation
253+
- **File Size**: Maximum 10MB per image
254+
- **Formats**: PNG, JPEG, WebP
255+
- **Special Features**: Transparent backgrounds, quality control, input fidelity options
256+
246257
**Imagen 4** (`google/imagen-4`) - Google's advanced image generation model:
247258

248259
- **Capabilities**: Generation only
@@ -251,12 +262,29 @@ If you get the **"replicate not installed"** error on Windows:
251262
- **Formats**: PNG, JPEG
252263
- **Special Features**: Advanced safety filtering, high-quality generation
253264

254-
**Nano Banana** (`google/nano-banana`) - Google's Gemini 2.5 Flash Image Preview:
265+
**Nano Banana** (`google/nano-banana`) - Google's Gemini 2.5 Flash Image model for fast, conversational workflows:
255266

256267
- **Capabilities**: Both generation and editing
257268
- **Reference Images**: Up to 10 for generation, 9 for editing
258269
- **File Size**: Maximum 7MB per image
259270
- **Formats**: PNG, JPEG, WebP
271+
- **Special Features**: Character consistency, multi-image fusion, conversational editing, native image understanding
272+
273+
**Nano Banana Pro** (`google/nano-banana-pro`) - Google's Gemini 3 Pro state of the art model:
274+
275+
- **Capabilities**: Both generation and editing
276+
- **Reference Images**: Up to 14 for generation, 13 for editing
277+
- **File Size**: Maximum 10MB per image
278+
- **Formats**: PNG, JPEG, WebP
279+
- **Special Features**: 4K resolution, accurate text rendering, multi-image fusion, real-time Google Search integration
280+
281+
**Qwen Image** (`qwen/qwen-image`) - Qwen's advanced image generation model:
282+
283+
- **Capabilities**: Generation only
284+
- **Reference Images**: Up to 1 for img2img
285+
- **File Size**: Maximum 10MB per image
286+
- **Formats**: PNG, JPEG, WebP
287+
- **Special Features**: Guidance control, prompt enhancement, LoRA support
260288

261289
**Qwen Image Edit Plus** (`qwen/qwen-image-edit-plus`) - Qwen's advanced image editing model:
262290

@@ -266,13 +294,13 @@ If you get the **"replicate not installed"** error on Windows:
266294
- **Formats**: PNG, JPEG, WebP, GIF
267295
- **Special Features**: Specialized for image editing and transformation
268296

269-
**Seedream 4** (`bytedance/seedream-4`) - ByteDance's unified generation and editing model:
297+
**Seedream 4.5** (`bytedance/seedream-4.5`) - ByteDance's upgraded image model with stronger spatial understanding:
270298

271299
- **Capabilities**: Both generation and editing
272-
- **Reference Images**: Up to 10 for generation, 9 for editing
300+
- **Reference Images**: Up to 14 for generation, 13 for editing
273301
- **File Size**: Maximum 10MB per image
274302
- **Formats**: PNG, JPEG, WebP
275-
- **Special Features**: 4K resolution support, unified architecture
303+
- **Special Features**: 4K resolution support, enhanced prompt option, improved spatial understanding and world knowledge
276304

277305
**Stable Diffusion 3.5 Large Turbo** (`stability-ai/stable-diffusion-3.5-large-turbo`) - Stability AI's high-resolution image generation model:
278306

@@ -380,10 +408,14 @@ The plugin is organized into focused modules with a clean model-driven architect
380408
- **`models/__init__.py`** - Base model classes and registry system
381409
- **`models/factory.py`** - Model factory for centralized model management
382410
- **`models/flux_pro.py`** - Flux 2 Pro model implementation
383-
- **`models/imagen4.py`** - Imagen 4 model implementation
411+
- **`models/gpt_image.py`** - GPT Image 1.5 model implementation
412+
- **`models/imagen.py`** - Imagen 4 model implementation
384413
- **`models/nano_banana.py`** - Nano Banana model implementation
414+
- **`models/nano_banana_pro.py`** - Nano Banana Pro model implementation
415+
- **`models/qwen_image.py`** - Qwen Image model implementation
385416
- **`models/qwen_image_edit_plus.py`** - Qwen Image Edit Plus model implementation
386-
- **`models/seedream4.py`** - Seedream 4 model implementation
417+
- **`models/seedream.py`** - Seedream 4.5 model implementation
418+
- **`models/stable_diffusion_large_turbo.py`** - Stable Diffusion 3.5 Large Turbo model implementation
387419

388420
The model system provides a clean abstraction for AI models, making it easy to:
389421

@@ -504,4 +536,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
504536

505537
## Credits
506538

507-
Built with Replicate's API providing access to multiple advanced AI models including Black Forest Labs' Flux 2 Pro, Google's Imagen 4, Google's Nano Banana, Qwen's Image Edit Plus, ByteDance's Seedream 4, and Stability AI's Stable Diffusion 3.5 Large Turbo.
539+
Built with Replicate's API providing access to multiple advanced AI models including Black Forest Labs' Flux 2 Pro, OpenAI's GPT Image 1.5, Google's Imagen 4, Google's Nano Banana, Google's Nano Banana Pro, Qwen's Image, Qwen's Image Edit Plus, ByteDance's Seedream 4.5, and Stability AI's Stable Diffusion 3.5 Large Turbo.

dialog_gtk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,9 @@ def _create_parameter_widget(self, param_def, current_value):
631631
else str(param_def.default_value)
632632
)
633633
widget.set_text(text_value)
634+
if param_def.is_secret:
635+
widget.set_visibility(False)
636+
widget.set_input_purpose(Gtk.InputPurpose.PASSWORD)
634637
widget.connect(
635638
"changed", self._on_parameter_changed, param_def.name
636639
)

dream-prompter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ def do_create_procedure(self, name):
4646
_(
4747
"Transform existing images or generate new images using "
4848
"advanced AI models from Replicate with natural language "
49-
"prompts. Choose from multiple models including Imagen 4, "
50-
"Nano Banana, Qwen Image Edit Plus, Seedream 4, and "
49+
"prompts. Choose from multiple models including "
50+
"GPT Image 1.5, Imagen 4, Nano Banana, Nano Banana Pro, "
51+
"Qwen Image, Qwen Image Edit Plus, Seedream 4.5, and "
5152
"Stable Diffusion 3.5 Large Turbo."
5253
),
5354
name,

0 commit comments

Comments
 (0)