Seedream V4 | Edit
Edit images using text prompts. Provide one or more input images along with editing instructions to transform, modify, or enhance them.
Quick Start
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "seedream-v4-edit",
"version": "0.0.1",
"input": {
"prompt": "Change the background to a tropical beach at sunset",
"image_urls": ["https://example.com/photo.jpg"],
"image_size": "square_hd",
"num_images": 1,
"enable_safety_checker": true
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
enable_safety_checker |
boolean |
true |
If set to true, the safety checker will be enabled |
image_size |
string |
square_hd |
The size of the generated image. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, auto, auto_2K, auto_4K |
image_urls |
array |
(empty) |
List of URLs of input images for editing |
num_images |
integer |
1 |
Number of times to retry generation with the prompt |
prompt |
string |
(empty) |
The text prompt used to edit the image |
seed |
integer |
(empty) |
Random seed to control the stochasticity of image generation |
Output
Examples
Background Replacement
{
"model": "seedream-v4-edit",
"version": "0.0.1",
"input": {
"prompt": "Replace the background with a snowy mountain landscape",
"image_urls": ["https://example.com/portrait.jpg"],
"image_size": "portrait_4_3",
"num_images": 1
}
}
Style Transfer Edit
{
"model": "seedream-v4-edit",
"version": "0.0.1",
"input": {
"prompt": "Make it look like a watercolor painting with soft brushstrokes",
"image_urls": ["https://example.com/landscape.jpg"],
"image_size": "landscape_4_3",
"num_images": 2,
"seed": 42
}
}
Related Models
Documentation
1---2name: seedream-v4-edit3description: Edit images using Seedream V4 with text prompts. Trigger: Use when the user wants to edit an existing image with AI, or requests 'seedream edit', 'AI image editing', or 'edit my image with text'.4---56# Seedream V4 | Edit78Edit images using text prompts. Provide one or more input images along with editing instructions to transform, modify, or enhance them.910## Quick Start1112```bash13curl -X POST https://api.eachlabs.ai/v1/prediction \14 -H "Content-Type: application/json" \15 -H "X-API-Key: $EACHLABS_API_KEY" \16 -d '{17 "model": "seedream-v4-edit",18 "version": "0.0.1",19 "input": {20 "prompt": "Change the background to a tropical beach at sunset",21 "image_urls": ["https://example.com/photo.jpg"],22 "image_size": "square_hd",23 "num_images": 1,24 "enable_safety_checker": true25 }26 }'27```2829## Parameters3031| Parameter | Type | Default | Description |32|-----------|------|---------|-------------|33| `enable_safety_checker` | boolean | `true` | If set to true, the safety checker will be enabled |34| `image_size` | string | `square_hd` | The size of the generated image. Options: `square_hd`, `square`, `portrait_4_3`, `portrait_16_9`, `landscape_4_3`, `landscape_16_9`, `auto`, `auto_2K`, `auto_4K` |35| `image_urls` | array | (empty) | List of URLs of input images for editing |36| `num_images` | integer | `1` | Number of times to retry generation with the prompt |37| `prompt` | string | (empty) | The text prompt used to edit the image |38| `seed` | integer | (empty) | Random seed to control the stochasticity of image generation |3940## Output4142- **Type:** array4344## Examples4546### Background Replacement47```json48{49 "model": "seedream-v4-edit",50 "version": "0.0.1",51 "input": {52 "prompt": "Replace the background with a snowy mountain landscape",53 "image_urls": ["https://example.com/portrait.jpg"],54 "image_size": "portrait_4_3",55 "num_images": 156 }57}58```5960### Style Transfer Edit61```json62{63 "model": "seedream-v4-edit",64 "version": "0.0.1",65 "input": {66 "prompt": "Make it look like a watercolor painting with soft brushstrokes",67 "image_urls": ["https://example.com/landscape.jpg"],68 "image_size": "landscape_4_3",69 "num_images": 2,70 "seed": 4271 }72}73```7475## Related Models7677- [Seedream V4 Text to Image](../seedream-v4-text-to-image/SKILL.md) - Generate images from text78- [Nano Banana Edit](../nano-banana-edit/SKILL.md) - Alternative image editing model79- [Flux Krea Image to Image](../flux-krea-image-to-image/SKILL.md) - Image-to-image transformation8081## Documentation8283- [EachLabs API Docs](https://docs.eachlabs.ai)