export image model version when loading

This commit is contained in:
Wagner Bruna 2025-06-09 18:34:48 -03:00
parent 2a21635535
commit fa65b23de3
5 changed files with 46 additions and 8 deletions

View file

@ -172,6 +172,11 @@ struct sd_load_model_inputs
const bool quiet = false;
const int debugmode = 0;
};
struct sd_load_model_outputs
{
int status = -1;
const char * model_version = ""; // SDVersion
};
struct sd_generation_inputs
{
const char * prompt = nullptr;