Claude Code · Blog & OG images
How to Make Blog Headers and OG Images in Claude Code
Connect PixelMCP to Claude Code and your agent can make blog headers and OG images while it works, then save the files straight into your project. Generate blog headers and Open Graph social cards for every post, straight from Claude Code, Cursor or your AI chat. Coding agents can save the image into your project and wire it up.

1. Connect PixelMCP to Claude Code
This takes about a minute and you only do it once.
1. Add the server
Run this once. Use --scope user for every project, or --scope project to share it with your team via .mcp.json.
claude mcp add --transport http --scope user pixelmcp https://pixelmcp.com/mcp2. Authenticate
Start Claude Code, run /mcp, select pixelmcp and choose Authenticate. Your browser opens to sign in.
/mcp3. Check it's connected
The server should show as connected. You can also run:
claude mcp list
Menus change often. If something doesn't match, see the full Claude Code guide.
2. Ask your agent for blog headers and OG images
“Blog header illustration: mountain sunrise, flat vector style, warm palette.”
“Create a 16:9 OG image for every post in /content/blog that doesn't have one.”
“Make blog headers and OG images for this project and save them to /public/images with descriptive file names.”
3. Pick the right model
Recraft V4.1
Illustration, icons, posters and brand design work.
Nano Banana 2
Previous Google Flash model with strong prompt following and legible text. Nano Banana 2.1 is newer and cheaper.
FLUX.2 Klein
Cheapest and fastest (about 6 seconds). Ideal for drafts and exploring ideas.
See every model ranked in best AI model for blog headers and OG images.
Tips
- Use 16:9 for headers and OG cards.
- Pick one illustration style and reuse the wording for every post.
- In a coding agent, ask it to save the file and update the post's frontmatter.
- Ask Claude Code to reference the saved files in your code, for example as an <img> tag or in frontmatter.
FAQ
Can Claude Code make blog headers and OG images?+
Yes, once PixelMCP is connected. Claude Code writes the prompt and PixelMCP generates the images with models like Recraft V4.1, then the agent can save the files into your project.
Which model should I use for blog headers and OG images in Claude Code?+
Start with Recraft V4.1: illustration, icons, posters and brand design work. Name the model in your message, or let Claude Code choose.
How much does it cost?+
From $0.06 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 Claude Code?+
Claude Code installed (curl -fsSL https://claude.ai/install.sh | bash, or npm install -g @anthropic-ai/claude-code).