Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude metadata for certain layers #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haseeb1431
Copy link

There are times when we have multiple layers while buidling the NFT art but some of the layers are too minor details worth adding into the metadata. Hence we need a way to skip the metadata for certain layers even if they are used for the art generation.

Solution is to add an extra option excludeMetadata at the layer level to skip the metadata for the specific layer. User doesn't need to speicify this option by default as it is false. Only if we want to exclude a layer from the metadata then it will be added to the layer configuraiton. Following is an example


{
        name: "Eye color",
        options: {
          excludeMetadata: true,
          displayName: "Awesome Eye Color",
        }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant