# Dynapictures — how to use (mcp.ai)

Connect your Dynapictures account and use 7 tools for images and design straight from your AI agent. Connect with your own API key. Generate Hundreds of Personalized Images in Minutes. DynaPictures is a cloud-based solution for dynamic image generation. Connect your preferred data source like Google Sheets to create personalized images and display your client names, coupons, or virtually anything else.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_dynapictures?ms=1787298660000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `dynapictures_create_workspace`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/dynapictures`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/dynapictures/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/dynapictures/create/workspace` — Tool to create a new workspace for organizing templates, images, and media library assets. Use when you need to establish a new workspace within a Dynapictures account.
  - body: { name: string }
- `POST https://api.mcp.ai/api/dynapictures/delete/workspace` — Tool to delete a workspace and all associated content (templates, media, generated images). Use when permanently removing a workspace. Warning: Deletion is permanent and cannot be undone.
  - body: { workspace_id: string }
- `POST https://api.mcp.ai/api/dynapictures/list/templates` — Tool to get all image templates that are ready and have the 'Sync to Zapier' checkbox enabled. Use when you need to retrieve available templates for image generation.
- `POST https://api.mcp.ai/api/dynapictures/list/workspaces` — Tool to get all workspaces associated with the API key. Use when you need to retrieve workspaces the authenticated user is a member of.
- `POST https://api.mcp.ai/api/dynapictures/unsubscribe/webhook` — Tool to unsubscribe from webhook notifications by providing the same parameters used during subscription. Use when you need to stop receiving notifications for a specific webhook.
  - body: { eventType: string, targetUrl: string, templateId: string }
- `POST https://api.mcp.ai/api/dynapictures/update/workspace` — Tool to update an existing workspace's details by workspace ID. Use when you need to modify a workspace's name or properties.
  - body: { name: string, workspace_id: string }
- `POST https://api.mcp.ai/api/dynapictures/upload/media/asset` — Tool to upload an image and create a media asset object. Use when you need to upload an image to Dynapictures workspace for later use in image generation.
  - body: { file?: object, file_name?: string, file_content?: string, workspace_id: string, file_mimetype?: string }

## Example prompts
- "What can I do in Dynapictures?"
- "Show me a summary of my Dynapictures account"

## More
- Page: https://mcp.ai/dynapictures
- Agent spec (llms.txt): https://mcp.ai/dynapictures/llms.txt
- Postman collection: https://mcp.ai/dynapictures/postman.json
