30 lines
1.7 KiB
Markdown
30 lines
1.7 KiB
Markdown
## ADDED Requirements
|
|
### Requirement: Discover Local Image Providers Without API Key
|
|
The system SHALL allow a local image provider profile to discover models from an OpenAI-compatible `/v1/models` endpoint without requiring an API key.
|
|
|
|
#### Scenario: Local provider has no API key
|
|
- **GIVEN** a provider profile is configured for a local OpenAI-compatible image service
|
|
- **AND** the profile uses no authentication
|
|
- **WHEN** the user discovers runtime models
|
|
- **THEN** the system SHALL request `/v1/models` without an Authorization header
|
|
- **AND** discovered image models SHALL be available for selection
|
|
|
|
### Requirement: Provide Local Image Provider Defaults
|
|
The system SHALL provide a local image provider template with defaults suitable for OpenAI-compatible local image runtimes.
|
|
|
|
#### Scenario: User creates local image provider
|
|
- **WHEN** the user adds a local image provider
|
|
- **THEN** the profile SHALL default to `http://127.0.0.1:8080/v1`
|
|
- **AND** use no authentication
|
|
- **AND** enable image generation and model discovery capabilities
|
|
- **AND** use OpenAI-compatible basic image compatibility
|
|
|
|
### Requirement: Surface Local Image Models In Model Center
|
|
The system SHALL expose local image model assets in Model Center with install state and live service information.
|
|
|
|
#### Scenario: User views image models
|
|
- **WHEN** the user opens Model Center
|
|
- **THEN** official local image model entries SHALL be available under an image category
|
|
- **AND** each entry SHALL show license, recommended runtime, model ID, and provider base URL where available
|
|
- **AND** installed image models SHALL be matched against the local `/v1/models` response to indicate whether the model is loaded by the running service
|