Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not download Capture by Calling API #23

Open
Jane-Eyre opened this issue Mar 22, 2024 · 3 comments
Open

Can not download Capture by Calling API #23

Jane-Eyre opened this issue Mar 22, 2024 · 3 comments

Comments

@Jane-Eyre
Copy link

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
Copy link
Author

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?

@haxiomic
Copy link
Contributor

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

@zaghetto
Copy link

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants