Skip to the content
Agent Tools

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 . Updated .

The short answer

FileSizeWhat it is for
JPEG32 KBThe still half of the Live Photo, 1080 by 1440 pixels
MOV36 KBThe motion half: H.264, 3 seconds at 15 frames a second
MP435 KBThe same motion for any player
GIF236 KBA 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 and the Agent Tools library of tools 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. 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, with no key, or read every post on the Agent Tools blog.

Sources

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.