Skip to content
AI AND SCREEN

Images

Generate images with your own OpenAI or Google key, and where they are saved.

Last updated 10 October 2026Applies to MEGA 1.2+

From MEGA 1.2, you can ask MEGA to generate an image. MEGA does not make pictures itself: it sends your request to an image model at OpenAI or Google, using your own key, and saves the result on your PC.

Needs: Your own API key Needs: An internet connection

What you need

An API key from OpenAI or Google (Google's image generation is Imagen). That is all. Get a key as described in Choosing an AI: platform.openai.com/api-keys for OpenAI, aistudio.google.com/apikey for Google.

Honest limitation· Not every AI can draw

Local models (Ollama) and Anthropic cannot generate images. If your chat model is one of those, you can still use an OpenAI or Google key just for images, because text, vision and image models are set separately.

Set it up

  1. Add your OpenAI or Google key to MEGA, in the first-launch guide or later in Settings.
  2. Choose an image model for that provider. Image is its own model slot, separate from text and vision.
  3. Ask for a picture in plain words, for example "Generate an image of a lighthouse at dusk".

You can switch the image model whenever you like without restarting MEGA.

What it costs

Image generation is billed by the provider to your own account. MEGA adds nothing on top. Check the provider's current prices before generating many pictures, and consider setting a spending limit on the provider's dashboard.

Where images are saved

MEGA saves generated images in the images folder of your workspace:

Text
%USERPROFILE%\.mega\workspace\images

If you name a different folder, MEGA saves there instead. The pictures are ordinary files on your PC, so back them up like any other files.

Privacy

The words you ask for go to OpenAI or Google under your own account. Nothing is generated on your PC. See Privacy and your data for what stays local and what does not.

If it does not work

  • Nothing happens. Check that you have added an OpenAI or Google key, and that you have chosen an image model.
  • An error from the provider. Common causes are a wrong key, no credit on the account, or a request the provider's content rules refuse. The message comes from the provider, so read it.
  • Still stuck. Run doctor.bat and see Troubleshooting.

Was this helpful?

Still stuck?

If this page did not solve it, write to us and we will help.