Image-to-Image Clothing and Background Swap

Image-to-Image Clothing and Background Swap
Image-to-Image Clothing and Background Swap

prompt

task_type: image_to_image_modification, modifications: { subject_preservation: { identity: Maintain the exact facial structure, hair length, and features of the woman in the reference photo., pose: Full-body shot, walking naturally, gently reaching out to touch flowers with her left hand. }, clothing_change: { old_outfit: Cream and gold traditional Indian Anarkali suit, new_outfit: Casual dark green hoodie sweatshirt and matching green cargo sweatpants (joggers) }, background_replacement: { old_background: Dubai Marina cityscape skyscrapers, balcony railing, and water canal, new_background: Lush green garden, vibrant flower beds (hydrangeas, roses), green grass lawn, potted plants, and warm outdoor lighting. } }, quality_hints: [ high-definition face details, natural textures, photorealistic rendering, 8k resolution, seamless background blending ]

Werkt met 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 Meer

Wat deze prompt oplevert

Seedream 5 prompt: I want you to make similar image use similar desig... Niet opgegeven seedream-5-pro
Hunyuan  prompt: JAPAN STYLE Niet opgegeven hunyuan-3
Hunyuan  prompt: navidad Niet opgegeven hunyuan-3
FLUX prompt: quiero una historieta o comic book de la siguiente... Niet opgegeven flux-2-pro
Nano Banana prompt: {
  "meta": {
    "aspect_ratio": "3:4",
    "qual... Niet opgegeven nano-banana-2.1
Hero prompt: This image is characterized by impressive realism,... Niet opgegeven 1.0

Run deze prompt met de API

Het onderstaande verzoek stuurt deze prompt, met de standaardwaarden ingevuld, naar het eerste model waarop het draait. Verwissel de modelnaam voor een ander hierboven vermeld model.

prompt API-documentatie
/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": "task_type: image_to_image_modification, modifications: { subject_preservation: { identity: Maintain the exact facial structure, hair length, and features of the woman in the reference photo., pose: Full-body shot, walking naturally, gently reaching out to touch flowers with her left hand. }, clothing_change: { old_outfit: Cream and gold traditional Indian Anarkali suit, new_outfit: Casual dark green hoodie sweatshirt and matching green cargo sweatpants (joggers) }, background_replacement: { old_background: Dubai Marina cityscape skyscrapers, balcony railing, and water canal, new_background: Lush green garden, vibrant flower beds (hydrangeas, roses), green grass lawn, potted plants, and warm outdoor lighting. } }, quality_hints: [ high-definition face details, natural textures, photorealistic rendering, 8k resolution, seamless background blending ]"
}
JSON

Probeer a prompt