---
title: MediaCreateInput - Shop Partners API
description: Input for creating a new shop video.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaCreateInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MediaCreateInput.md
---

# Media​Create​Input

input\_object

Input for creating a new shop video.

## Fields

* media​Image​Id

  [ID](https://shopify.dev/docs/api/shop-partners/latest/scalars/ID)

  The Shopify Media Image ID in GID format (e.g., gid://shopify/MediaImage/456).

* preview​Image​Url

  [URL!](https://shopify.dev/docs/api/shop-partners/latest/scalars/URL)

  non-null

  The URL of the preview image for the video.

* related​Products

  [\[Related​Product​Input!\]!](https://shopify.dev/docs/api/shop-partners/latest/input-objects/RelatedProductInput)

  required

  List of products and variants related to this video.

* video​Id

  [ID](https://shopify.dev/docs/api/shop-partners/latest/scalars/ID)

  The Shopify Video ID in GID format (e.g., gid://shopify/Video/123).

* video​Url

  [URL!](https://shopify.dev/docs/api/shop-partners/latest/scalars/URL)

  non-null

  The URL of the video.

***

## Mutations using this input

* [media​Create.input](https://shopify.dev/docs/api/shop-partners/latest/mutations/mediaCreate#arguments-input)

  ARGUMENT

***

## Map

### Mutations using this input

* [media​Create.input](https://shopify.dev/docs/api/shop-partners/latest/mutations/mediaCreate#arguments-input)