Image-to-Image Fusion for Identity and Attire Transfer

Image-to-Image Fusion for Identity and Attire Transfer
Image-to-Image Fusion for Identity and Attire Transfer

Eingabeaufforderung

{ "request_configuration": { "workflow": "image_to_image_fusion", "priority": "identity_preservation" }, "source_references": { "primary_subject": { "id": "image_1", "target_element": "facial_identity", "subject_name": "Ana de Armas", "constraints": "zero_morphing_policy" }, "attire_reference": { "id": "image_2", "target_element": "full_outfit", "transfer_attributes": ["fabric_texture", "color_palette", "layering"] } }, "generation_parameters": { "subject_specs": { "identity": { "face": "Ana de Armas (reference image 1)", "features": "locked", "skin_texture": "hyper-realistic, detailed pores, natural blemishes" }, "anatomy": { "pose": "dynamic three-quarter turn, hand resting on hip", "body_type": "consistent with Sydney Sweeney " }, "styling": { "outfit": "cloned from image 2", "hair": "voluminous, natural wave, catching backlight" } }, "environment_specs": { "setting": { "location": "upscale outdoor terrace", "background_depth": "deep_blur", "elements": ["soft architectural lines", "golden hour warmth", "vibrant greenery"] }, "lighting": { "mode": "vibrant_high_key", "primary_source": "bright natural sunlight", "secondary_source": "soft rim lighting to separate subject from background", "hdr_profile": "ultra-high dynamic range" } }, "camera_specs": { "optics": "85mm prime lens", "aperture": "f/1.8", "focus": "sharp on eyes", "quality_level": "4K UHD" } }, "negative_prompt_constraints": [ "facial distortion", "altered features", "low resolution", "dull lighting", "flat textures" ] }

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

Hunyuan  prompt: ambulance Nicht angegeben hunyuan-3
FLUX prompt: Dark mage fantasy armor beautiful female Nicht angegeben flux-2-pro
Nano Banana prompt: Nicht angegeben nano-banana-2.1
Flux Kontext  prompt: Nicht angegeben flux-kontext-pro
Seedream 5 prompt: عکس یلدایی Nicht angegeben v2
Hunyuan  prompt: Persian aesthetic photography Nicht angegeben hunyuan-3

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": "{\n  \"request_configuration\": {\n    \"workflow\": \"image_to_image_fusion\",\n    \"priority\": \"identity_preservation\"\n  },\n  \"source_references\": {\n    \"primary_subject\": {\n      \"id\": \"image_1\",\n      \"target_element\": \"facial_identity\",\n      \"subject_name\": \"Ana de Armas\",\n      \"constraints\": \"zero_morphing_policy\"\n    },\n    \"attire_reference\": {\n      \"id\": \"image_2\",\n      \"target_element\": \"full_outfit\",\n      \"transfer_attributes\": [\"fabric_texture\", \"color_palette\", \"layering\"]\n    }\n  },\n  \"generation_parameters\": {\n    \"subject_specs\": {\n      \"identity\": {\n        \"face\": \"Ana de Armas (reference image 1)\",\n        \"features\": \"locked\",\n        \"skin_texture\": \"hyper-realistic, detailed pores, natural blemishes\"\n      },\n      \"anatomy\": {\n        \"pose\": \"dynamic three-quarter turn, hand resting on hip\",\n        \"body_type\": \"consistent with Sydney Sweeney \"\n      },\n      \"styling\": {\n        \"outfit\": \"cloned from image 2\",\n        \"hair\": \"voluminous, natural wave, catching backlight\"\n      }\n    },\n    \"environment_specs\": {\n      \"setting\": {\n        \"location\": \"upscale outdoor terrace\",\n        \"background_depth\": \"deep_blur\",\n        \"elements\": [\"soft architectural lines\", \"golden hour warmth\", \"vibrant greenery\"]\n      },\n      \"lighting\": {\n        \"mode\": \"vibrant_high_key\",\n        \"primary_source\": \"bright natural sunlight\",\n        \"secondary_source\": \"soft rim lighting to separate subject from background\",\n        \"hdr_profile\": \"ultra-high dynamic range\"\n      }\n    },\n    \"camera_specs\": {\n      \"optics\": \"85mm prime lens\",\n      \"aperture\": \"f/1.8\",\n      \"focus\": \"sharp on eyes\",\n      \"quality_level\": \"4K UHD\"\n    }\n  },\n  \"negative_prompt_constraints\": [\n    \"facial distortion\",\n    \"altered features\",\n    \"low resolution\",\n    \"dull lighting\",\n    \"flat textures\"\n  ]\n}"
}
JSON

Probier‘s mal mit einer Anfrage