Replies: 11 comments 4 replies
-
|
Yes please 🙏🏼 |
Beta Was this translation helpful? Give feedback.
-
|
I am a +1 for this. Usecase is akin to "take a look at |
Beta Was this translation helpful? Give feedback.
-
|
please please add this - any app that you write nowadays - be it a web app or an iPhone app or whatever - or even just making the icon for a completely backend thing - needs some sort of visual assets. It's crazy that we can do everything else - setup, deploy, actually write the code, fill out the iras etc from the cli - but not actually generate the images. well.. I do actually - I have a cli generate_image which uses mflux and qwen or z-image to generate images, and the cli calls that - but I would much rather have the quality and speed that comes from chatgpt-image |
Beta Was this translation helpful? Give feedback.
-
|
This is a discussion forum, so it's a good place to ask questions or share usage tips. If you want to suggest a new feature, it's better to file an enhancement request in the issue tracker. The codex team uses upvotes on enhancement requests to inform feature prioritization. |
Beta Was this translation helpful? Give feedback.
-
|
@etraut-openai can you please help in doing that ? really want to add this to feature request |
Beta Was this translation helpful? Give feedback.
-
|
Yes it is really helpful for lots of use cases - bring it on |
Beta Was this translation helpful? Give feedback.
-
|
Please this is very needed |
Beta Was this translation helpful? Give feedback.
-
|
Codex will happily generate svg filess. It will also give you a simple svg to X converter python script. Not quite as good as arbitrarily images from nano banana or similar but it can work in a pinch. |
Beta Was this translation helpful? Give feedback.
-
|
One workaround I use is asking Codex to generate images using an API call. I've been using it so often like this that I forgot this issue even existed. |
Beta Was this translation helpful? Give feedback.
-
|
Workaround (today): call the latest OpenAI image model directly via API Codex doesn’t currently wire up the newest image generator in the CLI flow, but you can still use the latest image model by calling the OpenAI Images API yourself (and then saving the result into your project’s assets/ folder). Model: gpt-image-1.5
export OPENAI_API_KEY="YOUR_KEY" curl https://api.openai.com/v1/images/generations The response includes base64 image data — decode it and write it to something like:
curl https://api.openai.com/v1/images/edits Quick notes Docs (for reference): https://developers.openai.com/api/docs/guides/image-generation/ |
Beta Was this translation helpful? Give feedback.
-
|
if i have subscribed a codex plus / pro plan, do i need pay when use api key to generate images? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Image Generation Support for Web Projects
It would be extremely helpful if codex CLI could leverage GPT-4o’s image generation capabilities to automatically create images for web projects during development.
Details:
When working on a website, developers often need placeholder or final images for elements such as banners, product photos, icons, or hero sections. Instead of manually sourcing or designing these assets, it would streamline development if codex could generate relevant images based on short natural language prompts directly in the CLI or through a codex web assets command.
Proposed Behavior:
• When in a web project context, codex can offer an optional --generate-images flag or similar.
• The CLI can ask the user what type of images they need (e.g. “a modern tech product banner”, “a clean login form illustration”, etc.)
• GPT-4o would then generate and save the images into the project’s assets or images directory.
Why This Matters:
This feature would significantly reduce friction for solo developers, designers, and prototypers by eliminating the need to switch tools or hunt for royalty-free images. It aligns with codex’s goal of speeding up the development lifecycle using natural language interfaces.
Beta Was this translation helpful? Give feedback.
All reactions