Intelligent Aspect Ratio Transformation and Compositional Awareness

Intelligent Aspect Ratio Transformation and Compositional Awareness

Eingabeaufforderung

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.

Läuft auf 21 Modellen

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

Was dieser Prompt erzeugt

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

Führen Sie diese Eingabeaufforderung mit der API aus

Die folgende Anforderung sendet diese Eingabeaufforderung mit den ausgefüllten Standardwerten an das erste Modell, auf dem sie ausgeführt wird. Tauschen Sie den Modellnamen gegen ein anderes oben aufgeführtes Modell aus.

Prompt API-Dokumente
/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

Probier‘s mal mit einer Anfrage