Paper Relief Hierarchical Composition

A technical pseudo-code style prompt for generating layered paper relief art with specific depth and lighting constraints.

Paper Relief Hierarchical Composition

Prompt

2x2 grid, 16:9, do this for 4 famous emperors and their kingdoms: type PaperColor = Sepia | Cream | Parchment | Shadow data Material = AgedPaper PaperColor -- B₁: Everything in the scene MUST be of type Material data SceneElement = Figure Material | Prop Material | Page Material | Text Material -- B₂: The Z-Stack enforces physical depth data ZStack = Stack [SceneElement] -- Ordered from background (z=0) to foreground (z=n) -- B₄: Lighting is a function that takes the Z-Stack and produces sharp layered shadows raking_light :: ZStack -> Image raking_light stack = apply_directional_light stack (angle=Low, softness=Soft, shadow_sharpness=High) render :: ScientistArchetype -> Quote -> Image render s q = let figure = Figure (AgedPaper Cream) -- The scientist is made of paper pages = Page (AgedPaper Sepia) text = Text (AgedPaper Parchment) -- The quote is cut from paper in raking_light (Stack [pages, text, figure, pages])

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait Not specified nano-banana-pro

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/gpt_image_2/text_to_image
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "gpt-image-2",
  "prompt": "2x2 grid, 16:9, do this for 4 famous emperors and their kingdoms: type PaperColor = Sepia | Cream | Parchment | Shadow data Material = AgedPaper PaperColor  -- B₁: Everything in the scene MUST be of type Material data SceneElement = Figure Material | Prop Material | Page Material | Text Material  -- B₂: The Z-Stack enforces physical depth data ZStack = Stack [SceneElement] -- Ordered from background (z=0) to foreground (z=n)  -- B₄: Lighting is a function that takes the Z-Stack and produces sharp layered shadows raking_light :: ZStack -> Image raking_light stack = apply_directional_light stack (angle=Low, softness=Soft, shadow_sharpness=High)  render :: ScientistArchetype -> Quote -> Image render s q = let figure = Figure (AgedPaper Cream) -- The scientist is made of paper                  pages = Page (AgedPaper Sepia)                  text  = Text (AgedPaper Parchment) -- The quote is cut from paper              in raking_light (Stack [pages, text, figure, pages])"
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.