Chat & imagesAll systems2 min read

Image generation in Codex

Install the image skill and configure it without sharing your API key.

On this page

Use the attached image skill with Codex to generate images. The tutorial video is not currently available, so the steps below describe the supported setup.

Download the image skill: openox-image.zip

1. Install the image skill

In Codex, install the skill in your local environment and review its setup instructions before running it.

2. Configure your API key locally

Set the OpenOx API endpoint and image API key in the skill's local settings or your operating system's secret manager, following the skill's instructions. Do not paste an API key into ChatGPT, Codex prompts, project files or screenshots.

3. Generate and verify an image

Select a supported image model, submit a short prompt and confirm that the generated image appears in Codex. If it fails, check the model's image permissions, your available balance and the skill's local endpoint settings.