When running sd_server to host the API, parameters passed via the request payload are ignored.
For example, even when calling the API with steps=1, the server still uses the default value (steps=20) instead of overriding it with the value provided in the payload.
Steps to reproduce
- Start sd_server
- Call the API endpoint with the following JSON payload:
{
"prompt": "text",
"steps": 1
}
- Check the server logs or the generated result
Expected behavior
The server should respect and use the parameters provided in the request payload.
In this case, steps should be set to 1 instead of the default value.
Actual behavior
The server always falls back to the default value (steps=20), even when a different value is explicitly provided in the payload.
Could you please help check this issue and let me know if this is an expected behavior or a bug?
Thank you very much for your time and support.