1.6 KiB
1.6 KiB
ADDED Requirements
Requirement: Pass Local Image Extension Parameters
The system SHALL pass common local image runtime parameters through generic OpenAI-compatible image generation requests.
Scenario: Local image request includes advanced parameters
- GIVEN an image generation request includes
negative_prompt,steps,cfg_scale, orseed - AND the selected binding uses
openai.image.basic-json - WHEN the image adapter sends
/images/generations - THEN the request body SHALL include those parameters alongside
model,prompt, andsize
Requirement: Keep Generated Local Images In Existing Results Flow
The system SHALL handle local image generation results using the existing task and media result flow.
Scenario: Local provider returns image data
- GIVEN a local OpenAI-compatible image service returns image URLs or base64 image data
- WHEN the image task completes
- THEN the task result SHALL be normalized like online provider image results
- AND the image SHALL remain eligible for canvas insertion and media library reuse
Requirement: Apply Installed Local Image Models From Model Center
The system SHALL allow installed local image model assets to be applied as the default image generation model.
Scenario: User applies local image model
- GIVEN a local image model asset is installed in Model Center
- WHEN the user selects "apply to image generation"
- THEN the system SHALL create or update a no-auth OpenAI-compatible local image provider profile
- AND add the model to that provider catalog
- AND set the active image invocation route to that model