#Two OpenClaw same build, but one is able to generate image with Image2.0 and the other cant.

1 messages Β· Page 1 of 1 (latest)

winter mantle
#

I had two OpenClaw currently build similarly but one somehow able and managed to generate image with gpt-Image2.0 natively and dont need open any browser. But the other some how keep getting stuck and unable to proceed with building this skill and keep saying api.responses.write . Both are using OpenAi OAuth login.

faint sigilBOT
dry pagodaBOT
# winter mantle I had two OpenClaw currently build similarly but one somehow able and managed to...

That api.responses.write clue usually points to the OpenAI Codex OAuth token missing the scope needed for the Responses backend, not a β€œskill build” problem. Two installs can be the same build but have different auth profiles/tokens, especially if one was logged in earlier or imported older Codex auth.

First thing: please compare these on both machines:

openclaw --version
openclaw models status
openclaw status --all

Then on the broken one, re-auth Codex OAuth and restart the gateway:

openclaw models auth login --provider openai-codex --set-default
openclaw gateway restart
dry pagodaBOT
# winter mantle I had two OpenClaw currently build similarly but one somehow able and managed to...

If browser callback is flaky/headless, use:

openclaw models auth login --provider openai-codex --device-code --set-default
openclaw gateway restart

Also confirm image generation is actually configured/available:

openclaw config set agents.defaults.imageGenerationModel.primary openai/gpt-image-2
openclaw models status

Docs I checked: image generation says openai/gpt-image-2 can route through OpenAI Codex OAuth, and the FAQ/OpenAI docs say openai-codex is the auth/profile id for ChatGPT/Codex OAuth:
https://docs.openclaw.ai/tools/image-generation
https://docs.openclaw.ai/providers/openai

dry pagodaBOT
winter mantle
#

Krill, case solved.

dry pagodaBOT
# winter mantle Krill, case solved.

Glad that fixed it πŸŽ‰

Please right-click the solution message β†’ Apps β†’ βœ… Mark Solution when you get a chance. That helps Answer Overflow index the fix for the next person who hits the same OAuth/image-generation weirdness.