---
title: "init(model:_:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/coremlrequest/init(model:_:)"
---

# init(model:_:)

Creates a Core ML request.

## Declaration

```swift
init(model: CoreMLModelContainer, _ revision: CoreMLRequest.Revision? = nil)
```

## Parameters

- `model`: The container for a Core ML model.
- `revision`: The specific algorithm or implementation that the framework uses to perform the request.
