Quick Overview
This video is a product demonstration presented by Matt Wolfe showcasing OpenAI's Decisions API. Wolfe applies the newly released API to his personal iPhone photo library to demonstrate automated classification, batch evaluation, and photo scoring.
Key Points
- 1.OpenAI introduced the Decisions API to categorize inputs against a custom list of labels.
- 2.The Decisions API can evaluate up to 128 images within a single request.
- 3.According to OpenAI, the Decisions API processes requests up to ten times faster than their standard API with GPT-6 Luna.
- 4.Input tokens for the Decisions API cost ten cents per million tokens, with no charge for output tokens.
- 5.The API was used to sort over 5,600 iPhone photos into specific categories and score trip photos to curate a highlight album.
Summary
Matt Wolfe presents a demonstration of OpenAI's Decisions API by running it across an entire personal iPhone photo library containing 5,614 pictures. The API inspects each photo and selects a single classification from a user-provided list. Using an automation app, the sorted results are routed directly into dedicated albums, isolating accidental pocket shots, distant concert or conference stage captures, screenshots, and pictures deemed worth keeping.
The service supports batch processing of up to 128 photos in a single request. Wolfe notes that OpenAI reports the Decisions API operates up to ten times faster than their standard API running GPT-6 Luna. The cost structure charges ten cents per one million input tokens, while output tokens are free. An on-screen graphic shows that sorting 5,614 photos and scoring 2,471 images consumed 2.77 million input tokens, totaling twenty-eight cents.
Wolfe also applies the API to a subset of photos taken across 58 travel trips logged since 2018. Rather than broad category sorting, the model scores each photo on how sharp and well framed it is using a zero-to-four rating scale. These scores are used to automatically populate a single album containing the best shots from every trip. The video concludes by pointing developers toward OpenAI's Decisions playground to test classification templates and prompts.
Automated Photo Sorting with Decisions API
Matt Wolfe demonstrates using OpenAI's Decisions API to sort through over 5,600 photos from an iPhone library. The API evaluates each image, matches it to a custom category list, and routes photos into albums such as screenshots, blurry or accidental shots, subjects that are too far away, and photos worth keeping.
Batch Processing, Speed, and Pricing
The demonstration highlights that the Decisions API can process up to 128 images in a single API request. OpenAI claims it runs up to ten times faster than its regular API using GPT-6 Luna. The pricing structure is set at ten cents per million input tokens, with output tokens provided at no additional cost.
Scoring Quality Across Trip Libraries
Using data identifying 58 trips taken since 2018, Wolfe instructed the system to grade trip photos on criteria including sharpness and framing. The numerical scores allowed the creation of an automated album compiling only the highest-rated shots from every trip. Developers can experiment with these features directly in OpenAI's Decisions playground.
The Bottom Line
The video demonstrates practical image sorting and scoring using OpenAI's Decisions API, establishing its batching capabilities, latency improvements, and pricing model. It grounds these technical features in concrete media sorting examples, showing how large libraries can be categorized for pennies. It leaves the specific code implementation and setup steps for the custom sorting app unaddressed, pointing viewers instead to the developer playground.
FAQ
What is OpenAI's Decisions API and how does it classify photos?
OpenAI's Decisions API is an API feature that takes inputs such as images, evaluates them against a predefined list of choices, and outputs a single label. In the demonstration, it classifies photos into labels like screenshots, blurry images, or shots worth keeping.
How many photos can OpenAI's Decisions API process in a single request?
The Decisions API can evaluate up to 128 photos in a single API call.
How fast and inexpensive is OpenAI's Decisions API compared to regular APIs?
OpenAI claims the Decisions API runs up to ten times faster than their standard API with GPT-6 Luna. It costs ten cents per million input tokens, and there is no charge for output tokens.
How did Matt Wolfe evaluate and curate trip photos using OpenAI's Decisions API?
Wolfe had the API score photos across 58 trips on framing and sharpness on a zero-to-four scale, filtering the top-scoring images into a single curated trip album.
Where can developers test the features of OpenAI's Decisions API?
Developers building applications can test the API and try out sample templates in OpenAI's Decisions playground.
Worth watching for
Software developers and tech enthusiasts interested in leveraging OpenAI's Decisions API for fast, low-cost image classification and media management workflows.
- openai
- decisions-api
- photo-management
- computer-vision
- gpt-6-luna