Browse Source
Seedream 5.0 rejects the previous default 1024x1024 size when the user selects high resolution output. The NewApiWG image endpoint now derives a provider pixel size from the visible resolution and aspect-ratio controls unless the model schema supplied an explicit size. Constraint: Keep the fix server-side and preserve explicit model size parameters when provided. Rejected: Change the composer resolution UI for one model | the UI already sends the intended 4K and 16:9 values; the loss happened in provider payload mapping. Confidence: high Scope-risk: narrow Directive: Do not default OpenAI-compatible image endpoints to 1024x1024 when resolution/imageSize is present. Tested: npm run test:run -- src/app/api/generate/providers/__tests__/newapiwg.test.ts Tested: npm run test:run -- src/app/api/generate/__tests__/route.test.ts Tested: npm run build Tested: git diff --check Not-tested: Live Seedream 5.0 paid generation call.feature/canvas-chatbot-copilot
2 changed files with 73 additions and 1 deletions
Loading…
Reference in new issue