playlist_cover_from_track
Set a Spotify playlist cover using album art from any track. Pick the track by playlist position or URI, or default to the first track with art.
Instructions
Set the playlist cover from a track album art: pick by position in the playlist, pass any track URI, or default to the first track with art. Fetches the image (largest JPEG candidate ≤ 256 KB) and PUTs /playlists/{id}/images. Quota: 🟢 GET + PUT (+1 image fetch, disclosed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| position | No | 0-based playlist position of the track to source art from | |
| track_uri | No | Any track (spotify:track: URI or bare ID) whose album art to use. Overrides position | |
| playlist_id | Yes | Playlist to re-cover (ID or spotify:playlist: URI) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |