---
title: "init(asset:changes:progress:)"
framework: cinematic
role: symbol
role_heading: Initializer
path: "cinematic/cnscript-1ispe/init(asset:changes:progress:)"
---

# init(asset:changes:progress:)

Creates a Cinematic script based on a movie and applying changes to the movie.

## Declaration

```swift
init(asset: AVAsset, changes: CNScript.Changes? = nil, progress: Progress? = nil) async throws
```

## Parameters

- `asset`: The original movie.
- `changes`: Changes to apply to the original script.
- `progress`: The optional progress object to track progress or cancel loading.
