luma-web-examples icon indicating copy to clipboard operation
luma-web-examples copied to clipboard

Can not download Capture by Calling API

Open Jane-Eyre opened this issue 1 year ago • 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!

Jane-Eyre avatar Mar 22 '24 03:03 Jane-Eyre

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?

Jane-Eyre avatar Mar 22 '24 06:03 Jane-Eyre

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

haxiomic avatar Mar 22 '24 18:03 haxiomic

I'm getting the following error message, both on Windows and Linux.

image

zaghetto avatar May 11 '24 01:05 zaghetto