G'MIC QT Plugin Interface

Indeed, GIMP defines a complete plug-in API (that G’MIC uses for its plug-in).
If you want to call the G’MIC plug-in executable with some parameters, then look at the “stand-alone” version, that can offer this possibility: