Sunshine ☀️

Sunshine allows you to refresh the sky of your outdoors when your pictures when taken during gloomy day. 🌧️

💵 Credit Cost

You have two options:

  • Enhanced sunshine : 2 credits

    • Ultra realistic sky with surroundings modification

    • Works for outdoor and indoor photos

  • Regular sunshine: 1 credit (retired now, the sunshine mode will default to enhanced starting december 10th 2025)

    • Basic sky modification and do not affect the surroundings

    • Only works for outdoor photos

Endpoint

POST https://europe-west1-gepettoai.cloudfunctions.net/v1/sunshine

Headers

Name
Type
Description

Authorization*

String

Bearer {{API_KEY}}

Request Body

Name
Type
Description

skyId*

String

The sky ID that can be fetched on the Get Skies endpoint. sunny, sunrise, sunset, sunset_rose

webhook

String

(optional) Webhook POST URL to send the result on completion. If not provided, the request will wait for the result.

enhanced

(True / False)

(recommended)

Default to false.

Will use to enhanced mode to deliver an ultra realistic sky modification with advanced effects on the environment. (works for both indoors and outdoors photos) Cost: 2 credits

Code Examples

Results

Enhanced mode "true"

Original photo
Sunny (enhanced) + Upscale
Sunset (enhanced) + Upscale
Sunrise (enhanced) + Upscale
Original photo
Sunset (enhanced) + Upscale

Enhance mode "false"

BEFORE
AFTER SUNRISE + UPSCALE
BEFORE
AFTER SUNNY + UPSCALE
BEFORE
AFTER SUNNY + UPSCALE

Last updated

Was this helpful?