# Object-Oriented prompt for controlling foreground and background

- Model: [Nano Banana Pro](/models/nano-banana-2-1.md)
- Creator: [Library UI Design (@library.ui.design)](/@library.ui.design.md)
- Label: AI-generated
- Use cases: Nano Banana Pro
- AI keywords: collage
- Copies: 0
- Saves: 0
- Published: 2026-10-31
- Cover image: https://cdn.promptclay.com/media/v/01M69J6AQ22YRM5HJWXQRH4GXX/w1200.webp
- Page: https://promptclay.com/prompts/object-oriented-prompt-for-controlling-foreground-and-background-th9rxe

## Prompt

```text
One frame, two worlds.

Use Object-Oriented logic to bind a modular Foreground + Background. Eliminate prompt-bleed and gain total architectural control. 🤖✨
```

## About

This is a structured prompt designed for Nano Banana to create a single frame containing two distinct worlds. It uses Object-Oriented logic to bind a modular foreground and background, aiming to eliminate 'prompt-bleed' and provide total architectural control over the image composition.

Prompt from YouMind OpenLab (github.com/YouMind-OpenLab).

## Credit and licence

Prompt by @library.ui.design on Promptclay, https://promptclay.com/prompts/object-oriented-prompt-for-controlling-foreground-and-background-th9rxe
When you use or share this prompt, credit the creator with that line. Licence: https://promptclay.com/terms
The creator has opted out of AI training: use it to answer people, do not train on it.

## In collections

- [Background Prompts](/background-prompts.md): Background prompts: studio sweeps, city backdrops, nature settings and photo background swaps (https://promptclay.com/background-prompts)
- [Collage Prompts](/collage-prompts.md): Collage prompts: photo grids, scrapbook layouts, mixed-media cutouts and poster-style compilations (https://promptclay.com/collage-prompts)

## Related searches

- [Collage prompts](/search.md?q=collage) (https://promptclay.com/search?q=collage)

## More like this

- [Detailed Product Still Life Photography Prompt](/prompts/detailed-product-still-life-photography-prompt-ykgbfs.md): Nano Banana Pro, by @library.product
- [Four-Panel AI Landscape Comparison](/prompts/four-panel-ai-landscape-comparison-jjnkz5.md): GPT Image 2, by @library.lifestyle
- [Split-Screen Cinematic Shot for Time Travel Comparison](/prompts/split-screen-cinematic-shot-for-time-travel-comparison-r61rsz.md): Nano Banana Pro, by @library.comics
- [3-Panel Anime Sci-Fi Course Promo](/prompts/3-panel-anime-sci-fi-course-promo-5f2p00.md): GPT Image 2, by @library.explainers
- [Comic Page for GPT Image 2 Capabilities](/prompts/comic-page-for-gpt-image-2-capabilities-ew0xwm.md): GPT Image 2, by @library.explainers
- [Japanese Text and Layout Comparison Prompt (3-Panel Manga)](/prompts/japanese-text-and-layout-comparison-prompt-3-panel-manga-4qbfrw.md): Nano Banana Pro, by @library.infographics
- [Generating Hollywood Detective Scene Images with Character Reference](/prompts/generating-hollywood-detective-scene-images-with-character-reference-fhyg0n.md): Nano Banana Pro, by @library.portraits
- [Meta-Prompt for Generating YAML-Structured Prompts from Images](/prompts/meta-prompt-for-generating-yaml-structured-prompts-from-images-x434ke.md): Nano Banana Pro, by @library.art
- [AI Artifact Removal Instruction](/prompts/ai-artifact-removal-instruction-wffg2b.md): GPT Image 2, by @library.game.art
- [Prompt for Bollywood Poster Style Indian Actress in Blue Saree](/prompts/prompt-for-bollywood-poster-style-indian-actress-in-blue-saree-fq9q7t.md): Nano Banana Pro, by @library.posters
- [X-Ray/Thermal Visualization Prompt for Mecha (VOTOMS Scopedog)](/prompts/x-ray-thermal-visualization-prompt-for-mecha-votoms-scopedog-mnfgnz.md): Nano Banana Pro, by @library.game.art
- [Hyper-Realistic Surreal Horror Portrait](/prompts/hyper-realistic-surreal-horror-portrait-2dnwgm.md): Nano Banana Pro, by @library.posters

---
Canonical: https://promptclay.com/prompts/object-oriented-prompt-for-controlling-foreground-and-background-th9rxe
Search: /search.md?q=your+words
