Initial TrueGrowth source import

This commit is contained in:
2026-07-07 09:36:36 +08:00
commit 3b6781d695
2283 changed files with 691996 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# Change: Add local image provider support
## Why
TrueGrowth already supports online provider profiles for image generation, but users also need locally running OpenAI-compatible image services to appear in the same model selector and canvas generation flow.
## What Changes
- Add a local image provider template for OpenAI-compatible `/v1/models` and `/v1/images/generations` services.
- Allow local provider discovery and invocation without an API key.
- Route local image models through the existing generic OpenAI-compatible image adapter.
- Extend Model Center with a dedicated image category, official model entries, local install/import state, realtime `/v1/models` status, and an "apply to image generation" action.
- Document recommended local runtimes and model choices without introducing ComfyUI in this change.
## Impact
- Affected specs: runtime-model-discovery, provider-routing, image-generation
- Affected code: provider settings dialog, provider profile normalization, runtime model discovery, provider transport, generic image adapter request body, local runtime model assets, Model Center UI