Listing Videos From iPhone Photos With Apple Shortcuts
How do you make listing videos from iPhone photos with Apple Shortcuts?
With a PhotoAIVideo API key, a share-sheet shortcut built in Apple Shortcuts can convert the iPhone photos you select to JPEG, upload each one through a presigned URL and start one 1-credit clip per photo. Two follow-up shortcuts merge an unbranded MLS reel plus a vertical reel and save both MP4s to Photos.
Last reviewed · By Zach Calhoon, Founder
PhotoAIVideo has no iPhone app; the app runs in Safari, and that suits most people. This page is for anyone holding an API key who wants listing videos to start from the Photos app with Apple Shortcuts. Each request uses endpoints documented on the Real Estate Video API hub.
The setup in brief
| Built for | API-key holders who shoot or receive listing photos on iPhone |
|---|---|
| App or Gallery shortcut | None — you build it; the web app runs in Safari |
| Apple action that calls the API | Get Contents of URL (GET/POST/PUT; JSON or File body) |
| Photo format | Convert HEIC to JPEG before the upload |
| Shortcuts | 3: start clips · merge reels · save reels |
| Polling | One status pass per run — no request loop |
| Cost | 1 credit per clip + 1 per reel; failures refunded |
| Key safety | Strip the key or use an import question before sharing |
Three shortcuts at a glance
| Shortcut | Runs from | Input | API calls | Output |
|---|---|---|---|---|
| A · Start listing clips | Photos share sheet | Images | credits, presigned-urls, PUT ×n, videos ×n | JSON file + clipboard |
| B · Merge listing reels | Files share sheet or the Shortcuts app | The saved JSON (or the clipboard) | videos/:id ×n, reels ×2 | A “still rendering” message, or 2 reel jobs |
| C · Save my last reels | Shortcuts app or Home Screen | None | reels?limit=2, download_url ×2 | 2 MP4s in Photos |
Is there a PhotoAIVideo app or shortcut for iPhone?
No to both. There is no PhotoAIVideo listing in the App Store, no PhotoAIVideo shortcut in Apple's Gallery, and no Apple integration, partnership or endorsement behind this page. You assemble the shortcuts yourself, on the phone, against the public REST API. Apple's Get Contents of URL action is what makes it workable: it sends a web request each time the shortcut runs.
Without a key, this route isn't for you. Open the web app in Safari instead, or let Automation Mode choose the moves and merge a reel in one click.
Why split the job into three shortcuts?
An iPhone shortcut calling the listing video API in one go would have to keep asking about every clip until all had finished. Apple's API limitations page cautions that Repeat actions sending many requests in a short period may lead to usage overages, and it recommends batching. The PhotoAIVideo docs don't state a rate limit at all, so the safer design makes one status pass per run and leaves the timing to you.
Shortcut A starts the work and records the job IDs. A minute or two later you run B, which checks each clip once: anything still rendering ends the run with a note such as "3 still rendering — run again shortly" and no credits spent, while a full set gets merged into two reels. A little after that, C asks GET /api/v1/reels?limit=2 for the two newest reels and saves each finished MP4. Hypernova renders a clip in roughly 10 seconds, so B usually gets through on its first or second attempt.
One trap: after B has merged, a second run starts two new reels for 2 more credits, so run C instead.
How do photos get from the Photos app to the API?
Start in shortcut A's Details: switch on Show in Share Sheet, then limit the input to Images so it only appears when pictures are being shared, and choose Stop and Respond for runs with no input. Pick the listing shots in Photos, tap Share and choose the shortcut. Apple notes that shortcuts which ask you to choose photos, or that move large files, may open the Shortcuts app to finish, so launch A from the share sheet or the app rather than a widget or Apple Watch.
Format comes next. iPhone 7 and later can capture HEIF, and Apple recommends it, yet the presigned upload only takes image/jpeg or image/png. Inside the Repeat with Each, add a convert transform action (search the list for "convert") so every photo becomes a JPEG before its PUT. The alternative is Settings › Camera › Formats › Most Compatible, which makes future shots JPEG. Files above 6000 px on a side fail and are refunded, so check the pixel size of large files first — especially drone or DSLR shots AirDropped to the phone.
Every row below is one Get Contents of URL action, the Shortcuts way to reach an API. Tap Show More to set the method; picking POST or PUT adds a Request Body that can carry JSON, a Form or a File. Get Dictionary Value reads each response, and its dot notation reaches nested keys like job.status.
| Call | Method | URL | Headers | Body / next step |
|---|---|---|---|---|
| Credits check (A) | GET | /api/v1/credits | Authorization: Bearer <key> | None → remainingCredits; If less than photos + 2 → Stop and Output |
| Upload slots (A) | GET | /api/v1/presigned-urls?count=<photos> | Authorization: Bearer <key> | None → uploads (20 per call at most) |
| Upload one photo (A) | PUT | presignedUrl from Get Item from List (Repeat Index) | Content-Type: image/jpeg — no Authorization | File: the converted JPEG |
| Start one clip (A) | POST | /api/v1/videos | Authorization: Bearer <key> | JSON (below) → jobId → Add to Variable |
| Check one clip (B) | GET | /api/v1/videos/<jobId> | Authorization: Bearer <key> | None → job.status, job.error_message |
| Merge one reel (B) | POST | /api/v1/reels | Authorization: Bearer <key> | JSON (below), sent twice |
| Newest reels (C) | GET | /api/v1/reels?limit=2 | Authorization: Bearer <key> | None → download_url for each |
{
"prompt": "Slow push toward the front porch, soft morning light",
"imageUrl": "<publicUrl>",
"effects": ["push_in"],
"duration": 5,
"model": "hypernova"
}Presigned URLs arrive 20 at most per call, so split a bigger shoot or send a second batch. When the loop ends, a Dictionary action holds videoJobIds as an Array plus the address you typed into Ask for Input. Save File writes it out as JSON, and Copy to Clipboard set to Local Only keeps a second copy on this phone for B.
How does the merge shortcut know which clips belong to the listing?
It reads the file A wrote. Give B Show in Share Sheet with Files as its input, so it can run on the .json from the Files app, and set Get Clipboard as its no-input behaviour. Get Dictionary from Input turns that text back into a dictionary, and videoJobIds feeds a Repeat with Each that calls GET /api/v1/videos/<id>.
An If action on job.status sorts the answers. Completed IDs stay in their original order; a failed job adds its job.error_message, which already says the credit came back; pending or processing jobs raise a counter. Above zero, B ends with Stop and Output. At zero, it posts to /api/v1/reels twice with the same IDs: a landscape cut without logo, ending or textOverlay, because MLS videos must be unbranded, and a portrait cut with the address as textOverlay and an ending card. Neither reel regenerates a clip, and each is a single credit.
{
"videoJobIds": ["<jobId1>", "<jobId2>", "<jobId3>"],
"orientation": "landscape",
"musicType": "no_music"
}Clip order equals videoJobIds order, and Apple doesn't document the order in which the share sheet passes photos to a shortcut. Test with three photos, slot a Quick Look action between steps to see what flows through, and watch the result. Put the exterior first as an establishing shot.
Where does the API key live, and who can see it?
Inside the shortcut, typically in a Text action at the top that every Authorization header points to. With iCloud Sync on, your shortcuts stay current on all your Apple devices, so the key travels with them. Sharing by iCloud link or file passes along everything inside, and a file shared with the Anyone option sends Apple a copy for validation.
Before a colleague gets a copy, delete the key or move it into a field with an import question; Apple clears that field on sharing and asks the recipient for their own value. Each person should have a separate key from the API dashboard. Credits belong to the account and are shared by every key on it, and a revoked key just returns 401. Never place the key in a shortcut name, a notification or the saved JSON.
What do the error messages mean?
Test each response with If and finish the run with Stop and Output plus the message, so a share-sheet run always ends with a reason you can read.
| Code | What it means |
|---|---|
| 401 | The key is missing, mistyped or revoked |
| 402 | Not enough credits; the body includes required and remaining |
| 400 | Validation failed; the message lists allowed values, such as effect codes or durations 4, 5 and 6 |
| 403 | API access isn't enabled for the account; contact support |
| 404 | A job ID this key doesn't own, often from mixing two people's keys |
Apple attaches three caveats of its own. Shortcuts can't handle OAuth 2 sign-in, which a Bearer key never needs. Calls to any web API fall under that service's terms. And bursts of Repeat requests risk overages, which is why these shortcuts batch. Apple also documents a Settings › Shortcuts › Advanced › Allow Sharing Large Amounts of Data switch for shortcuts that require it.
Worked example: one ranch, four runs
Illustrative example — not a real listing, run or customer.
An agent selects 11 HEIC photos of a 1960s brick ranch in Photos, front exterior first, and shares them to shortcut A.
| Run | What happened | Credits |
|---|---|---|
| A | 11 HEIC photos shared, front exterior first; credit check wants 13 and passes; one count=11 call, 11 JPEG uploads, 11 clips started; ranch-listing.json saved | 11 |
| B, ~40 s later | 8 completed, 3 still rendering → stops with a message | 0 |
| B, ~2 min later | 10 completed, 1 failed (“The photo could not be read…”), credit refunded | −1 |
| B, same run | 10 clips merged twice: landscape unbranded, portrait with the street-address overlay and an ending card | 2 |
| C, a minute later | Both MP4s saved to Photos | 0 |
| Net | 10 clips, 2 reels | 12 |
Adding a re-shot photo afterwards means one more clip (1 credit) whose ID must be placed into the original list before re-merging (2 more credits). Because A writes a fresh JSON each run, that edit is easier on a computer with the Python quickstart; for a single hallway shot, leaving it out is fine. Real renders live on the examples page, ideas for the vertical cut on real estate reels, and plans on pricing.
What stays outside PhotoAIVideo
The phone, the three shortcuts and the saved JSON decide which photos go in, their order, the camera moves and where files end up. The API makes clips and reels and reports status; it does nothing else. Someone still watches both cuts before they reach the MLS or social, as the managing broker review guide describes.
Frequently Asked Questions
Try the shortcut on three photos
Create a key, build shortcut A, and share three listing photos to it before you trust it with a full shoot.
Sources
- Request your first API: Get Contents of URL, Show More methods, JSON/Form/File request bodies; accessed December 1, 2026.
- API limitations: no OAuth 2, rate limits, the Repeat overage warning, service terms; accessed December 1, 2026.
- Launch a shortcut from another app: Show in Share Sheet and progress notifications; accessed December 1, 2026.
- Input types: Images, Files and where a limited shortcut appears; accessed December 1, 2026.
- Limit the input for a shortcut: Stop and Respond, Ask For, Get Clipboard or Continue when there's no input; accessed December 1, 2026.
- Use Repeat actions: Repeat, Repeat with Each, Repeat Item and Repeat Index; accessed December 1, 2026.
- Use If actions: text and number conditions, Otherwise; accessed December 1, 2026.
- Shortcut completion: Stop Shortcut and Stop and Output; accessed December 1, 2026.
- Handling lists: Get Item from List and looping over every item; accessed December 1, 2026.
- Get Dictionary Value action: reading keys and dot notation for nested values; accessed December 1, 2026.
- Dictionaries: the Dictionary action, Array values and Get Dictionary from Input; accessed December 1, 2026.
- Use list actions: List, Get Item from List and Add to Variable; accessed December 1, 2026.
- Transform actions: converting content, such as PNG to JPEG; accessed December 1, 2026.
- Share actions: Save File and Save to Photo Album; accessed December 1, 2026.
- About actions in complicated shortcuts: widget and Apple Watch behaviour, Copy to Clipboard options; accessed December 1, 2026.
- Test your actions: Quick Look between actions; accessed December 1, 2026.
- Share shortcuts: iCloud links, files, the Anyone and People Who Know Me options; accessed December 1, 2026.
- Add import questions: fields cleared on share and answered by the recipient; accessed December 1, 2026.
- Sync shortcuts: iCloud Sync across your devices; accessed December 1, 2026.
- Adjust privacy settings: permission prompts and Allow Sharing Large Amounts of Data; accessed December 1, 2026.
- Apple Support: Using HEIF or HEVC media on Apple devices: HEIF capture and the Most Compatible setting; accessed December 1, 2026.
- PhotoAIVideo API v1 docs: Bearer keys, credit balance, upload URLs, clip and reel endpoints, error codes; accessed December 1, 2026.
Shortcuts actions and menus can change between iOS versions; the steps here follow the Shortcuts User Guide as Apple publishes it for the current iOS version.
Apple, iPhone, Shortcuts and Siri are trademarks of Apple Inc.; PhotoAIVideo isn't affiliated with or endorsed by Apple.