OpenAI image generation in Codex (image_gen)
Model ID undisclosed
2026-12-06
Text-to-image; transparent background off; automatic dimensions; quality and seed undisclosed
Draw three square one-bit inventory icons: a key, a mug and a leaf. Draw each on its own 16 by 16 pixel grid; black and white only, no smoothing, no lettering. Leave one pixel of clear margin. Give the key one square hole and teeth, the mug an open handle, and the leaf a diagonal stem. Arrange left to right at equal native resolution.
All three objects read at display size. The original is 2,172 × 724 pixels with 5,852 distinct RGB colors and visible frames. It fails the native sprite specification.

OpenAI Images API
gpt-image-2
2026-12-06
Text-to-image; medium quality; 1920 x 640; PNG; one output; automatic seed; no prompt augmentation
Draw three square one-bit inventory icons: a key, a mug and a leaf. Draw each on its own 16 by 16 pixel grid; black and white only, no smoothing, no lettering. Leave one pixel of clear margin. Give the key one square hole and teeth, the mug an open handle, and the leaf a diagonal stem. Arrange left to right at equal native resolution.
The key hole and mug handle stay open. The original is 1,920 × 640 pixels with 4,355 distinct RGB colors, so the large square steps do not constitute a native one-bit export.

Both tools deliver recognizable concepts. Use the supplied 16 × 16 cells for the game asset. Count two palette entries and check the one-pixel outer margin after export.
