* feat(sd): Add Z.AI GLM-Image model support Add the new GLM-Image model to the Z.AI image generation source: - Add 'glm-image' to the model dropdown with friendly display name - Handle GLM-Image's requirement for dimensions in multiples of 32 (vs CogView's multiples of 16) - Show quality dropdown for GLM-Image (supports standard/hd) The GLM-Image model uses the same API endpoint as CogView but has different dimension constraints. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * feat(sd): Enhance Z.AI GLM-Image support - Use regex for GLM-Image model detection (futureproofing) - Skip 2^21 pixel limit for GLM-Image (CogView-specific) - Add Z.AI recommended resolutions (1280x1280, 1568x1056, etc.) - Add "Use Coding API" toggle for GLM Coding Plan users - Add better error logging for image fetch debugging Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor(sd): Address PR review feedback for Z.AI GLM-Image - Remove custom zai_coding_api setting, use existing oai_settings.zai_endpoint - Always use Common API for image generation (avoids rate limits) - Keep ZAI_ENDPOINT import for consistency with other extensions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: always use Common API for Z.AI image generation Removes conditional endpoint selection since we decided to always use Common API for image generation (Coding API has stricter rate limits). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * It's not only cogview anymore * Remove unused param from request payload * Remove redundant debug logs * Loosen the check on image quality data attribute * Bring back coding API notice --------- Co-authored-by: mschienbein <mschienbein@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>