question

ffedericoni avatar image
ffedericoni asked ·

image file on the code tab for an alex hosted skill

may i load an image file on the code tab for an alex hosted skill and then use it inside my lamba_function.py ? How?

aplask sdk
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Gaetano@Amazon avatar image
Gaetano@Amazon answered ·

Hello and thanks for your post.

Alexa-hosted skills provide a 5GB S3 bucket, and you should generate a pre-signed URL for every file you want to access.

Please check the following reference about how to access your bucket using Python:
https://developer.amazon.com/docs/hosted-skills/build-a-skill-end-to-end-using-an-alexa-hosted-skill.html#use-media-files-with-python

Kind regards,
Gaetano

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.