replace_sky
Replace a grey, overcast or blown-out sky in an exterior listing photo with a natural clear blue sky, matching the light and keeping the building, trees and reflections unchanged. Costs credits from the user's Pixly balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sky | No | Sky style. 'auto' lets the tool pick what suits the photo's light. | auto |
| sun | No | Sun glow: auto (a glow for sunset/sunrise styles, none otherwise), on (place it with sunX/sunY), off. | auto |
| sunX | No | With sun=on: glow position from the left edge, 0..1. | |
| sunY | No | With sun=on: glow position from the top edge, 0..1 (kept in the top 60%). | |
| r2Path | No | R2 object path from an upload ticket (POST /api/v1/uploads) — the alternative to imageUrl when the photo is a local file. | |
| imageUrl | No | Public https URL of the source photo, or a data: URI. Either imageUrl or r2Path is required. |