make_story
Make a 9:16 story frame (1080x1920) from a photo and get one download link. The photo is scaled to fit the width and placed on a background: blur (default: a blurred, scaled-up copy of the photo itself), a solid color like #1a1a2e, or gradient (top to bottom, gradient_top default white, gradient_bottom default a 15% darker shade of the top). Optional caption: white bold text with a black outline, fitted to a box inside the safe zone (the top 250 px and bottom 340 px of 1920 are covered by the app), sitting just above the handle. Optional handle: small text at the bottom centre, just above the unsafe band. The image must have a single layer. A very wide or tall photo (a panorama) cannot take the blurred background: use a color or gradient for it. It takes a checkpoint first and puts the image back if anything fails; on success the story stays on the image as live layers and the result gives the checkpoint id for the plain photo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image id, as returned by open_photo. | |
| format | No | Output format. | jpg |
| handle | No | A short line at the bottom centre, e.g. "@name". | |
| caption | No | Text over the lower part of the frame, inside the safe zone. | |
| background | No | blur, gradient, or #rrggbb. | blur |
| gradient_top | No | background gradient only: the top color, #rrggbb. Default white. | |
| gradient_bottom | No | background gradient only: the bottom color, #rrggbb. Default a 15% darker shade of the top. |