Files
artcraft/crates
Tanish Manku 168977c44d artcraft-mcp: return all images from batch generations
When num_images>1, the omni_gen response is still a single job with a
single inline result; the rest of the batch is reachable through the
result's maybe_batch_token via GET /v1/media_files/batch_gen_redux/{token}.

Previously we only surfaced the single inline result, so 'num_images: 4'
returned just 1 image. Now after poll detects CompleteSuccess we follow
the batch token to fetch every member and return them all.

Inline rendering:
- Single result: 768 px thumbnail (unchanged).
- Batch: 512 px per image — 4 thumbnails at 512 px JPEG stay well under
  Claude Desktop's 1 MB tool-result cap.

Per-image inline fetch failures are logged and skipped (still return
the URL as text), so a single bad thumbnail doesn't poison the whole
response.

Multi-image text output is one URL per line, prefixed 'Image N:'.
2026-06-15 14:29:02 -07:00
..
2026-06-02 22:00:10 -04:00
2026-05-26 04:23:47 -04:00
2026-06-03 10:37:28 -04:00
2026-06-03 23:59:13 -04:00
…