2026-09-10
How to add a believable rainbow to an AI photo

A believable rainbow always sits directly opposite the sun: centered on the antisolar point, at about 42 degrees, with red on the outside and violet on the inside. Most AI rainbows go wrong exactly there, with an arc hanging in the wrong place or colors in random order. Here's why that happens and how to prompt a rainbow that matches your light.
Why does your AI rainbow often land in the wrong place?
A rainbow always appears in the direction opposite the sun. Stand with your back to the sun and the rain shower, and so the arc, sits in front of you. The center of the bow, the antisolar point, lies exactly opposite the sun from where you stand, and the arc itself runs at about 42 degrees around it (according to Atmospheric Optics).
An AI model often puts the sun and the rainbow in the same half of the image, or renders an arc that doesn't match the direction of the light. That gives the image away instantly.
- Put the sun (and the brightest light) behind the camera position, the shower in front.
- Let the sun's shadows point away, toward where the arc hangs.
- Because the arc sits at 42 degrees around the antisolar point, it stays low when the sun is high. With the sun above about 42 degrees of altitude, you only see the top of the bow, or nothing at all. Rainbows belong to a low sun: early morning or late afternoon.
The right color order: red outside, violet inside
In an ordinary (primary) rainbow, red sits on the outer edge and violet on the inner edge, with orange, yellow, green and blue in between. That is the fixed ROYGBIV order, and it holds in every real rainbow.
AI models often turn this into a vague band of color, reverse the order, or stack up harsh, cartoonish hues. So name the order explicitly in your prompt ("red on the outer edge, violet on the inner edge") and ask for soft, semi-transparent bands rather than a solid stripe of paint. A real rainbow is subtle: you can see the clouds and the sky straight through it.
Single or double rainbow? Watch the reversed colors
In a double rainbow, the second, fainter bow has its colors in reverse order: red on the inside. That secondary bow sits farther out, at about 51 degrees, with a noticeably darker strip of sky between the two (Alexander's band).
AI models frequently render a double bow wrong: two identical arcs with the same color order and no dark band. If you want a double rainbow, state that the second bow is fainter, sits farther out, has reversed colors, and that the sky between them is darker. Not sure? One clear bow is more believable than a badly rendered double.
How do you describe a rainbow in your prompt?
Describe the light and the weather first, then the bow. A rainbow is a result of sun plus rain. Get the light right and the arc falls into place on its own.
- Set the scene: a low sun behind the camera, a rain shower or freshly stopped rain in front, wet ground bouncing the light back.
- Place the bow opposite the sun, low above the horizon, often as part of an arc rather than a full half circle.
- Ask for soft, semi-transparent colors in the correct order, with the background visible through the bow.
- Generate a few variants and pick the arc that best matches your light. Because you pay per render, adjusting costs little.
Already have a landscape photo and just want to add a rainbow? Use the photo editor to place an arc precisely where it belongs, opposite the sun, without regenerating the whole image.
Frequently asked questions
Where should the sun be for a rainbow?
Behind you. A rainbow always appears opposite the sun, centered on the antisolar point. In your AI image that means the sun and the shadows on one side, the arc on the other.
Why does my AI rainbow look fake?
Usually because of harsh, opaque colors or a wrong order. Real rainbows are soft and semi-transparent, with red outside and violet inside. Ask for subtle bands that let the background show through.
Can I add a rainbow to an existing photo?
Yes. With inpainting in the photo editor you add an arc precisely in the spot opposite the sun, without regenerating the rest of the image.
How do I make a believable double rainbow?
State that the second bow is fainter, sits farther out and has reversed colors (red inside), with a darker strip of sky between them. Otherwise the model makes two identical bows, and that isn't correct.
A rainbow that holds up comes down to one thing: set the light first, then the bow. Want to try it? Create an account and adjust your first rainbow per render in the photo generator.