Create NFT template (token-type)

This page explains how to create an NFT template (token-type).

This endpoint allows you to create an NFT template which you can use to mint NFTs from. A more technical representation of the template is the token type.

This means you just have to define the NFT template once with parameters like its name, image, and description.

Request Endpoint: reference

 POST /api/minter/contracts/{contractId}/token-types

Request Body:

nameThe name of the token-typeStringโœ…
descriptionThe description of the token-typeStringโœ…
imageThe image URL for the token-type that will be displayedStringโœ…
    "name": "My first NFT",
    "description": "Venly",
    "image": ""

Response Body:


Save the id from the response body. This is the token type ID.

  "id": 1,
  "confirmed": false,
  "name": "My first NFT",
  "description": "Venly",
  "fungible": false,
  "burnable": false,
  "image": "",
  "imageThumbnail": "",
  "imagePreview": "",
  "currentSupply": 0,
  "animationUrls": [],
  "attributes": [],
  "transactionHash": "0x60bc12e2a99bb18b05b62099f395b41f25f33136a04ff4cb811a92ebce59c366",
  "storage": {
    "type": "cloud",
    "location": "{id}"

Whatโ€™s Next

Venly offers more complex NFT configurations, such as setting a max supply, adding mint numbers, and IPFS storage.
For a full overview please check out NFT Configuration.