Skip to content

About

AI-assisted architectural visualization workflow for Rhino and design studios.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

AI Image Studio

AI Image Studio is a Rhinoceros 8 plugin/workflow that brings AI-assisted image generation into architectural visualization. Turn Rhino viewport captures into visualization drafts, variants, material studies and targeted edits without leaving the project context.

Status Platform Rhino

Home page — projects and generations gallery

Overview

AI Image Studio is a cross-platform Rhino 8 integration with a shared ASP.NET Core 8 backend and React 18 UI. The product uses platform-specific Rhino plug-in hosts:

  • Windows: .NET Framework 4.8 plug-in with WebView2 and COM host-object bridge.
  • macOS: .NET 8 plug-in with a backend-mediated HTTP bridge and browser-hosted UI.

Both platforms share the same backend, database models, API contracts, AI clients and React UI. The plug-in captures the active Rhino viewport, sends it to Google Gemini or fal.ai through a local proxy, and returns AI-assisted renders, variations and inpainted edits. OpenAI-branded image models are accessed through fal.ai routes, so the application stores only Gemini and fal.ai provider keys.

Captured Rhino viewport Reference-driven edit
Rhino viewport capture inside the plugin Mask + reference image workflow

Features

  • Text-to-Image / Image-to-Image — generate visualizations directly from a Rhino viewport (Gemini 3.1 Flash / Gemini 3 Pro).
  • Multi-Mask Inpainting — edit specific regions of an image with per-mask instructions, using a 2-image colored overlay pipeline.
  • Reference Images — upload up to 14 references (materials, style, objects) that drive the generation.
  • Pan (Move Camera) — generate consistent views of the same object from different camera angles (Qwen Multi-Angle).
  • Upscale to 4K — AI-enhanced upscaling with Topaz Labs models.
  • A/B Compare — built-in slider to compare Before/After (viewport vs generation, or two generations).
  • Display Mode Selector — capture in Viewport / Shaded / Rendered / Arctic / Ghosted / Pen modes without switching Rhino's display.
  • Generation Archive — soft-delete with restore + permanent delete, plus a global gallery on the home page.
  • Local-first — every project, generation and reference is stored on disk; API keys are encrypted in local OS/user storage and are never committed to config files.

A/B Compare with overlay opacity slider

Documentation

Full documentation lives in /docs. Polish version: docs/pl/.

Users

Engineers & reviewers

Tech Stack

Layer Stack
Windows Plugin .NET Framework 4.8, RhinoCommon, Eto.Forms, WebView2
macOS Plugin .NET 8, RhinoCommon, backend-mediated HTTP bridge
Backend ASP.NET Core 8.0, EF Core + SQLite, Data Protection, Minimal API
Frontend React 18, Vite 6, TypeScript 5.4, Tailwind CSS 3.4, Geist Mono
AI providers Google Gemini API, fal.ai (Seedream, GPT-Image, Qwen, Topaz)

Repository Layout

src/
├─ RhinoImageStudio.Backend/           # Shared ASP.NET Core backend and static UI host
├─ RhinoImageStudio.Backend.Tests/     # Unit tests (DisplayModeMapping, FalInputBuilder, …)
├─ RhinoImageStudio.Shared/            # Shared contracts, constants and enums
├─ RhinoImageStudio.UI/                # Shared React UI
├─ RhinoImageStudio.Plugin/            # Windows Rhino 8 plug-in (WebView2)
├─ RhinoImageStudio.Plugin.Mac/        # macOS Rhino 8 plug-in (HTTP bridge)
├─ RhinoImageStudio.Plugin.RhinoCommon/  # Shared RhinoCommon capture & bridge helpers
├─ RhinoImageStudio.sln                # Windows solution
└─ RhinoImageStudio.Mac.sln            # macOS solution

See Engineering documentation for module metrics and architecture narrative.

Quick Start: Windows Developers

# 1. Clone the repository
git clone <repo-url>
cd AI-Image-Studio

# 2. Build the frontend (React -> Backend/wwwroot)
cd src/RhinoImageStudio.UI
pnpm install
pnpm run build

# 3. Build backend and Windows plug-in
cd ..
dotnet build RhinoImageStudio.sln

Install the Windows plug-in in Rhino through PlugInManager:

build\Debug\net48\RhinoImageStudio.rhp

Then run the command registered by the plug-in:

ImageStudio

Quick Start: macOS Developers

cd AI-Image-Studio

# Build the shared React UI into Backend/wwwroot
cd src/RhinoImageStudio.UI
pnpm install
pnpm run build

# Build and install the macOS Rhino plug-in
cd ../..
DOTNET_BIN=/opt/homebrew/opt/dotnet@8/libexec/dotnet \
DOTNET_ROOT=/opt/homebrew/opt/dotnet@8/libexec \
PATH=/opt/homebrew/opt/dotnet@8/libexec:$PATH \
scripts/install-mac-plugin.sh

Start Rhino 8:

open -n "/Applications/Rhino 8.app" --args -nosplash

Run these commands in Rhino:

ImageStudioMacStatus
ImageStudioStartBackend
ImageStudioOpen

See Getting Started and macOS Plugin Setup for full setup, smoke tests and API key configuration.

CI and Release Targets

The repository is intended to stay single-source and cross-platform:

  • Windows CI builds src/RhinoImageStudio.sln.
  • macOS CI builds src/RhinoImageStudio.Mac.sln and validates the self-contained osx-arm64 backend publish.
  • Frontend CI builds src/RhinoImageStudio.UI and verifies that Backend/wwwroot is in sync.

Release packaging should produce separate artifacts from the same commit:

  • RhinoImageStudio-Windows.zip
  • RhinoImageStudio-macOS-arm64.zip

Security Notes

This repository is source-available for noncommercial use. Do not commit API keys, .env files, local appsettings*.json, SQLite databases, generated captures or private machine-specific configuration. Provider keys must be entered through the application settings UI and stored only in local encrypted storage.

See Security Policy for reporting and pre-merge checks.

License

AI Image Studio is licensed under the PolyForm Noncommercial License 1.0.0. Commercial use requires a separate written commercial license from Mateusz Bochyński.

Earlier public versions of the predecessor repository Bochyn/Rhino-8-Image-Studio were made available under the MIT License before 2026-06-19. This repository is source-available for noncommercial use. See LICENSE for details.

About

AI-assisted architectural visualization workflow for Rhino and design studios.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages