how to generate api key by duplicating the space ?

#9
by deeduckme - opened

Warning
Warning: Get upload certificate failed, code: InvalidApiKey, message: Invalid API-key provided.

I have this as error

could somebody help ?

This is the biggest problem right now. See other messages.

someone can solve this ?

Wan-AI org

If you want to replicate this demo for external use, you need to apply for an app key from the Dashscope official site. EN | CN). This document explains how to get an app key to use the Qwen model API. The app key you get this way still works for calling the Wan2.1 services.

With several difficulties i managed to obtain an api key but it still doesn't work! Please make it avaiable on a zeroGPU space or find other solutions, i managed to copy an other space that uses it locally but it's not easy to personalize. Ty for the good work!

yes same for me ! it should be easy to use - can you please help ?

If you want to replicate this demo for external use, you need to apply for an app key from the Dashscope official site. EN | CN). This document explains how to get an app key to use the Qwen model API. The app key you get this way still works for calling the Wan2.1 services.

Did this get resolved? I have an alibaba/dash scope api key, but cloning the space still generates the same error.

Why do we need an api if its open source? cant someone just make a new space from scratch

There is already another working space with this model & you can try with duplicating space:
https://huggingface.co/spaces/fffiloni/Wan2.1

I made it work using dashscope API key:

https://huggingface.co/spaces/NihalGazi/Wan2.1-DUPLICATE

I also increased the request buckets there by 100x, so more people can generate at a time

[Regarding the certificate issues, I have no knowledge why it's happening with others. Perhaps, check if you pasted the right API key. It should be: sk-blahblah69420...]

I made it work using dashscope API key:

https://huggingface.co/spaces/NihalGazi/Wan2.1-DUPLICATE

I also increased the request buckets there by 100x, so more people can generate at a time

[Regarding the certificate issues, I have no knowledge why it's happening with others. Perhaps, check if you pasted the right API key. It should be: sk-blahblah69420...]

Hmm, I an still getting the following error:
Warning
Warning: Get upload certificate failed, code: InvalidApiKey, message: Invalid API-key provided

Did you use the default workspace api? And did you have to make any changes on the alibaba cloud site?

@thewhiterider27 , I did not make any changes on the alibaba cloud site. I am using the default workspace API.

Thanks for the follow up. I am still receiving the same error, using the default workspace api. Maybe I will have to contact alibaba

I think the problem is the Wan models on alibabacloud model studio are only available to chinese users. With my account on the international site, I cannot see and activate any Wan model, only Qwen. Therefore I think my dashscope API key is not valid for this space. Unfortunately, creating an account for the chinese site requires a chinese phone number.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment