Help center

Go to Samsa

Magic Edit (Inpainting)

Transform specific areas of your images using AI-powered inpainting.

What is Magic Edit?

Magic Edit lets you modify specific parts of an image while keeping the rest intact. Simply paint over the area you want to change, describe what you want, and let AI do the work.

How Magic Edit Works

  1. Select an image from your gallery

  2. Click Magic Edit in the editing toolbar

  3. Paint the area you want to change using the brush tool

  4. Describe the change in the prompt field

  5. Click Generate to apply the edit

Brush Settings

Brush Size: Adjust the brush diameter for precision

  • Small brush: Fine details and edges

  • Large brush: Bigger areas and backgrounds

Tip: Hold Shift while painting to create straight lines between points.

Writing Effective Edit Prompts

Be specific about what should appear in the painted area:

Good prompts:

> "a red sports car" (to replace a vehicle)

> "clear blue sky with fluffy clouds" (to change sky)

> "wooden bookshelf filled with books" (to add furniture)

Less effective:

> "something nice" (too vague)

> "change it" (no direction)

Using Custom Models in Magic Edit

You can include your trained AI models in the edit prompt. Click the plus icon to see a dropdown with model categories. Select a model to add it to your prompt.

Style transfer example: Write a prompt like "transform this image into the" and then add your style model — great for applying your brand style to existing images.

This works with all model types (person, object, style, scene).

Best Use Cases

  • Object replacement: Swap one item for another

  • Background changes: Modify scenery behind subjects

  • Adding elements: Insert new objects into scenes

  • Removing distractions: Paint over and replace with background

  • Style changes: Alter clothing, colors, or materials

  • Style transfer: Apply your custom style models to existing images

Credit Cost

Magic Edit costs 5 credits per edit at base resolution.

Resolution multipliers apply:

  • 1K resolution: 5 credits (1x)

  • 2K resolution: 10 credits (2x)

  • 4K resolution: 20 credits (4x)

Tips for Better Results

  1. Paint slightly beyond edges: Include a small margin around the area to change

  2. Match the style: Describe elements that fit the image's existing style

  3. Use reference details: Mention lighting, perspective, or mood

  4. Iterate: If the first result isn't perfect, try adjusting your mask or prompt

Did this answer your question?
😞
😐
😁