---
title: "Codex image generation, video and ads with Icarus"
canonical: https://withicarus.com/mcp/codex
site: Icarus
description: "Codex image generation, plus video and ads, from the terminal. Icarus uses your saved products and characters, so it looks like your brand."
---

# Codex image generation, video and ads with Icarus

Codex image generation, plus video and ads, from the terminal. Icarus uses your saved products and characters, so it looks like your brand.

To use Icarus in Codex, add it with an Icarus key from Settings. Then ask for photos, videos or ads in plain words. It's Codex image generation that uses your saved products and characters.

Updated: 2026-09-28

## How do I connect Icarus to Codex?

Add your key, run one command, and ask for photos and videos while you build.

1. Save your key, then add Icarus, in the same terminal.
2. Start Codex there and type /mcp to see Icarus.

Add Icarus:

```
codex mcp add icarus --url https://withicarus.com/mcp --bearer-token-env-var ICARUS_API_KEY
```

Codex docs: https://learn.chatgpt.com/docs/extend/mcp?surface=cli

## What do I need, and what does it cost?

| | |
| --- | --- |
| How you connect | An Icarus key from Settings |
| Connecting and looking things up | Free |
| Making, editing and upscaling | Your Icarus credits |
| A shot that fails | Credits come back |
| Where your work goes | Generations in Icarus, with links in Codex |

## What can I ask Codex to make?

- "Make four photos of the blue tote and save the links to shots.md."
- "Shoot the linen kurta on white for the catalog."
- "Tell me what ten photos and an ad will cost before you start."
- "Turn the best photo into a short clip."

## Questions

### Where does my key go?

Save it as ICARUS_API_KEY in the terminal you start Codex from. Codex reads it from there.

### Do I need a key to use Icarus in Codex?

Yes. A workspace admin creates one in Settings. It's only shown once, so copy it straight away.

### Does using Icarus in Codex cost extra?

No. Connecting is free. You only spend credits when Icarus makes or edits something, and a shot that fails is refunded.

### Where does my work go?

Everything is saved in Generations in Icarus, and Codex gets a link to each result.

### Is my brand safe?

A key only works in one workspace. Delete it in Settings and it stops working straight away.

### How does Codex image generation work with Icarus?

You ask Codex in plain words. Icarus makes the photo, video or ad with your saved product and character, and you get a link back.

## Icarus in other apps

- **Claude**: https://withicarus.com/mcp/claude. You only set this up once. After that, any chat can make photos and videos for you.
- **ChatGPT**: https://withicarus.com/mcp/chatgpt. You only set this up once. After that, any chat can make photos and videos for you.
- **Claude Code**: https://withicarus.com/mcp/claude-code. Install it with one command, then ask for photos and videos while you build.
- **Cursor**: https://withicarus.com/mcp/cursor. Install it in one click, then ask for photos and videos while you build.
- **VS Code**: https://withicarus.com/mcp/vscode. Install it in one click, then ask for photos and videos while you build.
- **Gemini CLI**: https://withicarus.com/mcp/gemini. Run one command with your key, then ask for photos and videos while you build.
- Every app, with the limits: https://withicarus.com/mcp


---

Site: Icarus (https://withicarus.com)
Canonical: https://withicarus.com/mcp/codex
Contact: tanmay@onai.studio
