Codex · Invoices & documents
How to Make Invoice and Document Designs in Codex
Connect PixelMCP to Codex and your agent can make invoice and document designs while it works, then save the files straight into your project. Explore design directions for invoices, quotes, letterheads, menus and one-pagers. See several looks in minutes, then hand the one you like to your coding agent to build as a real template.

1. Connect PixelMCP to Codex
This takes about a minute and you only do it once.
1. Add the server
Run:
codex mcp add pixelmcp --url https://pixelmcp.com/mcp2. Or edit config directly
Equivalent entry in ~/.codex/config.toml:
[mcp_servers.pixelmcp] url = "https://pixelmcp.com/mcp"3. Sign in
Run the login command and approve access in your browser:
codex mcp login pixelmcp4. Start Codex
Launch codex and run /mcp to confirm PixelMCP's tools are listed.
Menus change often. If something doesn't match, see the full Codex guide.
2. Ask your agent for invoice and document designs
“A4 portrait invoice design, glassmorphism style header with a soft purple-blue gradient, clean line-item table, total highlighted.”
“Three letterhead concepts for a law firm called Archer & Reed: classic, modern and minimal.”
“Make invoice and document designs for this project and save them to /public/images with descriptive file names.”
3. Pick the right model
Nano Banana Pro
Highest fidelity from Google: complex scenes, infographics, precise text.
GPT Image 2
OpenAI's image model at medium quality. Great text rendering and layouts.
See every model ranked in best AI model for invoice and document designs.
Tips
- Use these as design mockups. Build the final template in your editor so numbers and text stay editable.
- Nano Banana Pro is the most precise with lots of small text.
- Ask for one style per image and compare side by side.
- In Claude Code or Cursor, ask the agent to turn your chosen design into HTML or a PDF template.
- Ask Codex to reference the saved files in your code, for example as an <img> tag or in frontmatter.
FAQ
Can Codex make invoice and document designs?+
Yes, once PixelMCP is connected. Codex writes the prompt and PixelMCP generates the images with models like Nano Banana Pro, then the agent can save the files into your project.
Which model should I use for invoice and document designs in Codex?+
Start with Nano Banana Pro: highest fidelity from Google: complex scenes, infographics, precise text. Name the model in your message, or let Codex choose.
How much does it cost?+
From $0.20 per image with the recommended models. Pay as you go with credits that never expire. New accounts get 100 free credits.
What do I need to use PixelMCP in Codex?+
Codex CLI installed (npm install -g @openai/codex). The IDE extension shares the same config.