ARCHIVE/PROMPT #11439

JSON Prompt Template for Text Rendering in AI Images

A JSON template and an example prompt demonstrating how to use the Nano Banana Pro's text rendering parameters. This allows users to specify the exact text, position, font style, and size for text elements within the generated image.

Author:Ryan Hart
Published: Mar 4, 2026
Original Post
JSON Prompt Template for Text Rendering in AI Images - asset 1
Click to expand
Visual generation preview from source
Formula Content
{
  "scene": "minimalist tech poster with gradient background",
  "text_elements": [
    {
      "text": "AI Revolution 2025",
      "position": "center, upper third",
      "font_style": "bold, futuristic sans-serif, glowing effect",
      "size": "large headline"
    },
    {
      "text": "The future is now",
      "position": "center, lower third",
      "font_style": "elegant script, smaller subtitle"
    }
  ]
}