Add Video to your NFTs

Add Videos to NFTs
In this guide, we will look into how you can add a video or multiple videos to your NFTs, Note that adding the videos will happen during the creation of the token-type (NFT tenplate).
📘
You need to have the URL of the video address that you wish to add.
Learn how to store your media/images on quantum Servers.
Prerequisites
You already have an NFT collection (contract) created using the NFT-API. View the Getting Started guide if you haven't.
contractAddress: The public address of your NFT contract.
Request Endpoint: reference
HTTP
POST /api/v2/token-types/creationsExample Request
We will use the create token-type endpoint and within the request body, we will specify the animationUrls array.
HTTP
Request Body
📘
In the
animationUrlsarray, we have defined the object withtype: videoand itsvalue(The URL of the video address).You can add multiple objects within the
animationUrlsarray with images, videos, and even audio.Read more about
[animationUrls](https://docs.quantum.io/docs/animation-media)
JSON
Response Body
📘The token-type was created successfully with a video included. You can check its status using the
result.creations.idparam.
JSON
NFT Minted Preview
Here is how the minted NFT will look like with a video added:

Last updated