> ## Documentation Index
> Fetch the complete documentation index at: https://reedai-07fa30f1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Editing

> Modify and enhance images with AI-powered editing tools for professional results

## What is Image Editing?

ZeroTwo's image editing feature allows you to modify existing images using AI. From simple adjustments to complex transformations, you can edit photos, graphics, and artwork directly within your conversations.

<Note>
  Image editing uses advanced AI models to understand your editing requests and apply changes naturally and professionally.
</Note>

## Available Editing Models

<CardGroup cols={2}>
  <Card title="DALL-E Image Edit" icon="wand-magic-sparkles">
    **OpenAI's editing model**

    * Natural modifications
    * Style preservation
    * Object addition/removal
    * Best for: General photo editing
  </Card>

  <Card title="Stable Diffusion Inpaint" icon="paint-brush">
    **Precision editing**

    * Masked editing
    * Fine-grained control
    * Style matching
    * Best for: Specific area edits
  </Card>

  <Card title="Background Removal" icon="scissors">
    **Automatic segmentation**

    * Precise cutouts
    * Transparent backgrounds
    * Clean edges
    * Best for: Product photos, portraits
  </Card>

  <Card title="Upscaling" icon="maximize">
    **Resolution enhancement**

    * 2x to 4x larger
    * Detail preservation
    * Quality improvement
    * Best for: Low-resolution images
  </Card>
</CardGroup>

## Getting Started

<Steps>
  <Step title="Upload Your Image">
    Drag and drop or click to upload the image you want to edit

    <Info>
      Supported formats: JPG, PNG, GIF, WebP up to 10MB (Free) or 50MB (Pro)
    </Info>
  </Step>

  <Step title="Describe Your Edit">
    Tell AI what changes you want:

    ```
    Remove the background and make it transparent
    ```

    ```
    Change the sky to a dramatic sunset
    ```

    ```
    Add a coffee cup on the table
    ```
  </Step>

  <Step title="Preview & Refine">
    Review the edited image and request adjustments if needed
  </Step>

  <Step title="Download">
    Save your edited image in high quality
  </Step>
</Steps>

## Common Editing Tasks

### Background Modifications

<Tabs>
  <Tab title="Remove Background">
    **Create transparent backgrounds**:

    ```
    Remove the background from this product photo
    ```

    **Perfect for**:

    * Product photography
    * Profile pictures
    * Graphic design
    * E-commerce listings

    <Tip>
      Works best with clear subject-background separation.
    </Tip>
  </Tab>

  <Tab title="Replace Background">
    **Change the scene**:

    ```
    Replace the background with a modern office setting
    ```

    ```
    Change the background to a tropical beach at sunset
    ```

    **Use cases**:

    * Virtual staging
    * Scene replacement
    * Creative composites
    * Marketing materials
  </Tab>

  <Tab title="Blur Background">
    **Add depth of field**:

    ```
    Blur the background to focus on the subject
    ```

    Creates professional bokeh effect similar to DSLR cameras.
  </Tab>
</Tabs>

### Object Manipulation

<Tabs>
  <Tab title="Add Objects">
    **Insert new elements**:

    ```
    Add a laptop on the desk in front of the person
    ```

    ```
    Place a vase of flowers on the table
    ```

    AI intelligently matches:

    * Lighting conditions
    * Perspective
    * Style and color
    * Scale and proportion
  </Tab>

  <Tab title="Remove Objects">
    **Clean up images**:

    ```
    Remove the power lines from this landscape photo
    ```

    ```
    Delete the person in the background
    ```

    ```
    Remove the watermark
    ```

    AI fills in the removed area naturally.
  </Tab>

  <Tab title="Move/Resize Objects">
    **Reposition elements**:

    ```
    Move the chair to the left side of the room
    ```

    ```
    Make the product 50% larger in the frame
    ```
  </Tab>
</Tabs>

### Color & Style Adjustments

