Media Upload
Media Upload Flow
Media upload for NFT metadata is done via Media MS. You will use the call to generate a storage space in our encrypted vault for a particular piece of media. An ID will be returned, use this when creating your draft token(s) as the "fileId".
POST /api/smart-contract/v1/file
//Sample Response:
{
"id": "8441db5b-bd29-4af0-be88-e38fef12dc04",
"name": "NFTNYC.jpg",
"hash": "842bc979-1d7a-06fb-57a4-9653fbb8a6bd"
}
Here is an example of how the request should look:

Supported Media and File Types
Max file size limitations:
- For all primary files, 100MB
- For all private data, 25MB
Image
Extension | Resolution |
---|---|
PNG JPEG (or JPG) GIF SVG TIFF | PNG (Chrome | Safari) JPEG (or JPG) (Chrome | Safari) GIF (Chrome | Safari) SVG (Chrome | Safari) TIFF (Safari) |
Video
Extension | Resolution |
---|---|
MP4 MOV MKV WEBM or HTML5 | MP4 (Chrome | Safari) MOV (Chrome | Safari) MKV (Chrome) WEBM or HTML5 (Chrome) |
Audio
Extension | Resolution |
---|---|
MP3 AAC Ogg FLAC WAV AIFF; AIF |
3D Modeling
Extension | Resolution |
---|---|
OBJ FBX MAX С4D MA/MB BLEND STL gLTF |
Updated 3 months ago