← Blog

2026-08-04

Sunstars in AI Photos: Steering Sharp Light Rays

Sunstars in AI Photos: Steering Sharp Light Rays

A sunstar (also called a starburst) is the star of sharp light rays that appears around a bright point of light when a lens is stopped down far. You see it in landscape photos where the sun just peeks around a mountain ridge, or in night shots where every streetlight turns into a pointed star. In a real camera that effect comes from diffraction: the light bends around the edges of the aperture blades. An AI generator has no real aperture, but the models are trained on photos with that look, so you steer it with the right words. Below you'll read what shapes a sunstar, how many rays you get, and how to name a sharp star in your prompt.

What is a sunstar and why does it appear?

A sunstar comes from diffraction around the lens opening. When you stop a lens down far (a high f-number, small opening), the light bends around the straight edges of the aperture blades, and each edge throws a pair of rays outward. With a lens wide open that opening is almost round and you see no star; only when you stop down to a small, angular opening do the pointed rays appear.

There are two conditions. You need a small, bright light source, such as the sun, a lamp or a reflection in a window, and that source has to be a small, hard point rather than a large diffuse glow. So in an AI photo you name both: the stopped-down lens and a point-shaped light source in the frame.

How many rays does your star get?

The number of rays depends on the number of aperture blades in the lens. The rule: a diaphragm with an even number of blades gives as many rays as blades, and an odd number of blades gives twice as many rays (Wikipedia). Six blades make a tidy six-point star, while nine blades give a star with eighteen finer rays.

That happens because with an even number of blades the rays from opposite edges overlap exactly, while with an odd number they all stay separate. In an AI generator you don't set blades, but you can name the number: 6-point sunstar gives a crisp, symmetrical star, 14-point sunstar or 18-point starburst gives a fuller, finer spray. Name nothing and the model decides for itself, and then the point count lands all over the place.

What makes a sharp, clean sunstar?

You get a sharp star by stacking three things: a lens stopped down far, a small and hard point of light, and a light source that partly disappears behind an edge. Rays are sharpest at a small aperture, in practice around f/16, and they get extra crisp when you let the sun or lamp just touch against a tree branch, roofline or building. That hard edge pinches the light down to a small point, and that's exactly where the star looks best.

The shape of the blades matters too: straight blades give sharp, graphic rays, while rounded blades (made for nice bokeh) give a softer, vaguer star. In a real camera there's a downside, because stopping down very far to f/22 makes the rest of your image a touch softer through the same diffraction. In an AI photo you don't have that trade-off: you ask for the look of a sharp sunstar without the rest of the image suffering. So you simply name the effect, not the physical price of it.

How to call up a sunstar in your prompt

Name the effect with fixed English terms and make sure there's a real light source in the frame. A few useful building blocks:

  • The effect: sunstar, sunburst, starburst, sharp star-shaped light rays, plus a count such as 14-point sunstar.
  • The lens: small aperture, stopped-down aperture, f/16, deep depth of field (which fits a small aperture).
  • The light source: low sun peeking around the edge of a building, bright streetlight at night, sunlight through tree branches, sun just touching the horizon.

Example: "landscape photo at sunrise, low sun peeking around the edge of a mountain ridge, small aperture f/16, sharp 14-point sunstar, deep depth of field". Not sure how to phrase it? A prompt generator turns your idea into a clean description, lens and light source included, which you then use in the photo generator.

Sunstars in AI video

In video a sunstar works the same way, only moving: as the camera passes the sun or a lamp, the star drifts along and flares up the moment the light source clears an edge. That instantly makes a shot feel cinematic. In the video generator, describe the light source and the sunstar first, and the camera movement after, so the model knows which point should form the star. Keep the style consistent per scene, just like your light and colour, or the star jumps from shot to shot.

Common mistakes

  • Asking for a sunstar without a light source. The star only appears around a small, bright point of light. A grey sky or a flat wall gives no rays.
  • Too large and diffuse a light source. A large soft glow smears into a blob. Ask for a small, hard point, or let the light partly disappear behind an edge.
  • Not naming the number of points. Without 6-point or 14-point sunstar the model decides for itself, and the count changes per render.
  • Stars that change across a series. Building a series with the same persona or location? Keep the same sunstar terms, just like face, light and colour.

Frequently asked questions

What exactly is a sunstar?

A sunstar is the star of sharp light rays around a bright point of light, such as the sun or a lamp, which in a real camera comes from diffraction with a lens stopped down far. In an AI photo you call up that look with terms like sunstar or starburst plus a small, bright point of light in the frame.

Why do I get a blurry glow instead of pointed rays?

Then your image is missing a small, hard point of light or a stopped-down lens. Add small aperture, f/16 and sharp sunstar, and make sure the light source is a small point that partly disappears behind an edge.

How many points does a sunstar have?

That depends on the number of aperture blades: an even number gives as many points, an odd number twice as many. Six blades give a six-point star, nine blades a star with eighteen rays. In an AI prompt you simply name the count, for example 6-point or 18-point sunstar.

A sunstar is one of the fastest ways to give a photo mood and depth: one line in your prompt turns a dull sky into a scene with a radiant sun. Create an account and render the same sunrise once with 6-point sunstar and once with 18-point starburst in the photo generator. You'll see straight away which star fits your image best.