Skip to content

codex-imagen 0.2.7

Latest

Choose a tag to compare

@darkamenosa darkamenosa released this 06 Jun 04:38
5253033

Changed

  • Restored the Codex-current default backend to hosted Responses image_generation at /responses.
  • Added --backend images / CODEX_IMAGEN_BACKEND=images for probing Codex's under-development standalone typed Images endpoints: /images/generations and /images/edits.
  • Added backend-specific model defaults: gpt-5.4 for hosted Responses and gpt-image-2 for typed Images.
  • Updated request headers to use Codex-style originator: codex_cli_rs and user-agent values, and added restricted ChatGPT Cloudflare cookie handling for backend requests.
  • Added the bin/codex-imagen.js executable wrapper and package bin metadata.

Fixed

  • Follow Codex SSE semantics for broken hosted Responses streams: completed image files remain saved, but a later transport termination or stream close before response.completed exits with a stream error instead of reporting partial success.