create_asset
Generate NFT assets by uploading local files or base64 data to specified collections. Supports setting titles, descriptions, editions, and community sharing options for ERC721 and ERC1155 standards.
Instructions
Create a new NFT asset from a local file or base64 data
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contractId | Yes | ID of the collection to mint the asset in | |
description | No | Asset description (optional, max 255 characters) | |
editions | No | Number of editions (for ERC1155 collections only, 1-1000) | |
fileData | No | Base64 encoded file data (for Claude Desktop) | |
fileName | No | Original filename (required when using fileData) | |
filePath | No | Absolute path to the media file (for local files) | |
location | No | Location where the asset was created (optional, max 100 characters) | |
mimeType | No | MIME type of the file (required when using fileData, e.g., 'image/png') | |
shareWithCommunity | No | Make the asset discoverable by the community (optional, default: false) | |
title | Yes | Asset title (3-120 characters) |
Input Schema (JSON Schema)
{
"properties": {
"contractId": {
"description": "ID of the collection to mint the asset in",
"type": "string"
},
"description": {
"description": "Asset description (optional, max 255 characters)",
"maxLength": 255,
"type": "string"
},
"editions": {
"description": "Number of editions (for ERC1155 collections only, 1-1000)",
"maximum": 1000,
"minimum": 1,
"type": "number"
},
"fileData": {
"description": "Base64 encoded file data (for Claude Desktop)",
"type": "string"
},
"fileName": {
"description": "Original filename (required when using fileData)",
"type": "string"
},
"filePath": {
"description": "Absolute path to the media file (for local files)",
"type": "string"
},
"location": {
"description": "Location where the asset was created (optional, max 100 characters)",
"maxLength": 100,
"type": "string"
},
"mimeType": {
"description": "MIME type of the file (required when using fileData, e.g., 'image/png')",
"type": "string"
},
"shareWithCommunity": {
"default": false,
"description": "Make the asset discoverable by the community (optional, default: false)",
"type": "boolean"
},
"title": {
"description": "Asset title (3-120 characters)",
"maxLength": 120,
"minLength": 3,
"type": "string"
}
},
"required": [
"contractId",
"title"
],
"type": "object"
}