← VS Code (GitHub Copilot) setup guide

VS Code (GitHub Copilot) · Blog & OG images

How to Make Blog Headers and OG Images in VS Code (GitHub Copilot)

Connect PixelMCP to VS Code (GitHub Copilot) 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.

AI-generated blog header image example

1. Connect PixelMCP to VS Code (GitHub Copilot)

This takes about a minute and you only do it once.

  1. 1. Add the server

    Run “MCP: Add Server” from the Command Palette (choose Workspace or Global), or create .vscode/mcp.json:

    {
      "servers": {
        "pixelmcp": {
          "type": "http",
          "url": "https://pixelmcp.com/mcp"
        }
      }
    }
  2. 2. Start and sign in

    Start the server from the inline action in mcp.json, confirm the trust prompt, and complete the sign-in.

  3. 3. Use it

    In Copilot Chat (Agent), click Configure Tools to check PixelMCP is enabled, then ask for an image.

Menus change often. If something doesn't match, see the full VS Code (GitHub Copilot) 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

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 VS Code (GitHub Copilot) to reference the saved files in your code, for example as an <img> tag or in frontmatter.

FAQ

Can VS Code (GitHub Copilot) make blog headers and OG images?+

Yes, once PixelMCP is connected. VS Code (GitHub Copilot) 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 VS Code (GitHub Copilot)?+

Start with Recraft V4.1: illustration, icons, posters and brand design work. Name the model in your message, or let VS Code (GitHub Copilot) 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 VS Code (GitHub Copilot)?+

VS Code with GitHub Copilot.