<Tabs>
  <Tab title="Color Corrections">
    **Adjust colors**:

    ```
    Make the colors more vibrant and saturated
    ```

    ```
    Convert to warm, golden tones
    ```

    ```
    Adjust the white balance - it's too blue
    ```

    Professional color grading made simple.
  </Tab>

  <Tab title="Style Transfer">
    **Apply artistic styles**:

    ```
    Make this look like an oil painting
    ```

    ```
    Apply a vintage film photography style
    ```

    ```
    Convert to black and white with high contrast
    ```
  </Tab>

  <Tab title="Lighting Changes">
    **Modify illumination**:

    ```
    Brighten the image and add more light to the face
    ```

    ```
    Make it look like it was taken at golden hour
    ```

    ```
    Add dramatic side lighting
    ```
  </Tab>
</Tabs>

### Image Enhancement

<Tabs>
  <Tab title="Upscaling">
    **Increase resolution**:

    ```
    Upscale this image to 4K resolution
    ```

    ```
    Enhance the quality and increase size by 2x
    ```

    * 2x, 3x, or 4x larger
    * AI-enhanced details
    * Maintains quality
    * Reduces artifacts
  </Tab>

  <Tab title="Restoration">
    **Fix old or damaged photos**:

    ```
    Restore this old photograph, fix scratches and tears
    ```

    ```
    Enhance this low-quality image and reduce noise
    ```

    * Repair damage
    * Reduce noise
    * Enhance details
    * Improve clarity
  </Tab>

  <Tab title="Sharpening">
    **Improve clarity**:

    ```
    Sharpen this slightly blurry image
    ```

    ```
    Enhance details and clarity throughout
    ```
  </Tab>
</Tabs>

## Advanced Editing Techniques

### Masked Editing

Specify exactly where changes should occur:

<Steps>
  <Step title="Describe the Area">
    ```
    Edit only the sky portion of the image
    ```

    ```
    Modify just the person's clothing
    ```
  </Step>

  <Step title="Specify Changes">
    ```
    Make the sky more dramatic with storm clouds
    ```

    ```
    Change the shirt color to navy blue
    ```
  </Step>

  <Step title="AI Applies">
    AI identifies the region and applies changes only there
  </Step>
</Steps>

<Info>
  Masked editing allows precise control while preserving the rest of the image.
</Info>

### Multi-Step Edits

Build complex edits progressively:

<Steps>
  <Step title="First Edit">
    ```
    Remove the background and make it white
    ```
  </Step>

  <Step title="Second Edit">
    ```
    Add a soft shadow beneath the subject
    ```
  </Step>

  <Step title="Third Edit">
    ```
    Adjust the lighting to be brighter and more even
    ```
  </Step>

  <Step title="Final Touch">
    ```
    Add a subtle vignette effect around the edges
    ```
  </Step>
</Steps>

### Batch Editing

Edit multiple images with consistent changes:

```
Apply the same edits to all these product photos:
1. Remove backgrounds
2. Center the products
3. Add consistent lighting
4. Resize to 1200x1200

[upload multiple images]
```

<Tip>
  Batch editing maintains consistency across entire image sets.
</Tip>

## Professional Use Cases

### E-commerce & Product Photography

<AccordionGroup>
  <Accordion title="Product Isolation">
    ```
    Remove background from this product photo and center 
    it on a pure white background (#FFFFFF)
    ```

    Perfect for Amazon, eBay, Shopify listings.
  </Accordion>

  <Accordion title="Lifestyle Scenes">
    ```
    Place this product in a modern kitchen setting with 
    natural morning light
    ```

    Create context without expensive photo shoots.
  </Accordion>

  <Accordion title="Size Variations">
    ```
    Create square (1:1), portrait (3:4), and landscape (16:9) 
    versions of this product image, maintaining the subject 
    properly framed in each
    ```

    Multiple formats for different platforms.
  </Accordion>
</AccordionGroup>

### Real Estate & Architecture

<AccordionGroup>
  <Accordion title="Virtual Staging">
    ```
    Add modern furniture to this empty living room - sofa, 
    coffee table, rug, and wall art
    ```

    Stage properties virtually before sale.
  </Accordion>

  <Accordion title="Exterior Improvements">
    ```
    Improve the landscaping, add green grass, trim hedges, 
    and enhance the curb appeal
    ```

    Show potential improvements.
  </Accordion>

  <Accordion title="Sky Replacement">
    ```
    Replace the overcast sky with a beautiful blue sky 
    with white clouds
    ```

    Improve property photos taken on gloomy days.
  </Accordion>
