The Ain object for sign and send transaction to AIN blockchain.
The Ainize object for send request to AIN blockchain.
The base url of api server of AINFT Factory.
The subpath of api server request url.
Posts a request to generate an image.
The ID of the app where the text-to-art task will be used.
The Discord object that contains the IDs of the user, guild, channel, and message.
The request parameters used for the text-to-art task.
A promise that resolves with the task id for the task or null.
Gets the request parameters used for a text-to-art task.
The ID of the app where the text-to-art task will be used.
The ID of the text-to-art task.
Gets the result of a text-to-art task.
The ID of the app where the text-to-art task will be used.
The ID of the text-to-art task.
Gets the transaction hash for a text-to-art task.
The ID of the app where the text-to-art task will be used.
The ID of the text-to-art task.
Sends request that include form to api server of AINFT Factory. Used to upload asset data.
The method of Http request.
The suffix of request url.
The string fields of form.
The file fields of form.
Returns response of api request.
Sends request to api server of AINFT Factory. Authenticate by signing data.
The method of Http request.
The suffix of request url.
The data to be included in the api request.
Returns response of api request.
Sends request to api server of AINFT Factory. Used when authentication is not required.
The method of Http request.
The suffix of request url.
The data to be included in the api request.
The headers of Http api request.
Returns response of api request.
Sets base url.
New base url to be set to base url of api server of AINFT Factory.
Sign the data with the private key that the user has registered.
The data to sign.
Returns signature string.
Generated using TypeDoc
This class supports using text-to-art ai.
Do not create it directly; Get it from AinftJs instance.