JSON Prompt Template for Camera and Lighting Control

JSON Prompt Template for Camera and Lighting Control

prompt

{ "scene": "AI engineer working at futuristic desk with multiple holographic displays", "camera": { "angle": "over-the-shoulder, slightly elevated", "focal_length": "50mm portrait lens", "depth_of_field": "shallow, subject in sharp focus, background slightly blurred" }, "lighting": { "type": "dramatic side lighting with blue accent lights", "time_of_day": "late night", "mood": "focused, tech-noir atmosphere", "shadows": "deep but not harsh" }, "color_grade": "cool tones, teal and orange color scheme" }

Funciona con 21 modelos

  • 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 Más

Lo que produce este prompt

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

Run este prompt con el API

La siguiente solicitud envía este mensaje, con sus valores predeterminados completados, al primer modelo en el que se ejecuta. Cambie el nombre del modelo por cualquier otro modelo enumerado anteriormente.

Documentación de la API de prompts
/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\": \"AI engineer working at futuristic desk with multiple holographic displays\",\n  \"camera\": {\n    \"angle\": \"over-the-shoulder, slightly elevated\",\n    \"focal_length\": \"50mm portrait lens\",\n    \"depth_of_field\": \"shallow, subject in sharp focus, background slightly blurred\"\n  },\n  \"lighting\": {\n    \"type\": \"dramatic side lighting with blue accent lights\",\n    \"time_of_day\": \"late night\",\n    \"mood\": \"focused, tech-noir atmosphere\",\n    \"shadows\": \"deep but not harsh\"\n  },\n  \"color_grade\": \"cool tones, teal and orange color scheme\"\n}"
}
JSON

Probar a prompt