One background in day, sunset and night, without the room moving
Every scene in our library is one picture, relit twice. This is how we do it with an image model, the sentences we send, and the four things that go wrong.
Updated
A visual novel cuts from afternoon to evening in the same room. A stream overlay goes dark at night. In both cases the three pictures have to be the same place from the same spot: if a desk jumps or a window shows a different street, people notice, especially when the change is a cross-fade.
You can’t get that by writing the same prompt three times with a different hour. The model paints a new room each time. What works is to paint one picture and then ask the model to change only the light. All our tests below ran on Dreamina 5.0 at 2K, image to image, on 2026-11-29.



Paint the best hour first
We used to paint every scene at noon and relight it to sunset and night. Noon is the easiest hour to relight, and the dullest to look at: flat light, no direction, nothing for the eye to follow. The library filled up with noon pictures and their two copies.
Now each scene is written for the hour that suits it, the one we call its hero time, and that picture is painted first. The other two are relit from it. We were worried that relighting a dramatic base would hold the camera less well than relighting a neutral one, so we tested it on four bases: the cliff platform above (sunset), a hill road down to the sea (noon), a classroom at golden hour, and a bedroom at blue hour. Each base was relit to one or both of the other hours, two candidates each time, 14 pictures in all. The camera held in all 14, apart from the small drift described below, and only one repainted part of the picture: the view through the bedroom window.



The relight prompt
The test sentences were short. This is the night one, exactly as sent with the sunset platform attached:
Relight this exact picture as night. Keep the camera, the composition and every object exactly where it is; change only light, sky and colour. Deep blue night sky with stars, and the scene still clearly readable, not black. Only lamps and windows already in the picture may light up. Keep exactly the same painting style. No people, no text. Add nothing and remove nothing.
For the library we changed two things. The sky came out: “blue sky with a few white clouds” by day fights a scene that is meant to be snowing, so the fixed part now names only the hour. And each scene got one sentence of its own for each relit time, so that the relit pictures have a light of their own instead of looking like leftovers. Checking the first batch made this way added three more sentences, about light left over from the base hour, the noon sun and new windows (below). Put together, the night relight of the cliff platform (a poster-colour scene, hence its style sentence) reads:
Relight this exact picture as night. Keep the camera, the composition and every object exactly where it is; change only light, sky and colour. Everything seen through the windows or in the distance stays exactly as in the picture; only its light changes. Remove every patch of direct light left from the earlier hour: sun stripes on floors and walls, dappled sunlight under trees, and the old sky shining in water, mirrors and glass. Light the scene only with the light of the new hour. Add no windows, openings or lamps, and glass that shows no view stays without a view, unless told otherwise below. Same painted anime background style. No people, no text. Night: a deep blue sky full of stars, moonlight laying a silver path on the sea and two thin lines along the rails. Add nothing and remove nothing: only lamps, lanterns and windows already in the picture may light up, and every surface, field, plant and view through a window stays exactly as it is.
What each part is for:
- “Relight this exact picture”, with the picture attached as the reference image.
- “Change only light, sky and colour” names what may change. “Add nothing and remove nothing” at the end says the rest.
- The view through windows, said separately. The model treats what is outside a window as background it can repaint. It needs its own sentence.
- “Only lamps already in the picture may light up.” It is there because night relights in our first library batch added lamps, lanterns and window views that were not in the day picture. It does not stop it completely: the glowing sign further down came out with this sentence in the prompt.
- Clear the old hour’s light. Relights kept the base’s sun stripes on floors, dappled light under trees and the old sky shining in puddles and glass. “Remove every patch of direct light left from the earlier hour” names them.
- Noon has the sun high and out of frame. A noon relit from a sunset kept the low sun and long shadows. The day relight adds “The sun is high in the sky and out of the frame, and shadows are short, unless told otherwise below”; the night and sunset ones don’t.
- No new windows or lamps. Frosted glass and underground walls came back with a view painted in. “Add no windows, openings or lamps, and glass that shows no view stays without a view” stops most of it; “unless told otherwise below” lets a scene’s own sentence overrule it.
- One light event for the hour, written like the base prompt: where the light comes from and what it lands on. “Noon: hard white sun high overhead, the sea a flat brilliant blue, short shadows under the shelter.”
Four candidates, then choose
The base is generated four at a time and chosen by eye, at full size: does the light do what the prompt said, is there a near, a middle and a far, are there defects (letters on signs, a figure, a second sun), and would you put it on your own desktop. If none passes the first two, we rewrite the prompt.
Each relit time is also generated four times. Our pipeline measures how far each candidate has moved from the base, by matching edges in a 6 × 4 grid of tiles, and keeps the one that moved least. Then an AI review with a written checklist compares the three pictures side by side and in full-size crops. If the closest one is not the best one, we can pick another by hand.
What goes wrong
The view through the window is repainted. The furniture stays, the houses outside become other houses. This bedroom kept its bed, desk, fan and string lights, and got a new street.


