---
title: How can I replace the media in my video with another media or my own?
description: Replace a scene's media in invideo AI with the Magic Box, new generated media, stock media or your own uploads.
---
You can replace the media in a scene in four ways:

- Ask the Magic Box.
- Generate new media.
- Shuffle or search the stock media library.
- Upload your own media.

## Ask the Magic Box

Type a command in the Magic Box to replace the media in a scene. For example:

- Change the 2nd media to _____
- Replace the media in scene 2 with _____

<Banner variant="info">

A video opens in Theatre mode. Click **Edit & Download** to leave Theatre mode and show the Magic Box under the video.

</Banner>

<Image src="/images/help/s187.webp" alt="Clicking Edit & Download to leave Theatre mode and show the Magic Box" />

## Generate new media

1. Click **Edit**, then **Media**.

<Image src="/images/help/s188.webp" alt="The Edit menu with the Media option" />

2. Go to **Generative Media** and click **+ Generate new media**.

<Image src="/images/help/s189.webp" alt="The Generative Media tab with the Generate new media button" />

3. Choose **Text to clip** or **Text to image**.
4. Type your text. For a clip, also choose its length.

<Image src="/images/help/s190.webp" alt="The Generate a media window with a prompt typed in the text box" />

<Banner variant="info">

Generating images and clips uses credits. A clip costs more the longer it is. See <a href="https://invideo.io/help/billing/how-do-credits-work/" target="_blank">how credits work</a>.

</Banner>

5. Click the new media to preview it.

<Image src="/images/help/s191.webp" alt="A preview of a generated image" />

## Shuffle or search the stock media library

1. Click the **circular arrow** button under the media preview to see a new stock media option with each click.

<Image src="/images/help/s192.webp" alt="The circular arrow button under a scene's media preview" />

2. Click **Stock media** to see all the options. Click the history icon to see the media you saw before.

<Image src="/images/help/s193.webp" alt="The Stock media button and the circular arrow button on a scene's media" />

<Image src="/images/help/s194.webp" alt="The Stock media tab with related media and the history icon" />

3. To see more choices, search the stock media library. You can browse a large set of images and videos.

<Image src="/images/help/s195.webp" alt="Search results in the stock media library" />

4. Click **all** to switch between images and videos.
5. Click the settings button to choose the media libraries you want to see media from.

<Image src="/images/help/s196.webp" alt="The settings button in the stock media library" />

<Image src="/images/help/s197.webp" alt="The list of media libraries to choose from" />

## Upload your own media

1. Click **Uploaded media**, then **Upload media**.

<Image src="/images/help/s198.webp" alt="The Uploaded media tab with the Upload media button" />

<Image src="/images/help/s199.webp" alt="Uploaded media ready to use in a scene" />

2. Click **Proceed**, then **Save changes**, and preview the video.