Best answer by Mansi Rajeshbhai
Nutanix publicly provide REST API support to automate the task. In regards to your question, you can check out foundation API to automate Imaging node process, where you can provide configuration file in POST method.
Please follow following article on Next Community that can be helpful to work on REST APIs.
Mansi Rajeshbhai Vankawala