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

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

Apple Shortcuts listing-video setup facts
Built forAPI-key holders who shoot or receive listing photos on iPhone
App or Gallery shortcutNone — you build it; the web app runs in Safari
Apple action that calls the APIGet Contents of URL (GET/POST/PUT; JSON or File body)
Photo formatConvert HEIC to JPEG before the upload
Shortcuts3: start clips · merge reels · save reels
PollingOne status pass per run — no request loop
Cost1 credit per clip + 1 per reel; failures refunded
Key safetyStrip the key or use an import question before sharing

Three shortcuts at a glance

The three shortcuts: where each runs from, its input, the API calls it makes and what it produces
ShortcutRuns fromInputAPI callsOutput
A · Start listing clipsPhotos share sheetImagescredits, presigned-urls, PUT ×n, videos ×nJSON file + clipboard
B · Merge listing reelsFiles share sheet or the Shortcuts appThe saved JSON (or the clipboard)videos/:id ×n, reels ×2A “still rendering” message, or 2 reel jobs
C · Save my last reelsShortcuts app or Home ScreenNonereels?limit=2, download_url ×22 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.

Request recipes for Get Contents of URL: call, method, URL, headers and body
CallMethodURLHeadersBody / next step
Credits check (A)GET/api/v1/creditsAuthorization: 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)PUTpresignedUrl from Get Item from List (Repeat Index)Content-Type: image/jpeg — no AuthorizationFile: the converted JPEG
Start one clip (A)POST/api/v1/videosAuthorization: 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/reelsAuthorization: Bearer <key>JSON (below), sent twice
Newest reels (C)GET/api/v1/reels?limit=2Authorization: Bearer <key>None → download_url for each
Simplified JSON body for POST /api/v1/videos
{
  "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.

Simplified JSON body for the landscape MLS reel
{
  "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.

PhotoAIVideo API error codes a shortcut may report and what each one means
CodeWhat it means
401The key is missing, mistyped or revoked
402Not enough credits; the body includes required and remaining
400Validation failed; the message lists allowed values, such as effect codes or durations 4, 5 and 6
403API access isn't enabled for the account; contact support
404A 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.

Runs for the illustrative ranch listing and the credits each one used
RunWhat happenedCredits
A11 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 saved11
B, ~40 s later8 completed, 3 still rendering → stops with a message0
B, ~2 min later10 completed, 1 failed (“The photo could not be read…”), credit refunded−1
B, same run10 clips merged twice: landscape unbranded, portrait with the street-address overlay and an ending card2
C, a minute laterBoth MP4s saved to Photos0
Net10 clips, 2 reels12

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

Not for this. The Shortcuts app on iPhone is enough to build all three shortcuts and run them; a computer only helps if you later want to edit the saved JSON by hand.

The presigned upload only takes JPEG or PNG. Convert each photo inside the shortcut before the PUT, or set Settings › Camera › Formats to Most Compatible so new shots are JPEG.

Apple warns that Repeat actions making many requests quickly can cause usage overages, and the PhotoAIVideo docs publish no rate limit. One status pass per run keeps the phone well clear of both.

Yes, with their own key. Remove yours or put it behind an import question before sharing, and remember that a file shared with the Anyone option sends Apple a copy for validation.

Once it has merged, yes: a second run posts two fresh reels for 2 more credits. If the files aren't in Photos yet, run the save shortcut instead.

Start the first shortcut from the Photos share sheet. Apple says shortcuts that ask you to select photos or handle large files may open the Shortcuts app to finish.

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

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.