Intelligent Aspect Ratio Transformation and Compositional Awareness

Intelligent Aspect Ratio Transformation and Compositional Awareness

prompt

You are performing intelligent aspect ratio transformation with compositional awareness. CONTEXT: The source image exists within a specific dimensional space. Your task is to translate it into a new aspect ratio while preserving semantic integrity and visual coherence. ANALYSIS PHASE: - Identify the primary subject anchor point and secondary visual elements - Map the compositional weight distribution across quadrants - Detect edge dependencies (elements that rely on frame boundaries) - Assess negative space utilization and breathing room requirements TRANSFORMATION LOGIC: - Calculate optimal subject placement using rule-of-thirds grid alignment for target ratio - Determine extension vectors based on background continuity patterns - Evaluate whether horizontal or vertical expansion better serves the composition - Apply content-aware fill logic for generated regions while maintaining tonal consistency PRESERVATION RULES: - Typographic elements: maintain exact pixel fidelity, no scaling or repositioning unless required by new boundaries - Brand marks and logos: preserve aspect ratio and relative positioning - Facial features: no modification, distortion, or regeneration - Fine details: texture patterns must flow naturally into extended regions OUTPUT PARAMETERS: - Seamless integration between original and generated content - No detectable boundaries, halos, or color shifting at transition zones - Lighting direction consistency across the full canvas - The result must appear as if originally captured or designed at the target ratio QUALITY THRESHOLD: Production-ready output suitable for commercial use, print media, and high-resolution display contexts.

21 modelde çalışır

  • 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 Daha fazla

Bu prompt ne üretir

Nano Banana prompt: maakt een hyperrealist potlood tekening in zwart w... Belirtilmedi nano-banana-2.1
Seedream 5 prompt: sepia portrait Belirtilmedi v2
Hunyuan  prompt: 2d farms Belirtilmedi hunyuan-3
Seedream 5 prompt: Aseme a una mujer Belirtilmedi v2
Seedream 5 prompt: podcaster Belirtilmedi seedream-4.5
Nano Banana prompt: No shirt Belirtilmedi nano-banana-2.1

Run bu prompt ile bu API

bu request below sends bu prompt, ile its default values filled in, to bu first model it runs on. Swap bu model name için any other model listed above.

prompt API belgeleri
/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": "You are performing intelligent aspect ratio transformation with compositional awareness.\n\nCONTEXT:\nThe source image exists within a specific dimensional space. Your task is to translate it into a new aspect ratio while preserving semantic integrity and visual coherence.\n\nANALYSIS PHASE:\n- Identify the primary subject anchor point and secondary visual elements\n- Map the compositional weight distribution across quadrants\n- Detect edge dependencies (elements that rely on frame boundaries)\n- Assess negative space utilization and breathing room requirements\n\nTRANSFORMATION LOGIC:\n- Calculate optimal subject placement using rule-of-thirds grid alignment for target ratio\n- Determine extension vectors based on background continuity patterns\n- Evaluate whether horizontal or vertical expansion better serves the composition\n- Apply content-aware fill logic for generated regions while maintaining tonal consistency\n\nPRESERVATION RULES:\n- Typographic elements: maintain exact pixel fidelity, no scaling or repositioning unless required by new boundaries\n- Brand marks and logos: preserve aspect ratio and relative positioning\n- Facial features: no modification, distortion, or regeneration\n- Fine details: texture patterns must flow naturally into extended regions\n\nOUTPUT PARAMETERS:\n- Seamless integration between original and generated content\n- No detectable boundaries, halos, or color shifting at transition zones\n- Lighting direction consistency across the full canvas\n- The result must appear as if originally captured or designed at the target ratio\n\nQUALITY THRESHOLD:\nProduction-ready output suitable for commercial use, print media, and high-resolution display contexts."
}
JSON

Dene a prompt