Model Context Protocol

Photo AI Studio for Claude, Cursor & more

One config block connects Photo AI Studio to your favorite AI assistant. Generate photos, edit images, and create videos directly from conversation.

Claude DesktopCursorWindsurfVS CodeCline

Setup in 3 Steps

1

Create an API key

Sign in and generate an API key from your dashboard. Each key is tied to your account and credit balance.

Get API Key
2

Add the configuration

Copy this block into your MCP client settings (claude_desktop_config.json for Claude Desktop, MCP settings in Cursor/Windsurf):

{
  "mcpServers": {
    "photoaistudio": {
      "command": "npx",
      "args": ["-y", "@photoaistudio/mcp-server"],
      "env": {
        "PHOTOAI_API_KEY": "pa_sk_your-key-here"
      }
    }
  }
}

Replace pa_sk_your-key-here with the actual key from step 1. Save the file and restart your MCP client.

3

Start creating

Your AI assistant can now use Photo AI Studio directly. Try prompts like:

Upload this photo and generate a professional headshot for me

Remove the background from my profile picture

Create a video animating this image with a cinematic zoom

Available Tools

ToolDescriptionCredits
get_accountCheck credit balance and account statsFree
browse_themesBrowse 150+ themed photo categoriesFree
upload_imageUpload an image (URL or base64) to get a CDN URLFree
generate_photoGenerate AI photos from face images (per photo)100
edit_image19 edit operations (remove bg, upscale, face swap, etc.)3-100
create_videoCreate AI videos (animate, UGC, product showcase)100-500
get_predictionPoll an async operation for its resultFree
list_predictionsList past generations and editsFree

Install via npm

The MCP server is published on npm and can also be installed directly.

npm install @photoaistudio/mcp-server

Ready to Start?

New accounts get 100 free credits. Create a key and connect your assistant in under 2 minutes.

Create an API Key