Image-to-Image Identity Preservation Illustration

A structured image-to-image prompt that uses an uploaded photo solely for facial identity reference. The goal is to generate a completely new digital illustration with a different pose, background, and composition, while strictly preserving the face's identity and skin tone, resulting in a polished, modern artwork.

Image-to-Image Identity Preservation Illustration

Prompt

{ "input_type": "image_to_image", "target_image": "UPLOAD_IMAGE_HERE", "prompt": "Create a completely new illustrated scene using the target image only for facial identity reference. Preserve the same face, skin tone, and identity accurately, but change everything else. Generate a new pose, different body posture, new camera angle, and a fresh composition. Replace the background entirely with a new location and environment of your choice, such as an aesthetic urban street, nature landscape, café, rooftop, or artistic setting. Apply a modern digital illustration style with clean lines, smooth shading, soft gradients, and a polished artistic look (not painting, not watercolor). Clothing, colors, mood, and lighting should be redesigned creatively while keeping the face recognizable and natural. The final result should look like a newly illustrated artwork, not a modified version of the original image.", "identity_strength": 0.9, "style_strength": 0.8, "allow_pose_change": true, "allow_background_change": true, "allow_scene_change": true, "preserve_face_only": true, "quality": "4K", "negative_prompt": "same pose, same background, same location, painting texture, watercolor, oil paint, anime, cartoon exaggeration, distorted face, extra limbs, blur, low detail" }

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait Not specified nano-banana-pro

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  \"input_type\": \"image_to_image\",\n  \"target_image\": \"UPLOAD_IMAGE_HERE\",\n  \"prompt\": \"Create a completely new illustrated scene using the target image only for facial identity reference. Preserve the same face, skin tone, and identity accurately, but change everything else. Generate a new pose, different body posture, new camera angle, and a fresh composition. Replace the background entirely with a new location and environment of your choice, such as an aesthetic urban street, nature landscape, café, rooftop, or artistic setting. Apply a modern digital illustration style with clean lines, smooth shading, soft gradients, and a polished artistic look (not painting, not watercolor). Clothing, colors, mood, and lighting should be redesigned creatively while keeping the face recognizable and natural. The final result should look like a newly illustrated artwork, not a modified version of the original image.\",\n  \"identity_strength\": 0.9,\n  \"style_strength\": 0.8,\n  \"allow_pose_change\": true,\n  \"allow_background_change\": true,\n  \"allow_scene_change\": true,\n  \"preserve_face_only\": true,\n  \"quality\": \"4K\",\n  \"negative_prompt\": \"same pose, same background, same location, painting texture, watercolor, oil paint, anime, cartoon exaggeration, distorted face, extra limbs, blur, low detail\"\n}"
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.