On-device photo editing · iOS · macOS · Android
One call gives a photo the edit it needs.
PhotoEditKit reads exposure, colour cast, faces, subject and grain, then suggests ranked edits you can show in a picker or apply instantly. Entirely on the device.


Real PhotoEditKit outputs, unretouched. Drag across the photo to compare.
One call
The edit a photo needs, or none at all.
Pass a small upright copy and its metadata. You get back an EditConfig to render, or nothing when the photo is already good. Want a picker instead? Ask for up to ten ranked suggestions with thumbnails.
// Off the main thread: this measures the photo.
if let config = AIPostProcessingHelper.topSuggestion(for: small, metadata: properties) {
let edited = original.applyingEditConfig(config)
} else {
// The photo is already good. Keep it as it is.
}How it works
More than a filter list.
- 01
Analyse the photo
Reads exposure, colour cast, faces, subject and grain from a small copy.
- 02
Tune every recipe
Builds a config for each recipe from that analysis, unique to this photo.
- 03
Score each one
Rates how much each tuned recipe would improve this photo.
- 04
Drop the weak ones
Recipes that score too low are filtered out. A balanced photo may keep none.
- 05
Suggest the edits
Returns the survivors ranked, ready to show in a picker or apply.
The recipes
Fixed recipes, tuned to every photo.
Corrections
Fix something about the photo: exposure, colour cast or noise. When a photo needs fixing, these come first.
Styles
A matter of taste, calibrated to each photo. Vivid on a landscape leans into greens; on a night street, into neon.
Themes
Restyle a photo as something else. Offered only when you ask, after corrections and styles.
Try it
See it on your own photos.
AutoEdit runs the PhotoEditKit algorithm on iPhone. Pick a photo and swipe through the looks it suggests, ranked for that photo.

Private by design
Zero network requests.
No remote models to download, no tracking. Safe for app extensions and strict offline requirements. What it learns from a user’s saves stays on their device.
Install
Two platforms, one set of recipes.
iOS & macOS
.package(url: "https://github.com/8kdesign/PhotoEditKit", from: "1.0.0")iOS quick start →