What Is Depth of Field? Definition + Examples
Depth of field is the range of distance in front of and behind the focal point that appears acceptably sharp in an image or video frame. Plus how it works, examples, and where to use it in AI workflows.
What Is Depth of Field?
Depth of field is the range of distance in front of and behind the focal point that appears acceptably sharp in an image or video frame.
Everything outside that range blurs. A shallow depth of field produces a narrow in-focus zone with heavy background blur (bokeh), which is what you see in portrait photography or close-up product shots. A deep depth of field keeps most of the scene sharp from front to back, common in landscape photography and architectural imagery. In AI generation, depth of field is controlled through text prompts rather than a lens aperture, so understanding what each cue signals to the model is what gets you the look you want.
How depth of field works
In a real camera, depth of field is determined by three variables: aperture, focal length, and subject distance. A wide aperture (low f-number, like f/1.4) produces shallow depth of field because light converges at a sharp point and diverges quickly on either side. A narrow aperture (high f-number, like f/11) keeps more of the scene in the acceptable sharpness range.
AI video and image models don't have a literal aperture. They've learned the visual correlation between lens settings and the resulting blur patterns from billions of training images. When you write "shallow depth of field" in a prompt, the model activates the learned distribution of images that have that look: sharp subject, soft background, smooth bokeh circles. When you write "deep depth of field" or say nothing about it at all, the model defaults to more uniformly sharp output.
The blur itself (bokeh) has a shape that depends on lens construction. Most models reproduce round bokeh by default. If you need a specific character, you can prompt for it directly: "creamy bokeh," "hexagonal bokeh," "harsh out-of-focus highlights."
When you use depth of field
Subject isolation. If you want a person, product, or object to read cleanly against a background, shallow depth of field is the fastest way to get there. The blur separates your subject from the environment without requiring a clean background plate.
Cinematic look. Shallow DoF is strongly associated with professional cinema and high-end photography because it requires expensive fast glass and deliberate focus pulls. Prompting for it signals to the model that you want that production aesthetic.
Macro and close-up detail. At very close focus distances, depth of field becomes extremely thin even at moderate apertures. Macro photography of a flower or product component will have maybe a few millimeters of true sharpness. Prompting "macro depth of field" or "extreme shallow DoF, macro lens" tells the model to replicate this look.
Landscape and architectural context. Deep depth of field is the right call when the environment is the story. "Deep depth of field, f/11, wide angle" keeps the full scene readable.
Examples
Veo in 8frame. For cinematic product or character clips, "shallow depth of field" is one of the most reliable Veo cues. A prompt like "product on a white surface, studio lighting, shallow depth of field, soft bokeh background, 4K" consistently produces clean subject isolation with smooth background blur. Veo handles focus-pull motion well too: "rack focus from foreground to subject, shallow depth of field" will attempt a focus transition mid-clip.
Nano Banana in 8frame. Nano Banana handles macro DoF particularly well because of its training on close-up and product photography. A prompt like "fresh banana slice, macro lens, extreme shallow depth of field, water droplets, studio light" produces a tight focal plane across just a few millimeters of the subject, with the rest falling off into blur. This is the model to reach for when you need that close-in commercial food or product aesthetic.
Deep DoF for context shots. For wide establishing shots or environmental imagery where the full scene needs to read, "deep depth of field, wide angle lens, f/11" keeps foreground and background in focus. This works across Veo, Kling, and most image models.
Related concepts
- Veo 3 Prompt Guide covers depth of field cues in detail alongside motion, lighting, and camera movement prompts for Veo specifically.
- Nano Banana vs Seedream vs FLUX compares how each image model handles macro and close-up depth of field, among other visual qualities.
Ready to try it? Open the canvas on 8frame and add a depth of field cue to your next generation run.