Mockup API

Print on Demand Mockup API: Every Print Size Shown to Scale

Give every design a listing photo in every size you sell, each showing the print at its true size in the same room, so buyers can see exactly what they are ordering before they choose.

  • Sample painting at 8 × 10 in (20 × 25 cm): Eclectic living room with concrete wall and books

    8 × 10 in · 20 × 25 cm

  • Sample painting at 16 × 20 in (41 × 51 cm): Eclectic living room with concrete wall and books

    16 × 20 in · 41 × 51 cm

  • Sample painting at 24 × 30 in (61 × 76 cm): Eclectic living room with concrete wall and books

    24 × 30 in · 61 × 76 cm

The same design at three sizes in the same room. A template mockup would show all three at the same size, and buyers would only discover the difference when the print arrived. Hang your own work in this room.

Listing photos for your whole shop in a single run

A shop with 200 designs in three sizes needs 600 listing photos, and the API can produce all of them in one run, each named to match its listing and saved as a JPEG ready for Etsy. All you need to provide is each design, with the same proportions as the print, and the sizes you sell in centimetres.

A listing photo for every design in every size
ROOM="<a room id>"
for design in designs/*.jpg; do
  for size in "20.3 25.4" "40.6 50.8" "61 76.2"; do   # 8×10, 16×20 and 24×30 in
    set -- $size
    curl -s -X POST https://situ.art/api/v1/mockups/composite \
      -H "Authorization: Bearer $SITU_API_KEY" -H "Content-Type: application/json" \
      -d "{\"artworkImage\": \"https://example.com/$design\",
           \"artworkWidthCm\": $1, \"artworkHeightCm\": $2, \"backgroundId\": \"$ROOM\",
           \"format\": \"jpeg\"}" \
      > "$(basename "$design" .jpg)-$1x$2.json"
  done
done

If you would rather not write the code, Claude can do it for you once you give it the folder of designs and your API key. Every endpoint is described in the API reference.

Try it on one of your prints first

JPG, PNG or WebP. Free, no account, no watermark.

Contemporary living room with a speaker and houseplants

A sample painting, 50 × 44 cm, hung at its real size. Drop your print in above and it takes its place here and in every room below.

Rooms on this page

Questions

Does it work with Printful, Printify or Gelato?
Yes, alongside them. Use the same design file you send to your printer, and use the resulting images as your listing photos. Their own mockup generators show their products in their own scenes, whereas these show your print at its true size in a real room.
Can I give print sizes in inches?
The API takes centimetres, so multiply each measurement by 2.54: a 16 × 20 in print is 40.6 × 50.8 cm. The print is then shown at exactly that size.
Can I automate my Etsy mockups with it?
Yes. Ask for JPEG files by adding "format": "jpeg" to each request, because Etsy does not accept WebP, and the API will produce every listing photo for every design in a single run, ready to upload. Claude can do it for you, saving a folder of photos for each listing.

Get an API key

API access is included in the Enterprise plan, which we price on a short call. Let us know how many designs and sizes you list.