Day to Dusk
Turn a daytime exterior into a dusk or twilight shot
Turns a daytime exterior into a dusk (twilight) shot, with the sky and lighting changed to match. Day to Dusk is a premium edit: it is applied to an image that has already been processed, and it produces a new image rather than changing the original.
Parent Property Name: restage
Sub-property: environment
Accepted Values: string | null
Values:
AS_SHOT: Leaves the scene exactly as captured.DUSK: Transforms a daylight scene so it appears as dusk or twilight.
Default: AS_SHOT
Example:
{
"restage": {
"environment": "DUSK"
}
}How it works
Day to Dusk differs from the other restaging options in three ways:
It is requested on an existing image. Send
environment: DUSKwhen updating an image that has finished processing. It cannot be set when you create an image or process an order. Doing so returns a422with the error codePREMIUM_RESTAGE_ON_INITIAL_PROCESSING.It creates a new image. The original is never modified. The response is the original image, with status
201and aLocationheader pointing at the new image. The new image has its ownimage_idand aparent_image_idthat refers back to the original.It does not reprocess the original. The original keeps its standard enhancement, so you can compare the two.
You can send finetune_settings or preset_id in the same request to control how the new image is finished. Other settings in the same request, such as ai_version, would reprocess the original instead of creating a dusk image, so send Day to Dusk on its own.
Billing
Day to Dusk is billed through its own add-on on your subscription, not from your plan's image credits. Downloading a Day to Dusk image does not use a credit, and it can still be downloaded if your account has no credits left. If your subscription has been cancelled, downloading a Day to Dusk image returns 402.
Last updated
Was this helpful?