Quote a Canvas
quote_canvasThe exact credits for a Spotify Canvas, before anything is charged. Returns quote_id, credits and a breakdown. Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional visual style | |
| source | No | ai-video (default), ai-image, stock-photo or stock-video | ai-video |
| quality | No | AI video model tier: standard or high | standard |
| seconds | No | Canvas length in whole seconds, 5–8 (default 8). Spotify loops it, so no part of the song is chosen | |
| song_id | Yes | The song id | |
| metadata | No | Your own JSON (an order id, for example): kept with the video and returned in its request. Quote and create with the same value | |
| direction | No | Optional mood, motifs or references; the concept still comes from the cover | |
| resolution | No | 1080p (1080×1920) or 720p | 1080p |
| variations | No | 1–4 different Canvases | |
| callback_url | No | An https URL to POST the finished video to (signed; see Callbacks). Quote and create with the same value | |
| feature_artist | No | Whether the Canvas shows the artist (AI sources; needs artist photos for "always") | auto |