OpenMontage/tools/graphics
0xDevNinja 7fff88af3c fix(openai_image): return all n generated images, not just the first
The tool advertised `multiple_outputs: True`, accepted `n` (1-4) in its schema,
requested `n` images from the API, and scaled `estimate_cost` by `n` — but the
result handling was hardcoded to `response.data[0]`. Images 1..n-1 were decoded
never, written never, and absent from `artifacts`, so a caller who set `n=4`
paid for four images and received one.

Iterate over `response.data`, writing each image to a distinct path (suffixed
`_1`, `_2`, … when several are requested, mirroring `grok_image` /
`dashscope_image`), and return `outputs` / `images_generated` alongside the
full `artifacts` list. A single image keeps its exact requested path.
2026-07-06 13:12:33 +05:30
..
__init__.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
code_snippet.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
comfyui_image.py comfyui: satisfy provider contract review items 2026-06-29 19:09:22 +01:00
dashscope_image.py dashscope: fix multi-image download and complete idempotency keys 2026-07-02 00:37:51 +08:00
diagram_gen.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
flux_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
google_imagen.py feat(google): support service-account auth for TTS + Imagen, fix false availability 2026-06-22 17:53:10 +05:30
grok_image.py Add Grok media providers and improve selector routing 2026-04-05 15:31:37 -07:00
image_gen.py Replace retired OpenAI image models with gpt-image-2 (DALL-E shut down 2026-05-12) 2026-07-02 11:36:31 +08:00
image_selector.py comfyui: route custom workflows through image/video selectors 2026-06-29 22:38:18 +01:00
local_diffusion.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
math_animate.py fix(math_animate): block all reflection dunders, not an enumerated set 2026-07-03 13:04:33 +05:30
openai_image.py fix(openai_image): return all n generated images, not just the first 2026-07-06 13:12:33 +05:30
pexels_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
pixabay_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
recraft_image.py Fix Remotion-first rendering docs and post-render verification gaps 2026-04-06 08:21:48 -07:00