Add image-gen module: Spring AI ImageModel options on the wire, a moderation gate, and safe storage of generated images in MinIO (sniffed content type, byte and pixel caps, server-chosen keys, capped URL fetcher); per-provider cost table dated 2026-10-28. ImageModel and ModerationModel are hand-written fakes; MinIO is real via Testcontainers; no image provider called.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Presigned GET (5 minutes) against MinIO
|
||||
|
||||
signed URL, parameters : X-Amz-Algorithm=... & X-Amz-Date=... & X-Amz-SignedHeaders=host & X-Amz-Credential=... & X-Amz-Expires=300 & X-Amz-Signature=...
|
||||
GET signed URL : 200, 742 bytes, Content-Type image/jpeg
|
||||
Content-Disposition : attachment
|
||||
same URL, other owner : 403
|
||||
same path, no signature : 403
|
||||
Reference in New Issue
Block a user