Repository navigation
What model ID should I use for image generation with codex account? #6589
|
I tried gpt-image-2.5 and nanobot told me |
Replies: 1 comment 1 reply
|
Use I checked v0.4.1. With {
"tools": {
"imageGeneration": {
"enabled": true,
"provider": "openai_codex",
"model": "gpt-image-2"
}
}
}Log in with On Plus: nanobot's docs list Plus or Pro as the requirement for the Codex provider (configuration.md#L745). I couldn't find anything official on per-plan image limits. If you specifically want Images 2.5, OpenAI publishes it as |
Use
gpt-image-2. It's the only image model nanobot's Codex provider is set up for, andgpt-image-2.5isn't a model ID OpenAI publishes, so the backend rejects it withmodel_not_found.I checked v0.4.1. With
"provider": "openai_codex", nanobot takestools.imageGeneration.model, strips anopenai-codex/prefix if there is one, and POSTs it with your ChatGPT OAuth token tohttps://chatgpt.com/backend-api/codex/images/generations. The error body from that endpoint is passed back to you as-is (image_generation.py#L1358-L1455). nanobot doesn't validate the ID, so whatever you type in the model field goes straight to OpenAI. The provider listsgpt-image-2as its only option (L1367), the docs say …