Icon

Image generation and editing with GenAI

<p><strong>Image generation and editing with GenAI</strong></p><p>This workflow leverages OpenAI's vision model (GPT Image-1) to assist an interior design with the creation and editing of photorealistic visualizations for room restyling.</p><ul><li><p>The workflow beings by specifying a target room (e.g., private office) and a list of essential furniture items that must remain unchanged. A base image of the room is generated to reflect its current state.</p></li><li><p>Then, using parameterized prompts, the vision model produces three stylistically distinct reinterpretations (e.g., minimalist, industrial, bohemian) by editing only decorative elements, accessories, or layout—preserving the original furniture.</p></li><li><p>Each resulting image is saved with a style-specific filename (e.g., <em>minimalist.png</em>) and all outputs are displayed side by side in a table for easy comparison.</p></li></ul><p></p><p><strong>Note: </strong>Generating and editing images is <strong>significantly more expensive</strong> than text generation. Please refer to OpenAI Docs for more details on how the costs are calculated.</p>

Image generation and editing with GenAI

This workflow leverages OpenAI's vision model (GPT Image-1) to assist an interior design with the creation and editing of photorealistic visualizations for room restyling.

  • The workflow beings by specifying a target room (e.g., private office) and a list of essential furniture items that must remain unchanged. A base image of the room is generated to reflect its current state.

  • Then, using parameterized prompts, the vision model produces three stylistically distinct reinterpretations (e.g., minimalist, industrial, bohemian) by editing only decorative elements, accessories, or layout—preserving the original furniture.

  • Each resulting image is saved with a style-specific filename (e.g., minimalist.png) and all outputs are displayed side by side in a table for easy comparison.

Note: Generating and editing images is significantly more expensive than text generation. Please refer to OpenAI Docs for more details on how the costs are calculated.

OpenAI Authenticator
Pass prompt for eachstyle...
Table Row to Variable Loop Start
Table Transposer
View editedrooms
Table View
Generate simpleroom
OpenAI Image Generator
GroupBy
Table Row to Variable
Filter missing value
Row Filter
Prompt togenerate room
Expression
Style to RowID
RowID
Prompt toedit roomaccording to different styles
Expression
Image Writer (Table)
OpenAI APikey
Credentials Configuration
Image to Table
Image to Table
Save edited images
Image Writer (Table)
Room, list of pieces offurniture, styles
Table Creator
Generate variationsof the room
OpenAI Image Generator
...collect editedimages
Loop End
Keep onlyimages
Column Filter

Nodes

Extensions

Links