# Duply API Documentation

This is the complete API documentation for connecting to the Duply API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Duply connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/duply/actions/{actionSlug}/run
```

## Duply actions

- POST `generate-image` Generate Image
- POST `generate-video` Generate Video
- GET `get-generated-image-detail` Get Generated Image Detail
- GET `get-generated-video-detail` Get Generated Video Detail
- GET `get-template-detail` Get Template Detail
- GET `get-usage` Get Usage
- GET `list-generated-images` List Generated Images
- GET `list-generated-videos` List Generated Videos
- GET `list-my-templates` List My Templates
- GET `test-authentication` Test Authentication
