## Multi-Turn Image Editing

The Multi-Turn Image Editing tool leverages GPT-4o’s advanced capabilities to create and edit images through conversational iteration. Support for reference images enables style transfer, editing, and progressive refinement through multiple turns.

### Key Features

- Create images from text descriptions using GPT-4o
- Edit existing images with natural language instructions
- Use reference images for style transfer and editing
- Iterative refinement through conversation
- Automatic detection of previously generated images
- Configurable image size and quality settings
- Support for multiple reference images

### How to Use Multi-Turn Image Editing

1. **Create New Image**:   
   - Provide a detailed description of the image you want to generate.  
   - Specify ‘none’ for reference images to start from scratch.  
   - The tool generates an image based on your description.
2. **Edit Existing Image**:   
   - Leave reference images empty to automatically use the last generated image.  
   - Provide editing instructions in natural language.  
   - The tool applies your modifications to the existing image.
3. **Use Reference Images**:   
   - Provide URLs of reference images for style transfer.  
   - Describe how to incorporate the reference style or elements.  
   - Create variations based on reference images.
4. **Iterative Refinement**:   
   - Make multiple edits in sequence through conversation.  
   - Each edit builds on the previous result.  
   - Refine details progressively until satisfied.

### Parameters

- `input`: Detailed description of image to generate or edit (required)
- `reference_images`: List of image URLs or ‘none’ for new generation (optional)
- `model`: AI model to use (optional, defaults to “gpt-4o”)
- `size`: Image size (optional, defaults to “auto”)
- `quality`: Image quality (optional, defaults to “auto”)

### Use Cases

- **Design Iteration**: Progressively refine design concepts
- **Style Transfer**: Apply artistic styles to images
- **Product Mockups**: Create and edit product visualizations
- **Marketing Materials**: Generate and refine marketing images
- **Creative Exploration**: Experiment with different visual concepts

### Example Scenarios

- “Create a modern logo with blue and green colors, minimalist style”
- “Make the background more vibrant and add sunlight effect”
- “Apply the style of this reference image to my product photo”
- “Change the color scheme to warmer tones and add texture”
- “Generate a hero image for our website featuring our product in use”

### Tips for Best Results

- Be specific and detailed in your descriptions
- Use clear, descriptive language for edits
- Reference specific elements you want to change
- Build edits progressively for better control
- Experiment with different reference images for style inspiration
