> For the complete documentation index, see [llms.txt](https://docs.truffle.wtf/truffle-help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.truffle.wtf/truffle-help-center/utilities/json-generation.md).

# JSON Generation

Struggling to generate the JSON files for your generative drop, or just unsure what JSON even is? Truffle has a tool to help generate everything you need following the Metaplex Standard! You can find this feature under  "Utilities" on side menu, followed by "JSON Generation".

<figure><img src="https://1617683679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpez1MibrxSl4Nqb9cjrB%2Fuploads%2FZQ7oBlTUek4AOsQmxHq6%2FScreenshot%202023-10-25%20at%2022.08.29.png?alt=media&amp;token=9879e2ad-c36e-49e5-9998-8991095f0c48" alt=""><figcaption></figcaption></figure>

### Providing Images

<figure><img src="https://1617683679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpez1MibrxSl4Nqb9cjrB%2Fuploads%2FQcy1vb8JGhMHL0EYJtta%2FScreenshot%202023-10-25%20at%2022.09.33.png?alt=media&amp;token=698b0b97-8ed9-4c8b-8263-5f28eaedd506" alt=""><figcaption></figcaption></figure>

Once you are in the tool, you'll need to provide the images you'd like to generate the JSON files for. We support the following image formats: png, jpg, svg and gifs which can be of any size. The images must be named sequentially starting from 0, for example: 0.png, 1.png, 2.png and so on. &#x20;

{% hint style="info" %}
Depending on the number of images and the size, it might take a while to load them into the UI so please be patient.
{% endhint %}

### Default Details

#### Basic

<figure><img src="https://1617683679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpez1MibrxSl4Nqb9cjrB%2Fuploads%2F5jEofVaP7PGRQjq7FSLu%2FScreenshot%202023-10-25%20at%2022.10.39.png?alt=media&amp;token=1d3c0b95-1e76-4cf4-b96f-41edacf0df74" alt=""><figcaption></figcaption></figure>

From the Basic tab you can add the base details for your collection, these details will be used for each NFT unless if they have been overridden:

* Name ( as well as if you want to include the incremented number along with the name )
* Description
* Link
* Traits ( which will be added on all the NFTs )

#### Advanced

<figure><img src="https://1617683679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpez1MibrxSl4Nqb9cjrB%2Fuploads%2FZn6evrSqFGaiZP8VDJyV%2FScreenshot%202023-10-25%20at%2022.17.06.png?alt=media&amp;token=9c543e4f-5b4b-4b46-9810-2f6df20c73a9" alt=""><figcaption></figcaption></figure>

On the Advanced Tab if you have a single asset which you'd like to duplicate the JSON files for with the correct details you can.&#x20;

### Overriding Default Details

<figure><img src="https://1617683679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpez1MibrxSl4Nqb9cjrB%2Fuploads%2Fq9GjvCGXffImbDpXiSuO%2FScreenshot%202023-10-25%20at%2022.29.58.png?alt=media&amp;token=4907cb9a-8f05-46f1-84b4-8f5411b44542" alt=""><figcaption></figcaption></figure>

By clicking on one of the images on the left panel, the right panel will change allowing you to override the specific details which includes:&#x20;

* Name
* Description
* Link
* Traits ( where you can choose to override the default traits or have these traits along side the default ones )

{% hint style="info" %}
Want to get back to the default details panel? Just click on the selected image and you will be shown the default details panel.&#x20;
{% endhint %}

### Generate

Once all the values have been entered simply click `Generate` and a zip of the JSON files will be downloaded ready to be used in Truffle.
