How to add Image into SCZ using authoring C++ API

My application uses Stream Cache C++ APIs to generate SCZ file. Now there is requirement that, export Image file into SCZ file, and I am not sure how to do it.
I checked documents, and knew that I can use Insert function to add Image into SC::Model and get ImageKey, after that, how to create an instance of ImageKey, I have no idea. Maybe my idea is totally wrong here. Or I must use Mesh, add one face, and apply Texture?
My question is, what is the correct way to export Image to SCZ file and then Hoops viewer may show the Image properly after loading the scz file.

Thanks

Hello,

Please have a look at the Visual Studio solution authoring_samples found in the directory:
HOOPS_Visualize_Web_2026.X.X\authoring\libsc\examples

You can do a search in Visual Studio for the word “imagekey” to find the relevant examples for your particular case.