Custom snapshot workflow for IP Camera app

Greetings,
I’m using the IP Camera app for iOS (which streams rtsp and http streams). I’ve got the devices setup and working well as a live video monitor using the generic camera platform.

From what I can tell, the app does not provide a “snapshot” function (returning a photo). Instead, you can call /getsnapshot and it will capture an image locally and return the filename, then you can call /getarchives/filename to retrieve the image. You can also call /getarchivelist to get a list of snapshots that were taken.

has anyone already solved this?
I’m considering a custom component to solve this, but wanted to see if others had ideas that i’m overlooking. Can I run curl scripts and chain the request somehow to enable the “camera.snapshot” service to execute the “trigger snapshot, then retrieve snapshot” workflow?

thanks.

used shell_command: to execute a script that curls the devices getsnapshot request, grabs the filename, copies photo from the device to the ha server, then added a gallery view to pickup the local images. https://github.com/TarheelGrad1998/GalleryPanel/tree/master/files.