Text Rendering Control Template and Example Prompt

Text Rendering Control Template and Example Prompt

prompt

{ "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" } ] }

Funziona su 20 modelli

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +8 Altri

Cosa produce questo prompt

Split-Page Coffee Shop Travel Journal Non specificato gpt-image-2
Cute Chibi Characters in a Sweet Playful Moment Non specificato gpt-image-2
Underground Train Yard Clash Anime Development Board Non specificato gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect Non specificato nano-banana-pro
Exploded-View Structural Cutaway for Food Photography Non specificato nano-banana-pro
Four Seasons Portrait Collage Non specificato nano-banana-pro

Run questo prompt con il API

La richiesta seguente invia questo prompt, con i valori predefiniti compilati, al primo modello su cui viene eseguito. Scambia il nome del modello con qualsiasi altro modello elencato sopra.

Documentazione API prompt
/api/v1/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"scene\": \"minimalist tech poster with gradient background\",\n  \"text_elements\": [\n    {\n      \"text\": \"AI Revolution 2025\",\n      \"position\": \"center, upper third\",\n      \"font_style\": \"bold, futuristic sans-serif, glowing effect\",\n      \"size\": \"large headline\"\n    },\n    {\n      \"text\": \"The future is now\",\n      \"position\": \"center, lower third\",\n      \"font_style\": \"elegant script, smaller subtitle\"\n    }\n  ]\n}"
}
JSON

Prova a prompt

Stimato: $0.04 / immagine

Accedi per generare con RunAPI.

Accedi per generare

Accedi per iniziare a generare con i modelli linguistici disponibili.