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.

Fonctionne avec 21 modèles

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

Résultats de ce prompt

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

Run ce prompt avec le API

le request below sends ce prompt, avec its default values filled in, to le first modèle it runs on. Swap le modèle name pour any other modèle listed above.

Documentation de l’API prompt
/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

Essayer a prompt