Day to Dusk API
Twilight exteriors make strong hero images, but evening shoots are hard to schedule at scale. With the Roomagen day to dusk API, a daylight photo of a building is relit for the hour you pick (the sky turns, the light comes in at that hour’s angle and, after sunset, the lights already on the building glow) through one API call, and the model is told to keep the facade, planting and composition as photographed. Jobs are typically ready in 20–60 seconds.


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-exterior tool, get a job id, receive a webhook when the result is ready.
$ 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-exterior","image_url": "https://example.com/photo.jpg","options": {"timeShift":20,"season":"none"},"webhook_url": "https://yourapp.com/hooks/roomagen"}'# → { "job_id": "3f1c9d4e-…", "status": "processing", "images_charged": 1, "warnings": [] }
Every option of day-to-dusk-exterior in the docs → · All documented tools
Prepaid, per image
Up and running in minutes
Create a key, send one POST, get the finished image back. No sales call, no onboarding queue.
- 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
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-exterior","image_url": "https://example.com/photo.jpg","options": { "timeShift": 20, "season": "none" } }'# → 201 { "job_id": "3f1c9d4e-…", "status": "processing", "images_charged": 1, "warnings": [] } - 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, watermarked until you buy a pack · no card required