Late to the party (as usual) but I don't think you can use their public REST API to build the images. However AFAIK The CLI uses an undocumented GrpahQL API and I think there is a way to put the CLI in debug mode and get it to output the GraphQL API calls it makes for a given command.
Eh I don't know if it's interesting enough for a video! I just keep all my messaging apps on one space and the rest of my stuff on another. So I don't get distracted.