Identity Swap on Expression Grid (4x4)

Identity Swap on Expression Grid (4x4)

翻译: Prompt

{ "generation_request": { "meta_data": { "task_type": "identity_swap_into_existing_expression_grid", "language": "en", "priority": "highest", "version": "v1.0_KEEP_GRID_SWAP_IDENTITY_4X4" }, "input": { "mode": "image_to_image", "reference_image_usage": "very_high", "preserve_identity": true, "preserve_facial_features": true, "preserve_hairstyle": true, "notes": "PRIMARY STRUCTURE ANCHOR: use the uploaded 4x4 expression grid image. Keep the exact grid layout, crop, panel framing, pose variety, hand positions, and background. PRIMARY IDENTITY ANCHOR: use the uploaded reference portrait of the target person. Replace the person in every panel with the reference identity while keeping each panel's expression and gesture. Maintain natural skin texture, realistic anatomy, correct hands." }, "output": { "aspect_ratio": "2:3", "resolution": "ultra_high", "num_images": 1, "sharpness": "crisp", "grain": "subtle_analog" }, "style": { "keep_original": true, "background": "keep exactly the same as the grid image", "lighting": "match the grid image lighting", "color": "keep original (or convert to pure black and white if requested)", "finish": "clean, realistic, no plastic skin" }, "quality_control": { "identity_lock": "strict", "hands_priority": "very_high", "avoid": [ "extra fingers", "missing fingers", "deformed hands", "warped face", "uneven eyes", "melted mouth", "text", "watermark", "logo" ] }, "negative_prompt": [ "low resolution", "blur", "distorted anatomy", "face mismatch", "plastic skin", "over-smoothing" ] } }

翻译: Runs on 21 models

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

此 prompt 的输出

Hero prompt: nos podrias hacer una foto con la pose de la prime... 未指定 1.0
Seedream 5 prompt: Hot dress 未指定 v2
Nano Banana prompt: Match the same pose from the 1st image 未指定 nano-banana-2.1
Seedream 5 prompt: Modern minimalist mobile app icon logo design for ... 未指定 seedream-5-pro
FLUX prompt: Enchanted Victorian villages 未指定 flux-2-pro
Hunyuan  prompt: субстанция 未指定 hunyuan-3

翻译: Run this prompt with the API

翻译: The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

翻译: Prompt API docs
/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  \"generation_request\": {\n    \"meta_data\": {\n      \"task_type\": \"identity_swap_into_existing_expression_grid\",\n      \"language\": \"en\",\n      \"priority\": \"highest\",\n      \"version\": \"v1.0_KEEP_GRID_SWAP_IDENTITY_4X4\"\n    },\n    \"input\": {\n      \"mode\": \"image_to_image\",\n      \"reference_image_usage\": \"very_high\",\n      \"preserve_identity\": true,\n      \"preserve_facial_features\": true,\n      \"preserve_hairstyle\": true,\n      \"notes\": \"PRIMARY STRUCTURE ANCHOR: use the uploaded 4x4 expression grid image. Keep the exact grid layout, crop, panel framing, pose variety, hand positions, and background. PRIMARY IDENTITY ANCHOR: use the uploaded reference portrait of the target person. Replace the person in every panel with the reference identity while keeping each panel's expression and gesture. Maintain natural skin texture, realistic anatomy, correct hands.\"\n    },\n    \"output\": {\n      \"aspect_ratio\": \"2:3\",\n      \"resolution\": \"ultra_high\",\n      \"num_images\": 1,\n      \"sharpness\": \"crisp\",\n      \"grain\": \"subtle_analog\"\n    },\n    \"style\": {\n      \"keep_original\": true,\n      \"background\": \"keep exactly the same as the grid image\",\n      \"lighting\": \"match the grid image lighting\",\n      \"color\": \"keep original (or convert to pure black and white if requested)\",\n      \"finish\": \"clean, realistic, no plastic skin\"\n    },\n    \"quality_control\": {\n      \"identity_lock\": \"strict\",\n      \"hands_priority\": \"very_high\",\n      \"avoid\": [\n        \"extra fingers\",\n        \"missing fingers\",\n        \"deformed hands\",\n        \"warped face\",\n        \"uneven eyes\",\n        \"melted mouth\",\n        \"text\",\n        \"watermark\",\n        \"logo\"\n      ]\n    },\n    \"negative_prompt\": [\n      \"low resolution\",\n      \"blur\",\n      \"distorted anatomy\",\n      \"face mismatch\",\n      \"plastic skin\",\n      \"over-smoothing\"\n    ]\n  }\n}"
}
JSON

翻译: Try a prompt