make_carousel
Split one wide photo into seamless slides for an Instagram carousel and get one download link per slide, in order. Pick slides (2 to 10; default: as many as the photo's width allows at its full height) and ratio ('4:5' = 1080x1350, the default, or '1:1' = 1080x1080). The server crops a strip of N slides, centred on the main subject when it can find one (else the middle), scales it once to N x 1080 wide (never up: a smaller photo keeps its own size), cuts it into N exact slides and exports each, so the slides join without a seam when swiped. Your photo is left as it was; the result gives its (new) image id. Each slide is cut from a copy of the strip, so a 10-slide carousel takes a while.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image id, as returned by open_photo. | |
| ratio | No | Slide shape: 4:5 (1080x1350) or 1:1 (1080x1080). | 4:5 |
| format | No | Output format. | jpg |
| slides | No | How many slides. Default: as many as fit the photo's width at its full height. |