JSON Prompt Template for Text Rendering in AI Images

JSON Prompt Template for Text Rendering in AI Images

즉각적인

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

21 모델에서 실행됩니다.

  • 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
  • +9 이상

이 프롬프트의 출력

Nano Banana prompt: She is wearing this outfit(white top ) given in im... 지정되지 않음 nano-banana-2.1
Seedream 5 prompt: woman 지정되지 않음 v2
Hero prompt: مع رجل اسود على شاطى البحر 지정되지 않음 1.0
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... 지정되지 않음 flux-2-pro
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... 지정되지 않음 flux-2-pro
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... 지정되지 않음 flux-2-pro

API를 사용하여 이 프롬프트를 실행하세요.

아래 요청은 기본값이 채워진 이 프롬프트를 실행되는 첫 번째 모델로 보냅니다. 위에 나열된 다른 모델의 모델 이름을 바꾸십시오.

프롬프트 API 문서
/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

메시지를 보내보세요