mergekit is the tool you need to do this
https://github.com/cg123/mergekit
you can slice off layers and blend models with different strategies.