</AccordionGroup>

### Marketing & Social Media

<AccordionGroup>
  <Accordion title="Brand Consistency">
    ```
    Adjust all these images to match our brand colors: 
    primary #FF6B6B, secondary #4ECDC4
    ```

    Maintain visual brand identity.
  </Accordion>

  <Accordion title="Platform Optimization">
    ```
    Resize for Instagram post (1080x1080), add 10% padding 
    around subject, and slightly increase saturation
    ```

    Optimize for specific platforms.
  </Accordion>

  <Accordion title="Text Overlay Prep">
    ```
    Darken the top portion of the image to create space 
    for white text overlay
    ```

    Prepare images for text additions.
  </Accordion>
</AccordionGroup>

### Portrait Enhancement

<AccordionGroup>
  <Accordion title="Background Upgrade">
    ```
    Replace the cluttered background with a soft, 
    professional gradient backdrop
    ```

    Professional portraits from casual photos.
  </Accordion>

  <Accordion title="Lighting Improvement">
    ```
    Improve the lighting on the face, add a subtle 
    fill light to reduce shadows
    ```

    Studio-quality lighting effects.
  </Accordion>

  <Accordion title="Style Updates">
    ```
    Make this portrait look like a professional 
    headshot with corporate lighting
    ```

    Professional styling without reshooting.
  </Accordion>
</AccordionGroup>

## Best Practices

<AccordionGroup>
  <Accordion title="Be Specific About Changes">
    ❌ **Vague**: "Make it better"\
    ✅ **Specific**: "Increase brightness by 20%, add warmth to color temperature, and sharpen the details"

    Precision yields better results.
  </Accordion>

  <Accordion title="Describe Desired Results">
    ❌ **Process-focused**: "Adjust the curves and levels"\
    ✅ **Result-focused**: "Make the image brighter with more vibrant colors"

    Describe what you want, not how to do it.
  </Accordion>

  <Accordion title="Start Simple, Then Refine">
    1. Make major changes first (background, composition)
    2. Then adjust details (colors, lighting)
    3. Finally, fine-tune (sharpness, contrast)

    Build complexity gradually.
  </Accordion>

  <Accordion title="Provide Context">
    ```
    This is a product photo for an e-commerce site. 
    Remove the background and ensure the product is 
    well-lit and centered.
    ```

    Context helps AI make appropriate choices.
  </Accordion>

  <Accordion title="Reference Similar Styles">
    ```
    Edit this to look like professional food photography 
    with natural lighting and shallow depth of field
    ```

    Style references guide the aesthetic.
  </Accordion>
</AccordionGroup>

## Quality Tips

### For Best Results

<CardGroup cols={2}>
  <Card title="Input Quality" icon="image">
    **Start with good images**:

    * Higher resolution better
    * Well-lit originals
    * Clear subjects
    * Minimal compression
  </Card>

  <Card title="Clear Instructions" icon="comment">
    **Communicate clearly**:

    * Specific changes
    * Desired outcome
    * Reference styles
    * Context provided
  </Card>

  <Card title="Iterative Approach" icon="rotate">
    **Refine progressively**:

    * Review each edit
    * Make adjustments
    * Build on results
    * Perfect gradually
  </Card>

  <Card title="Realistic Expectations" icon="chart-simple">
    **Understand limits**:

    * Major changes may look artificial
    * Complex edits take iterations
    * Some requests may not be possible
    * Quality depends on input
  </Card>
</CardGroup>

### Common Pitfalls

<Warning>
  **Avoid these issues**:

  * Very low resolution source images (results will be limited)
  * Requesting impossible physics (shadows pointing wrong way)
  * Too many changes at once (break into steps)
  * Unclear or contradictory instructions
</Warning>

## Working with Edited Images

### Compare Versions

