import matplotlib.pyplot as plt
import requests
from PIL import Image
from io import BytesIO
# Achando o ID
nome_musica = 'YoungBoy Never Broke Again - House Arrest Tingz'
id_mus = dados[dados['artists_song'] == nome_musica]['id'].iloc[0]
# Na API
track = sp.track(id_mus)
url = track["album"]["images"][1]["url"]
name = track["name"]
# carregando a imagem
response = requests.get(url)
img = Image.open(BytesIO(response.content))
# Plotando a imagem
plt.imshow(img)
plt.xlabel(name, fontsize=10)
plt.show()