Quote a lyric video
quote_lyric_videoThe exact credits for a lyric video, before anything is charged. Returns quote_id, credits (total), credits_per_video 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. A quote is valid for 30 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | Yes | {"mode":"existing","id":"look_…"} to reuse a saved Look, or {"mode":"new","category":"…","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"…","feature_artist":"auto"} to have one designed | |
| trim | No | Render only this section of the song (at least 8 seconds) | |
| display | No | Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes | |
| 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 | |
| variations | No | 1–4 different New Looks, one video each (an Existing Look renders one) | |
| callback_url | No | An https URL to POST the finished video to (signed; see Callbacks). Quote and create with the same value | |
| aspect_ratios | No | Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square) |