01

Understanding Generative Inpainting on iPhone

Generative inpainting replaces specific regions of a digital photo with synthetic elements while keeping the rest of the image intact.

Updating outfits or swapping accessories in mobile photography previously required multi-layered desktop editing and complex manual cloning. Modern generative AI inpainting on iOS allows creators to select localized photo areas and describe targeted replacements using plain text instructions.[1][2]

Unlike standard photo filters that adjust global color channels, AI replacement tools generate underlying pixels within a defined selection mask while attempting to match surrounding scene lighting and depth. In CARA, the AI Replace tool executes cloud-based generative replacement for 30 points per generation, providing precise brush masking for localized modifications.[1]

  • Targeted Replacement: Generates new pixels only inside your drawn mask while preserving background elements.[2]
  • Prompt-Driven Styling: Controls fabric weaves, patterns, and prop materials through plain text descriptors.[1]
02

Step 1: Isolate Garments or Props with Precise Masking

Clean boundary selections are essential to avoid identity drift on subject skin and unwanted background distortion.

Achieving natural outfit swaps starts with accurate selection masking. When drawing your replacement selection, manual brush masking allows you to isolate exact target objects like jackets, shirts, or hand-held props while leaving the subject's face, neck, and hands completely untouched.[2]

To prevent harsh visible borders between original skin and new fabric, adopt the 5% to 10% mask overflow rule. Painting slightly past the physical edge of a garment allows the AI model to blend generated fabric seams smoothly into existing background shadows, whereas zero-margin masks frequently produce hard, unnatural edge artifacts.[1][4]

  • Protect Skin Boundaries: Carefully trace brush selection lines around collars, wrists, and jawlines to prevent facial or body shape drift.[2][4]
  • Apply Mask Overflow: Extend your selection 5% to 10% past garment outer edges so the AI can synthesize realistic shadow transitions.[1][4]
  1. Open AI Replace

    Load your photo into the AI Replace tool in CARA and adjust your touch brush size.

  2. Paint the Target Object

    Completely cover the clothing item or prop with the mask brush, sweeping slightly past outer sleeve edges.[2][4]

  3. Inspect Boundary Edges

    Ensure sensitive areas like exposed skin, hair strands, and background furniture are not accidentally painted.[2]

Close-up visual of a portrait photo with a translucent purple mask highlighting the jacket area.
Step 1: Isolate Garments or Props with Precise Masking
03

Step 2: Construct Structured Inpainting Prompts

Descriptive modular prompts yield dramatically better fabric texture and light integration than generic single-word tags.

Relying on simple single-word instructions like 'jacket' or 'shirt' often results in flat, pasted-on garments that ignore ambient scene light. Generative inpainting models require structured prompts detailing fabric texture, garment fit, and light falloff to create realistic output.[2][3]

Structure your text request into three clear components: Material (e.g., heavy brown corduroy), Fit (e.g., relaxed oversized cut), and Lighting (e.g., soft warm afternoon sunlight highlights). This combination guides the cloud model to generate photorealistic textures that blend seamlessly into your original environment.[1][2]

  • Material Specification: Include weave and surface characteristics such as 'textured knit wool' or 'matte black leather'.[2][3]
  • Lighting Continuity: Explicitly state light conditions matching the original scene, such as 'matching golden hour side lighting'.[2]
  1. Define Material & Color

    Specify exact fabric weave and shade, such as 'tailored navy blue tweed blazer'.[1][2]

  2. Add Structural Details

    Include lapel style, button details, or collar folds to guide garment geometry.[3]

  3. Specify Scene Lighting

    Append ambient lighting terms like 'dappled sunlight reflections' to mirror your photo background.[2]

04

Step 3: Evaluate Cloud Generation and Volumetric Alignment

Thoroughly inspect generated swaps for lighting consistency, anatomical realism, and edge blending quality.

Once the cloud AI finishes processing your replacement request, examine the image in full resolution before saving. Pay special attention to shadow continuity where new garments meet original skin or background elements.[1][4]

Verify that replaced clothing respects the subject's natural body posture and proportions. If a generated jacket creates unrealistic shoulder volume or mismatches surrounding contrast, re-adjust your selection mask and refine prompt lighting details before executing another run.[2][4]

  • Shadow Consistency Check: Confirm shadows underneath collars and wrist cuffs point in the same direction as natural scene light.[2]
  • Edge Artifact Audit: Check mask outer perimeters for unwanted halos or blurred background fragments.[4]
  1. Review Background Integrity

    Confirm background walls, trees, or street elements behind the subject remain undistorted.[2]

  2. Inspect Hand & Skin Connections

    Check that fingers holding props or wrists emerging from sleeves show natural, clean boundaries.[4]

Detailed close-up photo of hands holding a vintage 35mm silver camera outdoors in sunlight.
Step 3: Evaluate Cloud Generation and Volumetric Alignment
05

Step 4: Refine and Polish Non-Destructively on Canvas

Finish your creative output using zero-cloud local canvas overlays and privacy protection tools.

After generating your ideal outfit or prop swap, finalize your visual asset without spending additional cloud points. In CARA, Free Creative Canvas provides an on-device environment where you can arrange text layers, apply freehand drawing tools, and add graphical elements non-destructively.

When editing photos taken in public environments or group settings, protecting privacy is equally critical. CARA includes Face Mosaic, a free on-device tool that automatically detects and mosaics multiple faces on supported iOS devices without uploading sensitive image data to external servers.

  • On-Device Typography: Add and arrange custom text layers directly over your edited photo using free canvas tools.
  • Local Privacy Protection: Apply automatic multi-face blurring on street or event photos with Face Mosaic.
  1. Import Photo to Creative Canvas

    Transfer your edited result into Free Creative Canvas for graphic layout work.

  2. Add Text & Drawing Layers

    Utilize local drawing and text overlay tools to add branding, captions, or artistic details.

  3. Apply Face Mosaic if Needed

    Run Face Mosaic to automatically obscure background faces in public crowd shots.