Things that were never lamps start to glow. On the cliff platform, a timetable board on a post became a lit sign at night. Sometimes that is fine. When a new streetlight appears in the middle of a field, it is not.


The picture drifts a little. Even when nothing is redrawn, the relit picture is often scaled or shifted slightly. In our 14 test relights the scale changed by 0.2% to 0.8% and the corners moved 3 to 12 pixels on a 2048-pixel-wide picture. You cannot see that side by side. In a cross-fade the whole picture swims. Our pipeline measures it, resamples the relit pictures back onto the base when the error is a small scale or shift, then crops all three to the area they all really cover and scales them back up, so no edge is invented.
The weather and motion stay. A relight keeps whatever was frozen in the base. The golden-hour classroom has curtains lifting in a breeze; at night, under the fluorescent tubes, they are still lifting. Choose a base whose moving things make sense at every hour, or accept it.


A short checklist
When you look at a set, look at the three pictures in a cross-fade, not only side by side. Then check:
- the camera: horizon, floor line and the corners of the frame;
- large objects: buildings, furniture, trees, poles;
- what is seen through windows and at the far end of the view;
- new lights at night, and lamps that switched on that were not lamps;
- that the night is still readable and the style has not changed.
Light, sky and lamps that already existed changing is what you asked for. A new building, a moved desk or a repainted window view means you generate that time again.
Every scene in the library is made this way, so you can download a set and cut between the times. In Studio, “Same place at…” relights your own picture with sentences of the same kind. For writing the base prompt, see how to write prompts for anime backgrounds.
In the library
Scenes this guide talks about, as full sets. Free at 1920×1080.
Try it in Studio
This prompt, filled in. Change the place, the hour or the light and paint your own.
A tiny unmanned railway platform on a sea cliff, the last ten minutes before sunset. Low camera looking along the single track as it curves away along the coast. The sun is low straight ahead: shelter, bench and poles are dark shapes with thin gold rims, the rails two lines of reflected light, the sea a sheet of glitter.
Open in Studio with this promptOther guides
-
One prompt, six image models: which paints anime backgrounds best
In November 2026 we sent the same classroom prompt to six image models and set the pictures side by side, with what each one cost us. The free one held its own. -
How to write a prompt for an anime background with no one in it
The rules we now write every library scene by, each next to the picture it changed. Every prompt on this page was sent exactly as shown, to Dreamina 5.0 at 2K. -
Why AI anime backgrounds look flat
Our first 424 library scenes were made under house rules that caused six problems, each shown here on a picture of ours. The model was not the cause: the same model painted the better pictures. -
Day, sunset and night backgrounds in Ren'Py
How to put a three-time background set into a Ren'Py project, cut between the hours with a dissolve, and let one variable pick the right picture. Written against the Ren'Py 8.6 documentation. -
A background behind your VTuber model in OBS
Canvas, layer order, getting the model in with a transparent background, switching from day to night with a fade, and making the model and the room look lit by the same light. -
Using AI-generated backgrounds commercially
Whether you may use an AI background in a game you sell is two questions: what the image's licence allows, and what stores, jams and copyright law say about AI-made material. Sources read on 29 November 2026.











