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.

Funciona em 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 Mais

O que este prompt produz

Seedream 5 prompt: Aseme a una mujer Não especificado v2
Seedream 5 prompt: podcaster Não especificado seedream-4.5
Nano Banana prompt: No shirt Não especificado nano-banana-2.1
FLUX prompt: zombi Não especificado flux-2-pro
FLUX prompt: Sticker packs Não especificado flux-2-pro
FLUX prompt: Minimax h3 image Não especificado flux-2-pro

Run este prompt com o API

A solicitação abaixo envia esse prompt, com seus valores padrão preenchidos, para o primeiro modelo em que é executado. Troque o nome do modelo por qualquer outro modelo listado acima.

Documentação da prompt API
/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

Experimentar a prompt