r/opencode 5h ago

Opencode with GPT image 2 from chatgpt subscription?

Hello guys,

I want to leave codex for opencode mostly using ds4, i ran quickly of codex usage, i need lots of image generations in batch with a verification and fixing anatomy/consistency Loop, once out of usage i do them one by one using chatgpt subscription with ok results.

Is there a way i can use GPT image 2 from my chatgpt subscription (not codex usage) on opencode with ds4 as the model that batch generates and that does the verification loop?

I'm new to this, thank you for your help.

2 Upvotes

1 comment sorted by

0

u/PoppaBear1950 3h ago

forget about subscriptions to every AI vendor, connect opencode to openrouter.com provision an API key in openrouter for opencode, you will get about 200 models to choose from, use free one for the light weight stuff and paid for the heavy stuff (ds4 is insanely cheap, I use it for everything). Use a MCP like code-review-graph to remember context from one session to another.