Can not download Capture by Calling API
Jane-Eyre opened this issue · 3 comments
Hi all,
I just successfully created capture by calling Luma AI API and got it shown in my Google browser through given url, but I do not find any api call can help with downloading this capture to my local machine, is there any api doc can assist in that?
Thanks!
Apologize in advance, there is another question:
If there are APIs can assist in downloading this capture, which file is needed and how I leverage these files to embed it into my page and show in browser instead of using slug url?
Hi @Jane-Eyre! You can download the files by calling this function
https://github.com/lumalabs/luma-web-examples/blob/main/src/util/DownloadArtifacts.ts
Once you've got the files you can set source: to the url of the folder containing them
Here's a discord thread where we talk through setting up a simple embedding which might be helpful!
https://discord.com/channels/991613372439212142/1203732262386929684/1203732262386929684
Let me know if you run into issues