Advanced-RVC-Inference / cloud_download.py
smjain's picture
Upload cloud_download.py
329ba5e verified
raw
history blame
462 Bytes
import cloudinary.api
# Assuming you have already configured Cloudinary with your credentials
cloudinary.config(
cloud_name = "djepbidi1",
api_key = "531731913696587",
api_secret = "_5ePxVQEECYYOukhSroYXq7eKL0"
)
public_id = 'test'
# Fetch the asset's details
asset_details = cloudinary.api.resource(public_id, resource_type='video')
# Extract the secure URL of the asset
asset_url = asset_details.get('secure_url')
print("Asset URL:", asset_url)