Subject Replacement in Reference Image

Subject Replacement in Reference Image
Subject Replacement in Reference Image
Subject Replacement in Reference Image
Subject Replacement in Reference Image

Prompt

在上传的参考图基础上,将图中人物替换为一名穿红色外套的男士,其他所有细节(背景、光照、透视)保持一致。

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

What this prompt produces

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

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": "在上传的参考图基础上,将图中人物替换为一名穿红色外套的男士,其他所有细节(背景、光照、透视)保持一致。"
}
JSON

Try a prompt