Skip to content

Use your ChatGPT subscription ​

If you have a ChatGPT or Codex subscription, Go Bananas can generate images with it instead of a Gemini or OpenAI API key. Images are saved to your Go Bananas gallery like any other.

Experimental

Subscription generation is experimental. It is available to signed-in users on gobananasai.com and is off by default for self-hosted deployments. For the technical reference, see ChatGPT subscription tools.

What you need ​

  • A Go Bananas account (sign up or sign in).
  • A ChatGPT or Codex subscription.
  • An AI client connected to Go Bananas with sign-in (OAuth), not an API key. The subscription belongs to you as a person, so the client must act as you. A client that only has a Go Bananas API key cannot use it.

Connect your subscription ​

  1. Sign in at gobananasai.com/login.
  2. Open Codex in the sidebar's Create group and connect ChatGPT. You sign in once: Go Bananas keeps the ChatGPT sign-in, encrypted, so the connection lasts until you disconnect it, OpenAI signs it out, or it goes unused for 30 days. The first image after a quiet spell takes a little longer while the connection starts up again. If every connection slot is taken, the page says so: try again later.
  3. In your AI client, connect Go Bananas with OAuth. For example, in Claude Code run claude mcp add --transport http -s user go-bananas https://mcp.gobananasai.com, then /mcp and Authenticate. gobananasai.com/connect has steps for other clients.

The Codex item appears only for workspace owners and managers (and super-admins), and only where the feature is enabled.

How generation is routed ​

The Go Bananas skill (included in the plugin) tells your AI client to:

  1. Call get_subscription_status first.
  2. If the status is connected, generate with generate_with_subscription.
  3. Otherwise, generate with your workspace's own Gemini or OpenAI keys, without asking you to connect ChatGPT. The subscription is optional.
  4. If a subscription generation cannot run (disconnected, runner unavailable, allowance used up), call generate_image with generation_lane: "provider" and tell you that your keys were used. (A plain generate_image would go back to the subscription while it still shows as connected.) If ChatGPT declined the prompt, it reports that and does not retry with your keys.

Editing always uses your keys: the subscription cannot edit images.

A ChatGPT Free account has no image generation. Go Bananas reports it as not connected (plan_without_image_generation), so your keys are used if the workspace has one; connect a Plus or Pro account to generate with the subscription.

generate_image also picks a lane. With generation_lane: "auto" (the default), an OAuth request goes to your subscription when it is connected and the request uses nothing the subscription cannot do. Some options always need a provider, such as model_id, reference_assets, reference images, characters, products, style presets, more than one image, or an aspect ratio the subscription does not support. Set generation_lane: "provider" to use your provider keys, or "subscription" to refuse any provider fallback.

If you are signed in with OAuth and send a plain request while no subscription is connected, generate_image uses your workspace's key for its default model, and its selectionReason says why: no_connected_subscription, plan_without_image_generation, subscription_unavailable, or subscription_status_unavailable (the status could not be checked; the result also carries a warning). Only a workspace with no such key refuses, asking you to connect ChatGPT (or a Plus or Pro account) or add a Gemini or OpenAI key; no provider key is used. The server never switches to your keys after a subscription generation it started has failed.

What the subscription can make ​

  • One image per call.
  • Aspect ratios square, portrait, landscape, 1:1, 4:5, 5:4, 9:16 and 16:9.
  • Text prompts only: no reference images, characters or products.

For those, use a provider model. See Connect a provider.