Resolution (1K, 2K, 4K) is set at generation time — there is no separate download-resolution toggle. Files are served as PNG by default; the underlying mime-type matches what the model produced. Worker-generated images (S3) are proxied through the same download endpoint with Content-Disposition: attachment so your browser saves the file instead of opening it inline.
Download endpoint
GET /api/gallery/[id]/download- Auth: must be the owner. Apiway checks
user_idon the gallery row and rejects unauthorized requests. - All rows: stream blob with
Content-Disposition: attachmentand filenamemannequin-{id}.png(S3-backed images are fetched server-side, not opened via a cross-origin redirect).
Formats
- PNG — default for downloads, lossless, larger file size.
- JPEG — sometimes returned by the model; smaller files. Mime-type follows what the underlying model generated.
Resolutions and how to pick
- 1K — fastest, lowest cost. Use for testing and concept work.
- 2K — Shopify-ready. Default for catalog imagery.
- 4K — print-ready. Use for hero campaigns, billboards, lookbooks. Requires Pro / nano-banano-2.
Bulk / batch download
Bulk export of an entire batch is via the public folder sharing flow — see share via public folder. For a single image, use the per-image download endpoint above.
EXIF and metadata
Apiway does not embed PII in EXIF. Generated images do not contain user-identifying metadata.