# US 2025/0378632 A1 · Diffusion based end-to-end in-scene media generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0378632 A1
- Document ID: US20250378632A1
- Status: Published application
- Kind: A1
- Application number: 19/228,646
- Filed: 2025-06-04
- Published: 2025-12-11
- Earliest claimed: 2024-06-05
- Assignees: Rembrand, Inc.
- Applicants: Rembrand, Inc.
- Inventors: Sameh KHAMIS; Abdelrahman Samir Abdelrahman MOHAMED; Ahmed Aly Saad AHMED
- Web page: https://patentgrep.com/patent/US20250378632A1

## CPC

- G06T 15/506: {Illumination models}
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of the present disclosure provide techniques for performing virtual object placement in a video sequence using generative artificial intelligence models. An example method generally includes receiving an input prompt specifying an object to insert into a scene depicted in an input image stream; decoding, using a generative artificial intelligence model, perspective and lighting information for the input image stream; determining, based on the decoded perspective and lighting information, a location in the scene in which the object is to be inserted; and generating, using the generative artificial intelligence model, an output image stream including the object into the scene at the determined location, wherein visual effects for the object are based on the perspective and lighting information for the input image stream.

## Claims

### Claim 1

A processor-implemented method, comprising:
receiving an input prompt specifying an object to insert into a scene depicted in an input image stream;
decoding, using a generative artificial intelligence model, perspective and lighting information for the input image stream, the generative artificial intelligence model comprising an autoregressive model conditioned based on a latent space representation of the input image stream generated by a foundation diffusion model and an adapter that configures the foundation diffusion model to generate an output including the object according to the perspective and lighting information for the input image stream;
determining, based on the decoded perspective and lighting information and the generative artificial intelligence model, a location in the scene in which the object is to be inserted; and
generating, using the generative artificial intelligence model, an output image stream including the object inserted into the scene at the determined location, wherein visual effects for the object are rendered based on the perspective and lighting information for the input image stream.

### Claim 2 (depends on 1)

The method of claim 1, wherein a first frame in the output image stream is further used to autoregressively condition an appearance of a second frame in the output image stream.

### Claim 3 (depends on 1)

The method of claim 1, wherein the perspective and lighting information comprise information about a camera used in capturing the scene, movement and positional information of the camera, and a description of lighting effects in the scene.

### Claim 4 (depends on 3)

The method of claim 3, wherein the description of lighting effects in the scene comprises an environment map, each region in the map corresponding to a region in the scene and describing incoming light in a sphere associated with the region in the scene.

### Claim 5 (depends on 3)

The method of claim 3, wherein the description of lighting effects in the scene comprises a spherical Gaussian representation of light arriving at different points in the scene.

### Claim 6 (depends on 1)

The method of claim 1, wherein inserting the object into the scene comprises autoregressively inserting the object into successive frames in the input image stream based on a location of the object in prior frames.

### Claim 7 (depends on 1)

The method of claim 1, wherein decoding the perspective and lighting information for the input image stream comprises generating, for each respective frame in the input image stream, one or more tokens representing the perspective and lighting information for the respective frame.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining the location in the scene in which the object is to be inserted comprises determining a location for the object in a second frame in the input image stream based on a location for the object in a first frame in the input image stream and motion between the first frame and the second frame.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the output image stream including the object comprises:
determining a reflectivity of the object; and
rendering the object based on the reflectivity of the object, the lighting information, and other objects in the scene.

### Claim 10 (depends on 9)

The method of claim 9, wherein the object is rendered based on path tracing between the object and other objects in the scene.

### Claim 11 (depends on 1)

The method of claim 1, wherein generating the output image stream including the object comprises rendering the object and visual effects caused by the object on other objects in the scene.

### Claim 12

A processing system, comprising:
at least one memory having executable instructions stored thereon; and
one or more processors configured to execute the executable instructions to cause the processing system to:
receive an input prompt specifying an object to insert into a scene depicted in an input image stream;
decode, using a generative artificial intelligence model, perspective and lighting information for the input image stream, the generative artificial intelligence model comprising an autoregressive model conditioned based on a latent space representation of the input image stream generated by a foundation diffusion model and an adapter that configures the foundation diffusion model to generate an output including the object according to the perspective and lighting information for the input image stream;
determine, based on the decoded perspective and lighting information and the generative artificial intelligence model, a location in the scene in which the object is to be inserted; and
generate, using the generative artificial intelligence model, an output image stream including the object inserted into the scene at the determined location, wherein visual effects for the object are rendered based on the perspective and lighting information for the input image stream.

### Claim 13 (depends on 12)

The processing system of claim 12, wherein a first frame in the output image stream is further used to autoregressively condition an appearance of a second frame in the output image stream.

### Claim 14 (depends on 12)

The processing system of claim 12, wherein the perspective and lighting information comprise information about a camera used in capturing the scene, movement and positional information of the camera, and a description of lighting effects in the scene.

### Claim 15 (depends on 12)

The processing system of claim 12, wherein to insert the object into the scene, the one or more processors are configured to cause the processing system to autoregressively insert the object into successive frames in the input image stream based on a location of the object in prior frames.

### Claim 16 (depends on 12)

The processing system of claim 12, wherein to decode the perspective and lighting information for the input image stream, the one or more processors are configured to cause the processing system to generate, for each respective frame in the input image stream, one or more tokens representing the perspective and lighting information for the respective frame.

### Claim 17 (depends on 12)

The processing system of claim 12, wherein to determine the location in the scene in which the object is to be inserted, the one or more processors are configured to cause the processing system to determine a location for the object in a second frame in the input image stream based on a location for the object in a first frame in the input image stream and motion between the first frame and the second frame.

### Claim 18 (depends on 12)

The processing system of claim 12, wherein to generate the output image stream including the object, the one or more processors are configured to cause the processing system to:
determine a reflectivity of the object; and
render the object based on the reflectivity of the object, the lighting information, and other objects in the scene.

### Claim 19 (depends on 12)

The processing system of claim 12, wherein to generate the output image stream including the object, the one or more processors are configured to cause the processing system to render the object and visual effects caused by the object on other objects in the scene.

### Claim 20

A non-transitory computer-readable medium having executable instructions stored thereon which, when executed by one or more processors, performs an operation comprising:
receiving an input prompt specifying an object to insert into a scene depicted in an input image stream;
decoding, using a generative artificial intelligence model, perspective and lighting information for the input image stream, the generative artificial intelligence model comprising an autoregressive model conditioned based on a latent space representation of the input image stream generated by a foundation diffusion model and an adapter that configures the foundation diffusion model to generate an output including the object according to the perspective and lighting information for the input image stream;
determining, based on the decoded perspective and lighting information and the generative artificial intelligence model, a location in the scene in which the object is to be inserted; and
generating, using the generative artificial intelligence model, an output image stream including the object inserted into the scene at the determined location, wherein visual effects for the object are rendered based on the perspective and lighting information for the input image stream.
