Files
gott/Services
MelekiandClaude Opus 4.8 1641bf11b6 Fix Krea image generation by removing unsupported batchSize
Krea removed the batchSize parameter ("Generation batch size is no longer
supported, submit one request per output"), so every image request failed
with HTTP 422 — breaking session/agent avatar generation. Drop batchSize
from the payload and instead send one request per requested image in a
loop, collecting all returned jobs. Endpoint paths, Bearer auth and base
URL are unchanged.

- KreaService: remove batchSize from payload
- KreaService: loop record.BatchSize times, one POST per image, aggregate
  jobs (handles both array and single-object responses)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 17:14:30 +02:00
..
2026-03-09 11:35:04 +01:00