Developer API — Live

Day to Dusk API

Twilight exterior photos consistently draw more attention to a listing, but golden-hour shoots don't scale. With the Roomagen day to dusk API, a plain daylight exterior becomes a warm twilight shot — dusk sky, glowing windows, balanced ambient light — through one API call that returns in 10–30 seconds.

Get your API key
Day to Dusk API input
input.jpg
Day to Dusk API result
✓ result.jpg · 24s

Who builds with this endpoint

Real-estate media companies

Offer twilight conversion as a line item on every shoot without scheduling evening sessions — daylight exteriors from the day shoot become dusk shots in post.

Listing portal automation

Generate a twilight hero image for featured listings automatically, giving premium placements a distinct look without any manual editing step.

Architecture visualization studios

Produce dusk variants of exterior renders and site photography for client presentations, showing how a facade reads under evening light.

Hospitality marketing

Turn daytime shots of hotels, resorts and restaurant exteriors into inviting evening imagery for booking pages and seasonal campaigns.

One request, one webhook

Submit a job with the day-to-dusk tool, get a job id, receive a webhook when the result is ready.

POST /api/v1/jobs — day-to-dusk
$ curl -X POST https://api.roomagen.com/api/v1/jobs \
-H "X-Api-Key: rmg_live_..." \
-H "Content-Type: application/json" \
-d '{
"tool": "day-to-dusk",
"image_url": "https://example.com/photo.jpg",
"options": {"timeShift":20,"viewType":"none"},
"webhook_url": "https://yourapp.com/hooks/roomagen"
}'
# → { "job_id": "job_8f3a...", "status": "processing" }

Prepaid, per image

Developer

$0

50 images, one time

watermarked

Pilot

$125

500 images

$0.25 / image

Buy in the portal

Prepaid · never expires

Most popular

Growth

$550

2,500 images

$0.22 / image

Buy in the portal

Prepaid · never expires

Scale

$2,000

10,000 images

$0.20 / image

Buy in the portal

Prepaid · never expires

Full pricing on the API overview →

Up and running in minutes

Create a key, send one POST, get the finished image back. No sales call, no onboarding queue.

roomagen-api — quickstartv1
  1. 1

    Create your key

    Sign in to the developer portal and generate a key. It is shown once, so store it somewhere safe.

    developers.roomagen.com/portal ↗
  2. 2

    Run your first job

    One POST with a tool slug and your image. It returns immediately with a job id — generation runs in the background.

    $ curl -X POST https://api.roomagen.com/api/v1/jobs \
    -H "X-Api-Key: rmg_live_..." \
    -H "Content-Type: application/json" \
    -d '{ "tool": "day-to-dusk",
    "image_url": "https://example.com/photo.jpg",
    "options": { "timeShift": 20, "viewType": "none" } }'
    # → 201 { "job_id": "job_8f3a...", "status": "processing" }
  3. 3

    Get the result

    Set a webhook_url and we call you when the image is ready, or poll the job endpoint. Typically 20–60 seconds.

    POST → your webhook_urlGET /api/v1/jobs/{id}

50 free images on your first key · no card required

Day to Dusk API FAQ

Day to Dusk API — Turn Daylight Exteriors into Twilight Photos | Roomagen