apply_look
Give a photo a named look (cinematic, noir, black and white...) in one call. You pick the look and how strong; the server applies it as live, editable filters, so the same look at the same strength always gives the same result. Applying a look again replaces the earlier one (it never stacks), so "less of it" is the same call at a lower strength; strength 0 removes it. Looks: cinematic (Teal shadows, warm highlights, softened blacks and a darkened frame, like a film still.) noir (Dark, contrasty black and white with a heavy vignette and a little grain.) bleach_bypass (Drained color and hard contrast with a cool cast, gritty like a war film.) bw_classic (Balanced black and white with gentle contrast.) bw_high_key (Bright, airy black and white with lifted blacks and low contrast.) bw_red_filter (Black and white that darkens blue skies and brightens warm tones, as a red lens filter does.) warm_social (Warmer light, livelier color and open shadows; a friendly look for social posts.) vintage_fade (Faded blacks and whites, muted color, warm highlights, grain and a soft vignette, like an old print.) deep_fry (The over-processed meme look: saturation blown out, crushed contrast, a hot red-orange cast, heavy noise and hard sharpening. Add jpeg_crush for the blocky artifacts of a much-reposted JPEG.) On an image with more than one layer, say which layer with "layer". Offer these to people who describe an outcome instead of naming adjustments. It makes no file (unless jpeg_crush): call export_photo afterwards for a download link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | Yes | Which look. | |
| image | Yes | Image id, as returned by open_photo. | |
| layer | No | Layer name; required when the image has more than one layer. | |
| strength | No | How much, 0 to 100. | |
| jpeg_crush | No | Also export the result as a JPEG at quality 10 (heavy blocky artifacts, the authentic deep-fried finish) and return the download link. Works with any look. |