API Docs
/GenerateNFTPlus/v1/
Generate an NFT+ formatted file which is a PNG image that is a container of additional asset files.
Target | https://ogahub.com/API/GenerateNFTPlus/v1/ |
Method | POST |
Authorization | None |
Request Body
Parameter | Description | Type | Required |
file | An array of files to be added to the PNG container. The first file will be the PNG container. | File Array | ✅ |
fileInfo | Information about the files being added into PNG container. The first JSON object corresponds to the PNG container, so it is still required. | JSON | ✅ |
JSON Format for "fileInfo"
The "file" parameter is an array. The arary index of each file will correspond to an entry in the JSON-formatted "fileInfo" parameter.
Below is the format description of a fileInfo entry.
Parameter | Description | Type | Required |
path | The destination path of the file inside the PNG container. | String | ✅ |
binaryFormat | A flag to indicate the file is binary or text format. | Bool (0 or 1) | |
compression | If the file should be compressed or not. Text, XML, JSON, and WAV files benefit from compression. | Bool (0 or 1) |
Example
file
container.png | The container PNG file. Subsequent files are added inside this container image. |
texture.png | The diffuse/color texture applied to the model. |
normal_map.png | A texture to describe the normals or "bumps" on the model. |
specular_map.png | A texture to describe how shiny the model is at specific parts. |
glow_map.png | A texture to describe the parts that glow-in-the-dark, regardless of lighting level. |
model.xml | A model mesh and skeleton represented by an XML file. |
skins.json | A list of skins that are compatible with this model. |
description.txt | A text description of this character to be used in the game UI. |
fileInfo
Note: the first file in the array will be the container file. No fileInfo details are required, but an empty JSON object still needs to be specified.
[ {}, { path: "/Texture/texture.png", binaryFormat: 1, compression: 0, }, { path: "/Texture/normal_map.png", binaryFormat: 1, compression: 0, }, { path: "/Texture/specular_map.png", binaryFormat: 1, compression: 0, }, { path: "/Texture/glow_map.png", binaryFormat: 1, compression: 0, }, { path: "/XML/model.xml", binaryFormat: 0, compression: 1, }, { path: "/JSON/skins.json", binaryFormat: 0, compression: 1, }, { path: "/description.txt", binaryFormat: 0, compression: 1, }, ]
Javascript
This Javascript code can be executed in the developer console of your browser.
var files = [
// First file is always the PNG container.
{data: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAAAAAB5Gfe6AAAACXBIWXMAAC4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PSOZLgnpsDrAT8Tc2FrSpASrx27dXAZfnhGadFd5PGV3cdueVMZzyUHMG6EyjygbgBFiuo6/PH9s9GWEdeNYbW0daY0rMXYSfGkDWOHGNN7yvDe/oC5IkwaIyXOkINBGA/nrgxASQpqoB2s3/eiFWNhQqD13fc2gdVueL3CVbPia11OjcNPjm6IhOs8tXXXNGG3dakg6Fa/eK9SSA5ek1IG5HqZRJ0GqD/k5fNPOf2rLHNgHdN9KdNAcoLP60A6GwrSUTjwStf/QLO0kxEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADmf/0DiSPRRSM+QKoAAAAASUVORK5CYII="},
// Subsequent files are placed inside the PNG container.
{path: "/fireball.png", data: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH0AAACACAMAAAARUpbQAAADAFBMVEUAAAAAAAAHAAAQAAEWAAQcAAAgAAAkAAMnAAQpAAAsAAExAAUzAQA3AAM7AQBAAARDAABCAAdJAAVFAgNMAAFTAAZWAAJPAgVYAQVcAAdeAAFgAARlAAdiAgBoAAJiAgZqAAVxAAJzAARsAgd0AAVtAwBtAwh8AAN2Agd/AAZ3AwGAAQeHAASJAAaCAwGLAQCLAQeRAAOQAAqVAACUAAWWAQd8CgCdAAScAAqfAAWhAQCPBwOhAgenAAqpAAOsAAayAAm1AAOtAwC1AAuJDwC/AAG4AgW+AAnBAAu5BACUEADKAADJAAfEAgPNAADNAAqeEACOFgDWAAbYAADYAAjaAArQBQLFCQDiAAXbAwDhAA7lAADmAAirFADvAAPtAA2+EAHyAADzAQboBQD7AAH5AAz9AAL+AAT8AA7TDgD/AQDeDALLFAD/BAWxHQKeJAD1CgCtIwDrEAG4IQDZGQDuFgCsLADlGwD5FgDMJACoMADyHQD8GwLYJwLgJBDhJQa1NAD+HgD9HgTjJwD2IwDtJgPcKwjNMQHwKwD7KwP9LQDlNg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QCRAKcAlABmAEoAMQAgABAAEQABAOn/zf+S/1b/NP8b/xv/Gf8W/xz/Hf8z/zP/LP84/0b/XP93/6P/y//i/9n/v/+y/8//6P8JABUAMQBRAHYAqwDHANcA4QD5APwA+QDkALkAgwBWACwACwDu/9n/u/+T/2z/f/+m/9X/+/8NABUAGwA3AE0AZwBwAIAAeAB9AGQANgACAOH/1v/C/6H/fv9k/1z/Xv9c/2f/kv/N/+T/1P/G/73/rP+g/5r/k/+f/7L/vv/Z/wIAFQAxAEMARwBOAFQAYQBHAD0ANAA9AFAAcAB1AHYAeACUANAA8wAEAQsBAgH5ANMAuACMAEgA8/+z/5f/lv+Q/6//0f/q/+v/7v/2/wMACgAIAPj/5P/S/7n/qf+6/8v/4v/7/wcABgAAAAEA4f/q//X/AQDs/8b/lv+W/5L/jv98/17/Uv8//yv/Kv8+/0X/X/9v/4//rf+8/87/+f8hADEAQwBUAF0AdwCPAJUArgDEAMQA"},
{path: "/metadata.json", data: "data:application/json;base64,ew0KICAidGl0bGUiOiAiVGVzdCBPR0EiLA0KICAiZGVzY3JpcHRpb24iOiAiYSBzaW1wbGUgZXhhbXBsZSBvZiBhbiBPR0Egd2l0aCBkYXRhIGFzc2V0cyIsDQogICJ2ZXJzaW9uIjogMTAwLA0KICAiYWN0aXZlIjogdHJ1ZQ0KfQ=="},
];
var formData = new FormData();
var fileInfo = [];
// Produce the "fileInfo" parameter.
for(const file of files) {
var data = file.data;
var binaryFormat = 0;
var compression = 0;
if(data.startsWith('data:text')
|| data.startsWith('data:application/json')) {
compression = 1;
}
else if(data.startsWith('data:audio/wav')) {
compression = 1;
binaryFormat = 1;
}
else {
binaryFormat = 1;
}
var info = {
binaryFormat: binaryFormat,
compression: compression,
};
if(typeof(file.path) !== 'undefined')
info.path = file.path;
fileInfo.push(info);
}
formData.append("fileInfo", JSON.stringify(fileInfo));
// Load the files.
var filesLoaded = 0;
var fileBlobs = {};
for(const file of files) {
var data = file.data;
var path = file.path;
if(typeof(path) === 'undefined')
path = '';
(function(data, path) {
fetch(data)
.then(result => result.blob())
.then(blob => {
fileBlobs[path] = blob;
filesLoaded = filesLoaded + 1;
if(filesLoaded == files.length) {
submit();
}
});
})(data, path);
}
submit = () => {
for(const file of files) {
var path = file.path;
if(typeof(path) === 'undefined')
path = '';
var blob = fileBlobs[path];
if(blob) {
formData.append('file[]', blob);
}
}
$.ajax({
url: 'https://ogahub.com/API/GenerateNFTPlus/v1/',
data: formData,
cache: false,
contentType: false,
processData: false,
method: 'POST',
success: function(result) {
if(result.error) {
console.log("Error:");
console.log(result.error);
}
else {
console.log("Success:");
console.log(result);
console.log("URL:");
console.log(result.url);
console.log("Open in Builder:");
console.log("https://ogahub.com/Builder/?url=" + result.url);
}
},
error: function(result) {
console.log("Error:");
console.log(result);
},
});
}
© 2023 - All Rights Reserved