Similar NFTs finder with file

[apis/nftport/v0/Similar NFTs finder with file]

Returns visually and contextually similar images to the uploaded image with file. Requires NFTPort account. Find similar NFTs w/file upload

Keywords: web3, blockchain, crypto, nft, product, dynamic, upload, file, image, animation, minting, ethereum, polygon

Input ports

  • query:

      "file": {"data": string, "fileName": string, "contentType": string},
      optional "page_number": number,
      optional "page_size": number

    File receives base64-encoded binary file contents. page_number and page_size are optional.

  • params: {"api_key": string}

Output ports

  • data:

      "response": "OK",
      "nfts": [
          "chain": ("ethereum" or "polygon"),
          "contract_address": string,
          "token_id": string,
          optional "cached_file_url": string,
          optional "metadata": {
            "description": string,
            "background_color": string,
            "external_url": string,
            "image": string

  • response:

    {"status": number, "headers": {string: any}, "body": string}

    Sends the original response.

  • error: {"error": string, "details": any}

Last updated