> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ditto

> Swap yourself, your avatars or a new look into any video.

Ditto takes a video you already have and swaps the people in it for your avatars, or re-renders the whole video in a new style. The motion, timing and camera of the original stay the same. Open **Ditto** under **Create** in the sidebar.

## Start a video

The Ditto home has **Start generating**, **Browse trends**, **History** and a **Discover** grid of templates. Search templates by what their videos show, or browse the tabs.

Open a template to compare its source and its Ditto, then click **Make your own** to start from it.

## 1. Pick a source video

Drop a video, click **Upload video**, or choose from **Recent videos** or **See all assets**. You can also paste a link to a TikTok, Instagram Reel, YouTube video or video file.

* Ditto takes MP4 and MOV videos.
* Ditto uses up to 30 seconds of a video, and at least 4 seconds. For a longer video, pick which 30 seconds to use, then click **Use this clip**.
* Click **Trim** to use part of the video, or **Change** to pick another.
* The result keeps the source video's aspect ratio.

## 2. Choose who goes in

Click **Add avatar**, then **Upload photos** or **Browse or create avatars**. You can add up to 10 avatars. Ditto replaces the main person, or distinct people in the order you added avatars. Your Cast avatars appear here too.

Add an optional prompt to direct the edit, such as “replace the woman on the left.” Type `@` to reference an avatar. **Write for me** drafts one. You need an avatar or a prompt to generate.

## Restyle a video

Switch from **Motion transfer** to **Style transfer** to re-render the whole video in a look, such as an animation style. Click **Choose a style** and pick from **Melius styles** or your team's **Custom styles**.

To make a custom style, click **New style** and add up to six images of the look you want. Custom styles are shared with your team.

## 3. Generate

The **Generate** button shows the credit cost. The gear beside it opens **Video settings**, where you choose the resolution: 480p, 720p or 1080p. Style transfer renders in 720p or 1080p.

Ditto charges your team's credits. If you don't have enough, the take stays locked until you **Upgrade plan** or **Buy credits**.

## History, sharing and downloads

Click **History** to see **Your videos** and **Team videos**. Open a video to:

* **Download** it.
* **Share** it with a link.
* **Use as source** to edit the result again.
* Make **Another variation**, or **Edit inputs** and generate again.

A failed video shows **Try again**.

## Use Ditto outside the app

* [Ditto in your agent](https://docs.melius.com/mcp/ditto.md) — Claude, ChatGPT, Codex and other MCP clients.
* [Ditto API](https://docs.melius.com/api/ditto.md) — the REST API.
* [`mel ditto`](https://docs.melius.com/cli/ditto) — the CLI.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.