[Agent Tools](https://tools.openkrill.app/) / [Blog](https://tools.openkrill.app/blog)

# How to make an Apple Live Photo from HTML: one render, checked byte by byte

An Apple Live Photo is two files: a JPEG and a short MOV that carry the same content identifier. We gave Live Card one HTML cover and one CSS animation and got 4 files back. Same identifier in the JPEG and the MOV: yes.

By OpenKrill. Published 2026-10-30. Updated 2026-10-30.

## The short answer

| File | Size | What it is for |
| --- | --- | --- |
| JPEG | 32 KB | The still half of the Live Photo, 1080 by 1440 pixels |
| MOV | 36 KB | The motion half: H.264, 3 seconds at 15 frames a second |
| MP4 | 35 KB | The same motion for any player |
| GIF | 236 KB | A loop for places that take no video |

We ran the render on 2026-10-08 and it was ready in about 35 seconds. We then searched the bytes of each file for the identifier the tool returned.

It appears once in the JPEG and once in the MOV, and not in the MP4. Each refresh of this page renders the same card again and repeats that check.

## How a JPEG and a MOV become one Live Photo

Apple's Photos framework treats a Live Photo as one asset with a still image and a paired video. The pairing key is a shared identifier in both files.

In the JPEG, Live Card writes the identifier into Apple's maker note. In the MOV, it writes the QuickTime content identifier key and a still image time track, which marks the frame that matches the photo.

The open source LiveCanvas project uses the same pairing, and Live Card follows its file layout.

## Writing the card in HTML

You supply 2 pages: a cover for the still and a motion page for the video. Our motion page used plain CSS keyframes: a gold ring that spins and a title that rises into place.

The renderer records the motion page frame by frame, with no language model and no key. It refuses remote images, so put any picture inline in the HTML.

If an agent writes the HTML, the [shader library for animated backgrounds](https://tools.openkrill.app/shaders) and the [Agent Tools library of tools](https://tools.openkrill.app/library) are good places to start.

## Limits we read from the tool

- **Length.** At most 3 seconds, about the span an iPhone records around a photo.
- **Size.** 320 to 1080 pixels wide and 320 to 1440 high, with 1080 by 1440 as the default.
- **Frame rate.** 15 or 30 frames a second.
- **Quota.** 8 renders per network each UTC day, and download links that last 24 hours.

## What we did not test

We did not open the pair on an iPhone. We checked the shared identifier in the bytes, which is the part a script can check.

To try it, connect Live Card from the [Live Card entry on the Agent Tools home page](https://tools.openkrill.app/#live-card). Then save both files to Photos on an Apple device.

## Frequently asked questions

### What files make an Apple Live Photo?

Two files: a JPEG still and a short MOV video that carry the same content identifier. Apple's Photos framework pairs them by that shared identifier.

### Can I make a Live Photo from HTML?

Yes. We gave Live Card one HTML cover and one CSS animation and got 4 files back: a JPEG, a MOV, an MP4 and a GIF. Same identifier in the JPEG and the MOV: yes.

### Did you test the Live Photo on an iPhone?

No. We checked the shared identifier in the bytes of each file, which is the part a script can check.

**Try it:** run the same check yourself with [Live Card](https://tools.openkrill.app/#live-card), with no key, or read every post on the [Agent Tools blog](https://tools.openkrill.app/blog).

## Sources

- [@EricBuess on X](https://x.com/EricBuess/status/2103226548413182366): notes that Claude cannot make an image or a video directly, but can write code that draws and animates one, with examples.
- [@RoundtableSpace on X](https://x.com/RoundtableSpace/status/2105209785335373948): shares a prompt that turns Claude into a motion design pipeline, from storyboard to GSAP and Three.js scenes to a rendered video.
- [@dotey on X](https://x.com/dotey/status/2104111348388941915): had Claude make a promo video for a product site, built from code frame by frame rather than generated as video.
- [Apple Support, Take and edit Live Photos](https://support.apple.com/en-us/104966): an iPhone Live Photo records what happens 1.5 seconds before and after the picture.
- [Apple Developer, PHLivePhoto](https://developer.apple.com/documentation/photos/phlivephoto): the Photos framework type for a displayable Live Photo.
- [Apple Developer, PHAssetResourceType.pairedVideo](https://developer.apple.com/documentation/photos/phassetresourcetype/pairedvideo): a Live Photo asset keeps its video as a separate paired video resource.
- [Apple Developer, quickTimeMetadataContentIdentifier](https://developer.apple.com/documentation/avfoundation/avmetadataidentifier/quicktimemetadatacontentidentifier): the QuickTime metadata key that holds the content identifier.
- [MDN, Using CSS animations](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Animations/Using): a CSS animation is a style plus keyframes, and animation-duration sets the length of one cycle.
- [LiveCanvas on GitHub](https://github.com/pengchujin/livecanvas): an MIT project that turns a sentence into a Live Photo with a designed cover and animation; its pairing step needs macOS.
- Our own runs: Live Card and the other tools named above, on 2026-10-08, 2026-10-30. A timer runs the same calls again every 7 to 30 days.

## Change log

We measure the numbers in this post again every 7 to 30 days and check that every source still loads. A new line appears here only when something in the post really changed.

- **2026-10-30.** Published. *Why:* First version, with the numbers we measured with our own tools on 2026-10-30.
