lllyasviel / lllyasviel/stable-diffusion-webui-forge

API /sdapi/v1/extra-single-image returns unchanged image (upscaler ignored)

Open
#3,123 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Environment
Forge (latest)
Windows
Endpoint: /sdapi/v1/extra-single-image
**Problem**

The Extras API does not perform any upscaling.

Request returns HTTP 200
Response contains a valid image
Output image is identical to input

No resizing, no processing, no error.

**Reproduction**

Request payload:

{
"image": "",
"resize_mode": 1,
"upscaling_resize": 2,
"upscaler_1": "Lanczos"
}

**Verification**
Input and output file size are identical
Image resolution does not change

**Expected Behavior**

Image should be upscaled according to upscaling_resize.

**Actual Behavior**

API returns the original image unchanged.

**Notes**
Tested with different upscalers
Base64 encoding verified
No errors returned by API
Fully reproducible

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /sdapi/v1/extra-single-image endpoint and reproduce the request with resize_mode 1, upscaling_resize 2, and upscaler_1 set to Lanczos. Trace why the response preserves the input dimensions, then add or update a regression test if the API test location is identified; done means the response is resized and processed according to the requested upscaler.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.