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)