IP Library Granted Patent US 12707129
Granted Patent B1
US 12707129 · App. 18/542,306 · Granted Aug 11, 2026

Scene-aware generation of music visualizations

Inventors: Ian James Wallace (Berkeley, CA); Chong Huang (Santa Clara, CA); Kevin Thomas Merchant (Oakton, VA); Murad Al Haj (Mountain View, CA); Surbhi Singhania (San Mateo, CA); Mahesh Goud Tandarpally (Seattle, WA); Oytun Akman (Oakland, CA); Kevin Karsch (Oakland, CA); Tal Bar-Or (San Francisco, CA)
Assignee: Amazon Technologies, Inc.
H04N21/816G06T11/00H04N5/74H04N21/8113H04N21/8547
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12707129
App. No.
18/542,306
Granted
Aug 11, 2026
Kind
B1
Abstract

Techniques are generally described for scene-aware generation of music visualizations. An example method includes receiving a music sample and a projection surface image, and generating a constraint image based on the projection surface image. The example method also includes generating a sentiment analysis of the music sample and generating an intermediate prompt using the music sample metadata and the sentiment analysis. The example method also includes processing the intermediate prompt using a large language model and generating a subsequent set of keyframe prompts for a latent diffusion model. The example method also includes generating a set of keyframes using the latent diffusion model and generation interpolation images from the keyframes. Finally, the example method includes aligning the keyframes and interpolation images to beats detected in the music sample and generating a music visualization video.

Claims (53)

1 . A method comprising:

receiving a projection surface image;

generating a constraint image based on the projection surface image, wherein the constraint image comprises a detected edge from the projection surface image;

outputting, using a speaker of a projector device, sound representing a music track;

determining, based on beat detection data for the music track, a first set of timestamps, the first set of timestamps including a first timestamp and a second timestamp;

generating, at a remote system using a machine learning model, first image data representing a start image for a first time corresponding to the first timestamp, wherein a shape of the first image data is constrained according to the constraint image;

generating, at the remote system using the machine learning model and the first image data, second image data representing an end image for a second time corresponding to a time immediately prior to the second timestamp; wherein a shape of the second image data is constrained according to the constraint image;

sending, from the remote system to the projector device, the first image data and the second image data;

generating, at the projector device using the machine learning model and the first image data and the second image data, third image data representing one or more interpolated images generated based on the start image and the end image; and

projecting, using a projector of the projector device and the first image data, the second image data, and the third image data, a music visualization time-aligned to the music track and shaped according to the constraint image, the music visualization comprising the start image, the end image, and the one or more interpolated images.

2 . The method of claim 1 , wherein the generating of the second image data involves an image to image generation approach using a latent diffusion model.

3 . The method of claim 1 , wherein the generating of the first image data involves a text to image generation approach using a latent diffusion model.

4 . The method of claim 1 , wherein the generating of the third image data involves an interpolation approach using a latent diffusion model.

5 . The method of claim 1 ,

wherein the generating of the second image data involves an image to image generation approach using a latent diffusion model;

wherein the generating of the first image data involves a text to image generation approach using a latent diffusion model; and

wherein the generating of the third image data involves an interpolation approach using a latent diffusion model;

whereby using beat detection data to determine timestamps for use in defining segments of a music track enables parallel processing and generation of the initial image and final image of an image sub-sequence at the remote system but generation of intermediate images using interpolation at the projector device.

6 . The method of claim 1 , wherein the projector device is mounted to a ceiling.

7 . The method of claim 1 , wherein the projecting of the music visualization comprises projecting the initial image at a time corresponding to the first time.

8 . The method of claim 1 , wherein the projecting of the music visualization comprises projecting the final image at a time corresponding to the second time.

9 . A method comprising:

outputting, using a speaker of a projector device, sound representing a music track;

determining, based on beat detection data for the music track, a first set of timestamps, the first set of timestamps including a first timestamp and a second timestamp;

generating, at a remote system using a machine learning model, first image data representing a start image for a first time segment associated with the first timestamp, wherein generating the first image data uses an edge constraint from a constraint image;

generating, at the remote system using the machine learning model and the first image data, second image data representing an end image for the first time segment, wherein generating the second image data uses the edge constraint from the constraint image;

sending, from the remote system to the projector device, the first image data and the second image data;

generating, at the projector device using the machine learning model and the first image data and the second image data, third image data representing one or more interpolated images generated based on the start image and the end image; and

projecting, using a projector of the projector device and the first image data, the second image data, and the third image data, a music visualization time-aligned to the music track, the music visualization comprising the start image, the end image, and the one or more interpolated images, wherein the music visualization is shaped according to the edge constraint from the constraint image.

10 . The method of claim 9 , wherein the generating of the second image data involves an image to image generation approach using a latent diffusion model.

11 . The method of claim 9 , wherein the generating of the first image data involves a text to image generation approach using a latent diffusion model.

12 . The method of claim 9 , wherein the generating of the third image data involves an interpolation approach using a latent diffusion model.

13 . The method of claim 9 ,

wherein the generating of the second image data involves an image to image generation approach using a latent diffusion model;

wherein the generating of the first image data involves a text to image generation approach using a latent diffusion model; and

wherein the generating of the third image data involves an interpolation approach using a latent diffusion model;

whereby using beat detection data to determine timestamps for use in defining segments of a music track enables parallel processing and generation of the initial image and final image of an image sub-sequence at the remote system but generation of intermediate images using interpolation at the projector device.

14 . The method of claim 9 , wherein the method comprises generating the beat detection data.

15 . The method of claim 9 , wherein the method comprises accessing the beat detection data at the remote system.

16 . The method of claim 9 , wherein the method comprises generating the beat detection data at the remote system.

17 . The method of claim 9 , wherein the projector device is mounted to a ceiling.

18 . A method comprising:

receiving a music sample, a beat detection analysis of the music sample, and a characteristic analysis of the music sample, wherein the beat detection analysis of the music sample comprises a beat timestamp, wherein the characteristic analysis of the music sample comprises a first characteristic timestamp, a first characteristic, a second characteristic timestamp and a second characteristic;

interpolating the first characteristic timestamp and the second characteristic timestamp using the beat timestamp to derive a beat characteristic;

generating a positive prompt, wherein the positive prompt comprises the beat characteristic;

generating, using a latent diffusion model and the positive prompt, a first keyframe and a second keyframe, wherein generating the first keyframe and the second keyframe uses an edge constraint from a constraint image; and

generating a music visualization video comprising the first keyframe, the second keyframe, and the music sample, wherein the first keyframe is timed to occur at the beat timestamp, wherein the music visualization video is shaped according to the edge constraint from the constraint image.

19 . The method of claim 18 , wherein the method comprises:

generating, by an interpolation model, an interpolation image that interpolates the first keyframe and the second keyframe, wherein the interpolation model is executed by a first device, wherein the latent diffusion model is executed using a second device, wherein the music visualization video further comprises the interpolation image.

20 . The method of claim 18 , further comprising:

generating a text-to-image prompt comprising the first characteristic, wherein the positive prompt comprises the text-to-image prompt, wherein the first keyframe corresponds to the text-to-image prompt; and

generating a image-to-image prompt comprising the first characteristic and an indication of the first keyframe, wherein the positive prompt comprises the image-to-image prompt;

wherein the second keyframe corresponds to the image-to-image prompt.