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.
Setup in 3 Steps
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 KeyAdd 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.
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
| Tool | Description | Credits |
|---|---|---|
| get_account | Check credit balance and account stats | Free |
| browse_themes | Browse 150+ themed photo categories | Free |
| upload_image | Upload an image (URL or base64) to get a CDN URL | Free |
| generate_photo | Generate AI photos from face images (per photo) | 100 |
| edit_image | 19 edit operations (remove bg, upscale, face swap, etc.) | 3-100 |
| create_video | Create AI videos (animate, UGC, product showcase) | 100-500 |
| get_prediction | Poll an async operation for its result | Free |
| list_predictions | List past generations and edits | Free |
Install via npm
The MCP server is published on npm and can also be installed directly.
npm install @photoaistudio/mcp-serverReady to Start?
New accounts get 100 free credits. Create a key and connect your assistant in under 2 minutes.
Create an API Key