
Generating Images from the CLI Using ChatGPT's $20 Plan (Without Getting Blocked by Cloudflare)
How OpenAI's Codex CLI Quietly Unlocked Scriptable Image Generation for Paying Users
Most people using ChatGPT's $20-per-month plan think of it as a chat subscription. That's reasonable, because that's how it's marketed - but it undersells what's actually included by a significant margin. Buried inside that flat monthly fee is access to image generation compute that, priced out through any direct API or credits-based system, would cost most active users several times what they're paying. The problem is that getting that compute to do anything useful outside the browser - to slot into a script, a pipeline, a server-side workflow - has historically been an exercise in frustration, mostly because the chatgpt.com website sits behind Cloudflare's bot detection and actively resists automation. A recent, relatively quiet update to OpenAI's Codex tooling changes that picture considerably, and if you're someone who cares about programmatic access to AI capabilities without paying per-image rates, it's worth understanding what just became possible.




