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:

758

Supported Media and File Types

Max file size limitations:

  • For all primary files, 100MB
  • For all private data, 25MB

Image

ExtensionResolution
PNG

JPEG (or JPG)

GIF

SVG

TIFF

PDF
PNG (Chrome | Safari)

JPEG (or JPG) (Chrome | Safari)

GIF (Chrome | Safari)

SVG (Chrome | Safari)

TIFF (Safari)

Video

ExtensionResolution
MP4

MOV

MKV

WEBM or HTML5
MP4 (Chrome | Safari)

MOV (Chrome | Safari)

MKV (Chrome)

WEBM or HTML5 (Chrome)

Audio

ExtensionResolution
MP3

AAC

Ogg

FLAC

WAV

AIFF; AIF

3D Modeling

ExtensionResolution
OBJ

FBX

MAX

С4D

MA/MB

BLEND

STL

gLTF