> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit Image

> Use AI to edit existing images or create new images based on reference images.

**Edit Image** modifies existing images using AI. Upload a reference image and describe your changes in text. Use this to create variations of successful ads, change colors/backgrounds, or generate new images inspired by your references.

***

## Edit vs Generate Image

| **Edit Image**                        | **Generate Image**    |
| ------------------------------------- | --------------------- |
| Requires reference image              | Text prompt only      |
| Modifies/inspired by existing image   | Creates from scratch  |
| Best for variations of successful ads | Best for new concepts |

***

## When to Use

* Create variations of successful ad creatives
* Change colors, backgrounds, or elements in existing images
* Generate new images inspired by reference style
* Maintain brand consistency across campaigns
* A/B test different versions of the same creative

***

## Inputs

| Field                | Type              | Required | Description                                                                             |
| -------------------- | ----------------- | -------- | --------------------------------------------------------------------------------------- |
| **Prompt**           | Dynamic Text Area | Yes      | Detailed instructions for how to edit or what to create inspired by the reference image |
| **Images**           | File Upload       | Yes      | Upload 1-5 reference images to edit or use as inspiration                               |
| **Model**            | Model Selector    | Yes      | AI model for image editing (GPT-Image default)                                          |
| **Number of Images** | Number            | Yes      | How many edited variations to generate (1-10)                                           |
| **Quality**          | Select            | No       | Image quality: Auto (default), Low, Medium, or High                                     |
| **Size**             | Select            | No       | Image dimensions: Auto, 1024x1024, 1536x1024, or 1024x1536                              |

***

## Prompt Examples

**Change elements:**

```
"Change the background to sunset colors, keep everything else the same"
```

**Create variations:**

```
"Use this ad layout to create a similar design for winter jackets instead of summer dresses"
```

**Brand consistency:**

```
"Create an Instagram story using this style but change the product to our new phone"
```

***

## Reference Images

* **Upload 1-5 images** (JPG, PNG, WebP up to 10MB each)
* **Use high-quality images** for better results
* **Multiple images** help AI understand your style better

***

## Settings

**Number of Images:** 1-10 variations
**Size:** Auto, 1024x1024 (square), 1536x1024 (landscape), 1024x1536 (portrait)\
**Quality:** Auto (recommended), Low, Medium, High

***

## Credit Cost

25 credits per successful image edit

***

## FAQ

<Accordion title="How is this different from Generate Image?">
  **Edit Image** requires a reference image and modifies it. **Generate Image** creates new images from text alone. Use Edit Image for variations of existing successful creatives.
</Accordion>

<Accordion title="What edits work best?">
  * Color changes
  * Background modifications
  * Product/object replacements
  * Text updates
  * Style transfers

  Complex facial features and exact logo recreations are less reliable.
</Accordion>

<Accordion title="How do I scale successful ads?">
  1. Upload your best-performing ad
  2. Write what to change (product, colors, text)
  3. Specify what to keep (layout, style)
  4. Generate multiple variations
  5. A/B test against the original
</Accordion>

<Accordion title="Can I use competitor images?">
  Use your own brand images to avoid copyright issues. Analyze what makes competitor visuals effective and recreate with your own assets.
</Accordion>
