Added seedImage to inputs in imageInference#317
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
There was a problem hiding this comment.
Pull request overview
This PR extends the image inference request input schema to include an optional seedImage under inputs, and ensures that nested inputs.seedImage is processed through the SDK’s media normalization path prior to request submission.
Changes:
- Added
seedImagetoIInputs. - Added
_process_mediahandling forrequestImage.inputs.seedImagein_imageInference.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
runware/types.py |
Extends IInputs with a new seedImage field. |
runware/base.py |
Processes inputs.seedImage via _process_media before building/sending the request. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added
IInputsnow includes:seedImage: Optional[Union[str, File]]Changed
imageInferencenow processesinputs.seedImagevia_process_mediabefore sending the request