JSON Prompt Template for Defining Canvas Size

JSON Prompt Template for Defining Canvas Size

翻譯: Prompt

{ "scene": "futuristic AI workspace with holographic screens showing code", "resolution": "4K", "aspect_ratio": "16:9", "style": "cinematic lighting, cyberpunk aesthetic, ultra-detailed" }

翻譯: Runs on 21 models

  • 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 more

這則提示詞的輸出

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

翻譯: Run this prompt with the API

翻譯: The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

翻譯: Prompt API docs
/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\": \"futuristic AI workspace with holographic screens showing code\",\n  \"resolution\": \"4K\",\n  \"aspect_ratio\": \"16:9\",\n  \"style\": \"cinematic lighting, cyberpunk aesthetic, ultra-detailed\"\n}"
}
JSON

翻譯: Try a prompt