Character Consistency Template and Example Prompt

Character Consistency Template and Example Prompt

الأمر

{ "scene": "tech startup team brainstorming in modern office", "characters": [ { "character_id": 1, "description": "Asian female engineer, mid-20s, black hair in ponytail, wearing blue hoodie and glasses, confident expression", "consistency_priority": "high", "position": "center, gesturing at whiteboard" }, { "character_id": 2, "description": "Latino male developer, early-30s, beard, casual t-shirt, focused expression", "consistency_priority": "high", "position": "left side, typing on laptop" } ], "character_interactions": "collaborative and engaged, both focused on same project", "maintain_across_series": true }

يعمل على موديلات 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 المزيد

ما الذي ينتجه هذا الـ prompt؟

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/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\": \"tech startup team brainstorming in modern office\",\n  \"characters\": [\n    {\n      \"character_id\": 1,\n      \"description\": \"Asian female engineer, mid-20s, black hair in ponytail, wearing blue hoodie and glasses, confident expression\",\n      \"consistency_priority\": \"high\",\n      \"position\": \"center, gesturing at whiteboard\"\n    },\n    {\n      \"character_id\": 2,\n      \"description\": \"Latino male developer, early-30s, beard, casual t-shirt, focused expression\",\n      \"consistency_priority\": \"high\",\n      \"position\": \"left side, typing on laptop\"\n    }\n  ],\n  \"character_interactions\": \"collaborative and engaged, both focused on same project\",\n  \"maintain_across_series\": true\n}"
}
JSON

جرب المطالبة