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、ChatGPT 以及所有支持远程 MCP 服务器的客户端都可以直接连接这个地址,无需编辑文件,也无需安装任何东西。
服务器地址
https://www.photoaistudio.com/api/mcp
把这个地址粘贴到客户端的自定义连接器或远程 MCP 服务器字段中。你只需在浏览器中授权一次,并可随时在 API 密钥页面撤销。
浏览主题和价格无需账户。生成照片、编辑图片和制作视频需要先登录。
或在本地安装
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