<Tabs>
  <Tab title="Side-by-Side">
    View original and edited versions together:

    ```
    Show me the before and after side by side
    ```
  </Tab>

  <Tab title="Slider View">
    Use interactive slider to compare:

    * Drag to reveal original
    * See exact differences
    * Identify changes easily
  </Tab>

  <Tab title="Difference Highlight">
    ```
    Highlight what changed between versions
    ```

    Visual diff showing modified areas.
  </Tab>
</Tabs>

### Export Options

<CardGroup cols={2}>
  <Card title="Original Resolution" icon="file">
    Download at source resolution with no compression
  </Card>

  <Card title="Web Optimized" icon="globe">
    Compressed for web use, smaller file size
  </Card>

  <Card title="Print Quality" icon="print">
    High-resolution export for printing (300 DPI)
  </Card>

  <Card title="Social Media" icon="share-nodes">
    Pre-sized for Instagram, Facebook, Twitter, etc.
  </Card>
</CardGroup>

### Versioning

<Steps>
  <Step title="Save Versions">
    Each edit creates a new version automatically
  </Step>

  <Step title="Name Versions">
    ```
    Save this as "Product Photo - White Background"
    ```
  </Step>

  <Step title="Revert if Needed">
    Return to any previous version
  </Step>

  <Step title="Compare Versions">
    View all versions and choose the best
  </Step>
</Steps>

## Technical Specifications

### Supported Formats

**Input**:

* JPEG/JPG
* PNG (including transparency)
* GIF
* WebP
* HEIC/HEIF (auto-converted)

**Output**:

* PNG (preserves transparency)
* JPEG (smaller files)
* WebP (modern format)

### Size Limits

| Account Tier | Max Input Size | Max Output Size |
| ------------ | -------------- | --------------- |
| Free         | 10 MB          | 2048x2048 px    |
| Pro          | 50 MB          | 4096x4096 px    |
| Team         | 100 MB         | 8192x8192 px    |

### Processing Time

* **Simple edits** (color, crop): 5-15 seconds
* **Background removal**: 10-30 seconds
* **Object additions**: 20-60 seconds
* **Complex edits**: 30-120 seconds
* **Upscaling**: 30-90 seconds

<Info>
  Processing time varies based on image size and edit complexity.
</Info>

## Pricing & Limits

### Free Tier

* 10 image edits per day
* Standard quality
* All editing features
* 2048x2048 max output

### Pro Tier (\$20/month)

* 100 image edits per day
* High quality output
* Priority processing
* 4096x4096 max output

### Team Tier (\$30/user/month)

* Unlimited edits
* Highest priority
* Batch editing
* 8192x8192 max output
* Commercial usage rights

<Info>
  Edit limits reset daily at midnight UTC.
</Info>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Edit didn't work as expected">
    **Try**:

    * Rephrase your request more specifically
    * Break complex edits into steps
    * Provide more context about desired outcome
    * Try a different editing approach
  </Accordion>

  <Accordion title="Changes look unnatural">
    **Solutions**:

    * Request subtler changes
    * Edit in smaller increments
    * Ask AI to match lighting/style of original
    * Use reference images for style
  </Accordion>

  <Accordion title="Processing taking too long">
    **Check**:

    * Image file size (compress if very large)
    * Complexity of request
    * Server status
    * Try simpler edit first
  </Accordion>

  <Accordion title="Low quality output">
    **Improve by**:

    * Starting with higher resolution input
    * Being more specific in requests
    * Using Pro tier for better quality
    * Upscaling after editing if needed
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Image Generation" icon="palette" href="/tools/image-generation">
    Create new images from text descriptions
  </Card>

  <Card title="Canvas" icon="pen-to-square" href="/tools/canvas">
    Work with images in HTML Canvas
  </Card>

  <Card title="Code Interpreter" icon="code" href="/tools/code-interpreter">
    Process images with Python code
  </Card>

  <Card title="Projects" icon="folder" href="/workspaces/create-workspace">
    Organize edited images in workspaces
  </Card>
</CardGroup>

<Check>
  Transform your images with AI-powered editing - from simple adjustments to complex modifications!
</Check>
