Generative Art
Generative collections use code (typically JavaScript/HTML) to produce unique artwork for each token. The code runs at mint time, creating a one-of-a-kind output based on a random seed.
How it works
Section titled “How it works”- Upload your code — Package your generative script as a zip file
- Configure capture — Define how the output is captured as an image or video
- Test and preview — Generate test outputs to verify your code works
- Deploy — Collectors mint tokens, each generating a unique piece
Capture settings
Section titled “Capture settings”The capture system renders your code and produces a static asset for each token:
- Trigger type — How the capture is initiated (delay-based or selector-based)
- Delay — Time to wait before capturing (for animation-based pieces)
- Viewport — The rendering resolution
- Selector — CSS selector to target for capture
- Selector type —
SVGorELEMENT— determines how the selector is used for capture - Capture area — Capture the entire viewport or a specific element via CSS selector
- GPU rendering — Enable for WebGL/GPU-intensive code
Edition types
Section titled “Edition types”Generative collections support two supply models:
- Limited — Fixed number of outputs
- Open — Unlimited outputs
Curation
Section titled “Curation”Creators can curate their generative output:
- Allowed hashes — Whitelist specific outputs by their hash
- Required parameters — Enforce specific generation parameters
Deploy without sale
Section titled “Deploy without sale”Generative collections (and series) support deploying a contract without configuring a sale. This is useful when you want to deploy the contract first and configure the sale later, or when minting will be handled through a custom integration.
Sale compatibility
Section titled “Sale compatibility”Generative collections support:
- Fixed price sales (Open and Limited)
- Dutch auction sales (Open and Limited)
- Ranked auction sales — Limited only, public only
Ranked auctions are not available for open generative (maxTotal = 0) or for gated access. See the support matrix for details.
Related
Section titled “Related”- Collections — Collection types overview
- Media & Storage — Asset upload and storage
- Creating a Collection — Step-by-step guide