问题内容
Bug: /v1/images/edits fails with "Image edit returned no results"
Problem:
While /v1/chat/completions and /v1/images/generations work perfectly, the /v1/images/edits endpoint consistently returns a 502 Upstream Error.
Error Log:
upload.py:267 - Upload success: file.png -> 8d7af92d-691a-45b2-a7f2-2c907085e9a4
exceptions.py:123 - AppException: server_error - Image edit returned no results
response_middleware.py:75 - Response: POST /v1/images/edits - 502 (10881.28ms)
Details:
- The image is uploaded successfully to Grok (as seen in logs).
- FlareSolverr is active and
cf_clearance is valid.
NSFW Mode and Thinking are both enabled.
- I have tried multiple different images and prompts (e.g., "Transform to anime style"), but it always fails to return the edited image.
Request:
Please check if the model=grok-imagine-1.0-edit logic or the response parsing for image editing needs an update.
部署方式
本地 uv run
相关配置(请脱敏)
相关日志
Follow the description above
问题内容
Bug:
/v1/images/editsfails with "Image edit returned no results"Problem:
While
/v1/chat/completionsand/v1/images/generationswork perfectly, the/v1/images/editsendpoint consistently returns a 502 Upstream Error.Error Log:
upload.py:267 - Upload success: file.png -> 8d7af92d-691a-45b2-a7f2-2c907085e9a4exceptions.py:123 - AppException: server_error - Image edit returned no resultsresponse_middleware.py:75 - Response: POST /v1/images/edits - 502 (10881.28ms)Details:
cf_clearanceis valid.NSFW ModeandThinkingare both enabled.Request:
Please check if the
model=grok-imagine-1.0-editlogic or the response parsing for image editing needs an update.部署方式
本地 uv run
相关配置(请脱敏)
相关日志