# Dynapictures

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.

- **Category:** images & design
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 7
- **Triggers:** 0
- **Slug:** `DYNAPICTURES`
- **Version:** 20260307_00

## Tools

### Create Workspace

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the new workspace. Required field. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Workspace

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspace_id` | string | Yes | The ID of the workspace to be deleted. All image templates, media library files, and generated images will be permanently deleted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Templates

**Slug:** `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.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Workspaces

**Slug:** `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.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Unsubscribe Webhook

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `eventType` | string | Yes | Type of the event to subscribe for, the value that was passed when subscribing this webhook. |
| `targetUrl` | string | Yes | The URL of the REST endpoint that receiving notifications. |
| `templateId` | string | Yes | The UID of the image template, the value that was passed when subscribing this webhook. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Workspace

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The new name for the workspace |
| `workspace_id` | string | Yes | The unique identifier of the workspace to update |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upload Media Asset

**Slug:** `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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `file` | object | No | The image file to upload. |
| `file_name` | string | No | Name of the file to upload (for testing with file_content) |
| `file_content` | string | No | Base64 encoded file content (for testing purposes) |
| `workspace_id` | string | Yes | The identifier of the workspace where the image will be uploaded. |
| `file_mimetype` | string | No | MIME type of the file (for testing with file_content) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
