Skip to content

Commit e126e0b

Browse files
3.26.2 (#325)
* 3.26.2 * feat: restore 'image-generation' feature in sidebars configuration
1 parent 342fcdc commit e126e0b

File tree

6 files changed

+216
-1
lines changed

6 files changed

+216
-1
lines changed

docs/features/experimental/experimental-features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The following experimental features are currently available:
3535
- [Concurrent File Edits](/features/experimental/concurrent-file-edits) - Edit multiple files in a single operation
3636
- [Power Steering](/features/experimental/power-steering) - Enhanced consistency in AI responses
3737
- [Background Editing](/features/experimental/background-editing) - Work uninterrupted while Roo edits files in the background
38+
- [Image Generation](/features/image-generation) - Generate images from text prompts and save them to your workspace
3839

3940
---
4041

docs/features/image-generation.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
---
2+
description: Generate images from text prompts directly in Roo Code using OpenRouter API. Save AI-generated images to your workspace with preview support.
3+
keywords:
4+
- image generation
5+
- text to image
6+
- OpenRouter
7+
- AI images
8+
- experimental feature
9+
- image creation
10+
- prompt to image
11+
image: /img/social-share.jpg
12+
---
13+
14+
# Image Generation
15+
16+
Generate images from plain text prompts, save them to your project, and preview them in the chat. This experimental feature requires an OpenRouter API key.
17+
18+
:::warning Experimental Feature
19+
Image Generation is an experimental feature that requires enabling in settings and configuring an OpenRouter API key.
20+
:::
21+
22+
---
23+
24+
## Key Features
25+
26+
- Create images directly from chat using natural language
27+
- Saves to your workspace at a path you choose; file extension is auto-added if missing
28+
- Shows a preview of the generated image in the conversation
29+
- Choose an image generation model (via OpenRouter)
30+
- Simple on/off toggle under Experimental settings
31+
32+
---
33+
34+
## Use Case
35+
36+
**Before:** You had to copy prompts to an external site, download the result, then move it into your workspace.
37+
38+
**With this feature:** Ask Roo to generate an image, approve, pick a save location, and continue editing with the image already in your project.
39+
40+
---
41+
42+
## How It Works
43+
44+
When enabled, Roo sends your prompt to an image-capable model through OpenRouter. The image returned by OpenRouter is saved to the path you specify inside your current workspace. Roo shows a preview in the chat and the file appears in your file explorer.
45+
46+
---
47+
48+
## Requirements
49+
50+
- OpenRouter account and API key
51+
- Internet access
52+
- An open, writable workspace folder
53+
54+
---
55+
56+
## Configuration
57+
58+
### 1. Enable Image Generation (Experimental)
59+
- **Purpose:** Turns the feature on so Roo can create images on request
60+
- **Default:** Off
61+
- **Location:** Settings > Experimental
62+
63+
### 2. OpenRouter API Key
64+
- **Purpose:** Authorizes image generation requests
65+
- **Default:** Empty (required)
66+
- **Get your key:** [https://openrouter.ai/keys](https://openrouter.ai/keys)
67+
68+
### 3. Image Generation Model
69+
- **Purpose:** Selects which model to use for generation
70+
- **Default:** Gemini 2.5 Flash Image Preview (or the free preview variant)
71+
72+
---
73+
74+
## Using Image Generation
75+
76+
1. In chat, ask Roo to generate an image and describe what you want (subject, style, lighting, composition).
77+
2. Confirm the action when prompted. Roo may ask you to choose a save path (for example: `images/sunset.png`).
78+
3. Roo generates the image and saves it. If you don't include an extension, one is added automatically (png or jpg).
79+
4. See the image preview in the chat and locate the file in your workspace.
80+
81+
---
82+
83+
## Tips for Better Results
84+
85+
### Be Specific
86+
Include these elements in your prompts:
87+
- **Style:** artistic medium, art movement, or specific artist style
88+
- **Mood:** emotional tone, atmosphere
89+
- **Color palette:** specific colors or color schemes
90+
- **Camera/lighting:** angle, perspective, lighting conditions
91+
- **Aspect ratio:** dimensions or orientation
92+
93+
---
94+
95+
## Limitations
96+
97+
- Experimental feature; availability and model list are limited
98+
- One image is produced per request
99+
- Output formats supported: PNG or JPG
100+
- Usage may be subject to your OpenRouter plan limits and costs
101+
102+
---
103+
104+
## Status
105+
106+
This feature is experimental and may change or be removed in future versions. Provide feedback through [GitHub Issues](https://github.com/RooCodeInc/Roo-Code/issues).

docs/update-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ image: /img/social-share.jpg
1919

2020
### Version 3.26
2121

22+
* [3.26.2](/update-notes/v3.26.2) (2025-08-28)
2223
* [3.26.1](/update-notes/v3.26.1) (2025-08-27)
2324
* [3.26.0](/update-notes/v3.26.0) (2025-08-26)
2425

docs/update-notes/v3.26.2.mdx

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
description: Adds built-in image generation (OpenRouter), a free Gemini preview option, GPT-5 usage without BYOK rate limit blockers, plus QOL improvements and fixes.
3+
keywords:
4+
- roo code 3.26.2
5+
- release notes
6+
- image generation
7+
- openrouter
8+
- gemini 2.5 flash image preview
9+
- free image generation
10+
- prompt to image
11+
- image viewer
12+
- approvals flow
13+
- gpt-5
14+
- rate limits
15+
- byok
16+
- openai provider
17+
- model picker
18+
- input modalities
19+
- output modalities
20+
- provider updates
21+
- qol improvements
22+
- bug fixes
23+
- release automation
24+
- taskspawned event
25+
image: /img/social-share.jpg
26+
---
27+
28+
# Roo Code 3.26.2 Release Notes (2025-08-28)
29+
30+
This release adds integrated image generation, a free Gemini image preview option, improved GPT-5 availability without BYOK rate limit blockers, and multiple quality-of-life improvements and fixes.
31+
32+
## Image Generation (OpenRouter) — Free option: Gemini 2.5 Flash Image Preview
33+
34+
Generate images from natural‑language prompts directly inside Roo Code using OpenRouter’s image generation models. Configure your OpenRouter API key, pick a supported model, and preview results in the built‑in Image Viewer. See [Image Generation](/features/image-generation) and [OpenRouter Provider](/providers/openrouter) for setup and model selection.
35+
36+
- **Free option available: Gemini 2.5 Flash Image Preview** — try image generation without paid credits for faster onboarding and quick experiments
37+
- Prompt‑to‑image workflow inside the editor with approvals flow (supports auto‑approval when write permissions are granted)
38+
- Image Viewer with zoom, copy, and save for quick reuse in docs and prototypes
39+
40+
PRs: [#7474](https://github.com/RooCodeInc/Roo-Code/pull/7474), [#7492](https://github.com/RooCodeInc/Roo-Code/pull/7492), [#7493](https://github.com/RooCodeInc/Roo-Code/pull/7493)
41+
42+
43+
## GPT-5 usage without BYOK rate limit blockers
44+
45+
If you’re being rate limited with GPT‑5, you can now use GPT‑5 models without bringing your own key. This improves availability and reduces interruptions during development. See [OpenAI Provider](/providers/openai) for model support and guidance.
46+
47+
48+
## QOL Improvements
49+
50+
- Improved padding and click targets in the image model picker for easier selection and fewer misclicks. (#[7494](https://github.com/RooCodeInc/Roo-Code/pull/7494))
51+
- Generic default filename for saved images (e.g., `img_<timestamp>`) instead of `mermaid_diagram_<timestamp>`. (#[7479](https://github.com/RooCodeInc/Roo-Code/pull/7479))
52+
53+
## Bug Fixes
54+
55+
- ImageGenerationSettings no longer shows a dirty state on first open; the save button only enables after an actual change. (#[7495](https://github.com/RooCodeInc/Roo-Code/pull/7495))
56+
- GPT‑5 reliability improvements:
57+
- Manual condense preserves conversation continuity by correctly handling `previous_response_id` on the next request
58+
- Image inputs work reliably with structured text+image payloads
59+
- Temperature control is shown only for models that support it
60+
- Fewer GPT‑5–specific errors with updated provider definitions and SDK (thanks nlbuescher!)
61+
62+
(#[7067](https://github.com/RooCodeInc/Roo-Code/pull/7067))
63+
64+
65+
## Misc Improvements
66+
67+
- Release automation: version bumps, changelog updates, and auto-publishing on merge for a faster, more reliable release process. (#[7490](https://github.com/RooCodeInc/Roo-Code/pull/7490))
68+
- New TaskSpawned developer event so integrations can detect when a subtask is created and capture its ID for chaining or monitoring. (#[7465](https://github.com/RooCodeInc/Roo-Code/pull/7465))
69+
- Roo Code Cloud SDK bumped to 0.25.0. (#[7475](https://github.com/RooCodeInc/Roo-Code/pull/7475))

docs/update-notes/v3.26.mdx

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ We've added Vercel AI Gateway as a complete provider integration (thanks joshual
6767

6868
> **📚 Documentation**: See [Vercel AI Gateway](/providers/vercel-ai-gateway) for detailed setup instructions.
6969
70+
### Image Generation (OpenRouter) — Free option: Gemini 2.5 Flash Image Preview
71+
72+
Generate images from natural‑language prompts directly inside Roo Code using OpenRouter’s image generation models. Configure your OpenRouter API key, pick a supported model, and preview results in the built‑in Image Viewer. See [Image Generation](/features/image-generation) and [OpenRouter Provider](/providers/openrouter) for setup and model selection.
73+
74+
- **Free option available: Gemini 2.5 Flash Image Preview** — try image generation without paid credits for faster onboarding and quick experiments
75+
- Prompt‑to‑image workflow inside the editor with approvals flow (supports auto‑approval when write permissions are granted)
76+
- Image Viewer with zoom, copy, and save for quick reuse in docs and prototypes
77+
78+
PRs: [#7474](https://github.com/RooCodeInc/Roo-Code/pull/7474), [#7492](https://github.com/RooCodeInc/Roo-Code/pull/7492), [#7493](https://github.com/RooCodeInc/Roo-Code/pull/7493)
79+
7080
### Provider Updates
7181

7282
* **DeepSeek V3.1 on Fireworks**: Added support for DeepSeek V3.1 model in the Fireworks AI provider (thanks dmarkey!) ([#7375](https://github.com/RooCodeInc/Roo-Code/pull/7375))
@@ -82,6 +92,10 @@ We've added Vercel AI Gateway as a complete provider integration (thanks joshual
8292
* **Model ID Visibility**: API configuration dropdown now shows model IDs alongside profile names for easier identification ([#7423](https://github.com/RooCodeInc/Roo-Code/pull/7423))
8393
* **Chat UI Cleanup**: Improved consistency in chat input controls and fixed tooltip behavior ([#7436](https://github.com/RooCodeInc/Roo-Code/pull/7436))
8494
* **Clearer Task Headers**: Removed duplicate cache display in task headers to eliminate confusion ([#7443](https://github.com/RooCodeInc/Roo-Code/pull/7443))
95+
* Improved padding and click targets in the image model picker for easier selection and fewer misclicks. (#[7494](https://github.com/RooCodeInc/Roo-Code/pull/7494))
96+
* Generic default filename for saved images (e.g., `img_<timestamp>`) instead of `mermaid_diagram_<timestamp>`. (#[7479](https://github.com/RooCodeInc/Roo-Code/pull/7479))
97+
* Improved padding and click targets in the image model picker for easier selection and fewer misclicks. (#[7494](https://github.com/RooCodeInc/Roo-Code/pull/7494))
98+
* Generic default filename for saved images (e.g., `img_<timestamp>`) instead of `mermaid_diagram_<timestamp>`. (#[7479](https://github.com/RooCodeInc/Roo-Code/pull/7479))
8599

86100
### Bug Fixes
87101

@@ -92,9 +106,31 @@ We've added Vercel AI Gateway as a complete provider integration (thanks joshual
92106
* **Mistral Thinking Content**: Fixed validation errors when using Mistral models that send thinking content (thanks Biotrioo!) ([#7106](https://github.com/RooCodeInc/Roo-Code/pull/7106))
93107
* **Requesty Model Listing**: Fixed model listing for Requesty provider when using custom base URLs (thanks dtrugman!) ([#7378](https://github.com/RooCodeInc/Roo-Code/pull/7378))
94108
* **Todo List Setting**: Fixed newTaskRequireTodos setting to properly enforce todo list requirements ([#7363](https://github.com/RooCodeInc/Roo-Code/pull/7363))
109+
* ImageGenerationSettings no longer shows a dirty state on first open; the save button only enables after an actual change. (#[7495](https://github.com/RooCodeInc/Roo-Code/pull/7495))
110+
* GPT‑5 reliability improvements:
111+
- Manual condense preserves conversation continuity by correctly handling `previous_response_id` on the next request
112+
- Image inputs work reliably with structured text+image payloads
113+
- Temperature control is shown only for models that support it
114+
- Fewer GPT‑5–specific errors with updated provider definitions and SDK (thanks nlbuescher!)
115+
116+
(#[7067](https://github.com/RooCodeInc/Roo-Code/pull/7067))
117+
* ImageGenerationSettings no longer shows a dirty state on first open; the save button only enables after an actual change. (#[7495](https://github.com/RooCodeInc/Roo-Code/pull/7495))
118+
* GPT‑5 reliability improvements:
119+
- Manual condense preserves conversation continuity by correctly handling `previous_response_id` on the next request
120+
- Image inputs work reliably with structured text+image payloads
121+
- Temperature control is shown only for models that support it
122+
- Fewer GPT‑5–specific errors with updated provider definitions and SDK (thanks nlbuescher!)
123+
124+
(#[7067](https://github.com/RooCodeInc/Roo-Code/pull/7067))
95125

96126
### Misc Improvements
97127

98128
* **Issue Fixer Mode**: Added missing todos parameter in new_task tool usage ([#7391](https://github.com/RooCodeInc/Roo-Code/pull/7391))
99129
* **Privacy Policy Update**: Updated privacy policy to clarify proxy mode data handling (thanks jdilla1277!) ([#7255](https://github.com/RooCodeInc/Roo-Code/pull/7255))
100-
* **Dependencies**: Updated drizzle-kit to v0.31.4 ([#5453](https://github.com/RooCodeInc/Roo-Code/pull/5453))
130+
* **Dependencies**: Updated drizzle-kit to v0.31.4 ([#5453](https://github.com/RooCodeInc/Roo-Code/pull/5453))
131+
* Release automation: version bumps, changelog updates, and auto-publishing on merge for a faster, more reliable release process. (#[7490](https://github.com/RooCodeInc/Roo-Code/pull/7490))
132+
* New TaskSpawned developer event so integrations can detect when a subtask is created and capture its ID for chaining or monitoring. (#[7465](https://github.com/RooCodeInc/Roo-Code/pull/7465))
133+
* Roo Code Cloud SDK bumped to 0.25.0. (#[7475](https://github.com/RooCodeInc/Roo-Code/pull/7475))
134+
* Release automation: version bumps, changelog updates, and auto-publishing on merge for a faster, more reliable release process. (#[7490](https://github.com/RooCodeInc/Roo-Code/pull/7490))
135+
* New TaskSpawned developer event so integrations can detect when a subtask is created and capture its ID for chaining or monitoring. (#[7465](https://github.com/RooCodeInc/Roo-Code/pull/7465))
136+
* Roo Code Cloud SDK bumped to 0.25.0. (#[7475](https://github.com/RooCodeInc/Roo-Code/pull/7475))

sidebars.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ const sidebars: SidebarsConfig = {
106106
'features/experimental/concurrent-file-edits',
107107
'features/experimental/power-steering',
108108
'features/experimental/background-editing',
109+
'features/image-generation',
109110
],
110111
},
111112
'features/more-features',
@@ -216,6 +217,7 @@ const sidebars: SidebarsConfig = {
216217
label: '3.26',
217218
items: [
218219
{ type: 'doc', id: 'update-notes/v3.26', label: '3.26 Combined' },
220+
{ type: 'doc', id: 'update-notes/v3.26.2', label: '3.26.2' },
219221
{ type: 'doc', id: 'update-notes/v3.26.1', label: '3.26.1' },
220222
{ type: 'doc', id: 'update-notes/v3.26.0', label: '3.26.0' },
221223
],

0 commit comments

Comments
 (0)