For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: DUSK when updating an image that has finished processing. It cannot be set when you create an image or process an order. Doing so returns a 422 with the error code PREMIUM_RESTAGE_ON_INITIAL_PROCESSING.

  • It creates a new image. The original is never modified. The response is the original image, with status 201 and a Location header pointing at the new image. The new image has its own image_id and a parent_image_id that 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?