Sort 5,600 iPhone photos into albums with OpenAI's decisions API

Matt Wolfe has AI label every photo on his iPhone as screenshot, blurry, too far away or worth keeping, then files them into albums and builds one best-shots album from 58 trips.

Matt Wolfe · YouTube · published Nov 12, 2026 · Productivity

Sort 5,600 iPhone photos into albums with OpenAI's decisions API — video by Matt Wolfe▶ Watch on YouTube
Prompt
Go through all the photos in my library. For each photo pick exactly one label from this list: screenshot, blurry, accidental pocket shot, too far away, worth keeping. Then file each photo into an album with that name. Next, score every trip photo for sharpness and framing and put the best ones from each trip into one 'Best of all trips' album.

Visual breakdown

Matt ran 5,600 iPhone photos through OpenAI's new decisions API, which picks one label from your list per photo. His app then files the photos into albums and builds a best-shots album across 58 trips.

The problem: A phone library fills with accidental pocket shots, screenshots, blurry and far-away photos that are tedious to sort by hand.

How the photo library gets sorted

  1. Photo libraryAll 5,600 photos on his iPhone
  2. Batch requestsUp to 128 photos go in a single request
  3. Decisions APILooks at each photo and picks one label from his list
    Dropped: Screenshots, blurry, pocket shots, too far away
  4. His app filesPhotos are filed into the proper albums by label
  5. Score trip photosRates each photo from 58 trips on sharpness and framing
  6. AlbumsSorted albums plus one best-shots album from every trip
InputPlain app stepAI decidesResult

    By the numbers

    5,600photos sorted
    128photos per request
    58trips scored
    10¢per million input tokens

    Try it yourself

    Matt built his own app; if you build apps, you can try the same idea in OpenAI's decisions playground.

    1. Write your list of labels, e.g. screenshots, blurry, worth keeping
    2. Send photos in batches of up to 128 per request
    3. Let the model pick one label from your list per photo
    4. Have your app file each photo into the album for its label
    5. Score trip photos on sharpness and framing, and collect the best into one album

    Things worth knowing

    • The model must choose exactly one label from your list, which keeps results easy to file.
    • OpenAI says decisions run up to 10 times faster than the regular API with GPT6 Luna.
    • Pricing as stated: 10 cents per million input tokens, and no output token cost.
    • Odd cases get caught too: a tiny person on stage at a conference was filed under 'too far away'.

    Distilled from the video’s captions

    How to try it

    1. Open OpenAI.
    2. Copy the prompt and fill in the [placeholders].
    3. Watch Matt Wolfe's video for the full walkthrough and setup.

    Related use cases

    Share