# Vizard

> Submit videos for clipping and retrieve the generated clips.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/vizard

## Actions

### Delete a clipping project

Delete a clipping project.

**Inputs**

- Project ID (`project_id`, text, required): The parameter `projectId` in request URL is the actual projectId returned in previous step (Submit a Video for Clipping).

**Outputs**

- `data` (object): The response from Vizard.

**Example output**

```json
{
  "data": {
    "code": 1
  }
}
```

### Get the status and clips for a project

Get the status and clips for a project.

**Inputs**

- Project ID (`project_id`, text, required): The parameter `projectId` in request URL is the actual projectId returned in previous step (Submit a Video for Clipping).

**Outputs**

- `data` (object): The response from Vizard.

**Example output**

```json
{
  "data": {
    "code": 1,
    "projectId": 1,
    "videos": [
      {
        "videoId": 1,
        "videoTitle": "example",
        "videoUrl": "example"
      }
    ]
  }
}
```

### List connected social accounts

List connected social accounts.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Vizard.

**Example output**

```json
{
  "data": [
    {
      "expiresAt": 1,
      "id": "example",
      "page": "example",
      "pageProfilePic": "example",
      "platform": "example",
      "profilePic": "example",
      "status": "example",
      "username": "example"
    }
  ]
}
```

### Submit a video for clipping

Submit a video for clipping.

**Inputs**

- Lang (`lang`, text, required): Spoken language code, such as en, or auto for automatic detection.
- Prefer length (`prefer_length`, list, required): Output clip lengths. One or more of: `0`, `1`, `2`, `3`, `4`.
- Video URL (`video_url`, text, required): URL of your video source.
- Video type (`video_type`, number, required): The source of the video. One of: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `9`, `10`, `11`, and 3 more.
- Ext (`ext`, text): Video file extension. Supported video file extensions are: mp4, 3gp, avi, and mov. This parameter is **required only** when `videoType` is set to 1. One of: `mp4`, `3gp`, `avi`, `mov`.
- Clip model (`clip_model`, text): The `clipModel` parameter specifies which AI clip model is used to analyze the submitted video and generate clips. One of: `clip_v1` (Clip v1), `clip_v2` (Clip v2).

**Outputs**

- `data` (object): The response from Vizard.

**Example output**

```json
{
  "data": {
    "code": 1,
    "projectId": 1
  }
}
```
