← Back to Models

bytedance/seedream-4-edit

Seedream 4.0 Edit is a new-generation image editing model by ByteDance that integrates image generation and image editing capabilities into a single, unified architecture.

image image-to-image

Pricing

Base: 3 credits per image

Adjustments:

Example Pricing:

Base request: 4 credits
Range: 5 - 5 credits

Input Parameters

Prompt required string

The prompt describing the desired edit or transformation to apply to the input images.

Image URLs required array

The URLs of the images to edit. You can provide up to 4 images.

Number of Images integer

The number of images to generate.

Default: 1

Output Format string

The format of the generated image.

Default: png

Options: jpeg, png

Seed integer

Random seed to control the stochasticity of image generation.

Sync Mode boolean

If true, the media will be returned as a data URI and the output data won't be available in the request history.

Default:

Enable Safety Checker boolean

If set to true, the safety checker will be enabled.

Default: 1

Directives

Advanced Keys:
num_images output_format seed sync_mode enable_safety_checker
Hidden Keys:
output_format
Raw JSON
{
    "identifier": "bytedance/seedream-4-edit",
    "fal_endpoint": "fal-ai/bytedance/seedream/v4/edit",
    "type": "image",
    "updated_at": "2025-12-14T00:00:00Z",
    "category": "image-to-image",
    "description": "Seedream 4.0 Edit is a new-generation image editing model by ByteDance that integrates image generation and image editing capabilities into a single, unified architecture.",
    "pricing": {
        "version": 1,
        "base": {
            "unit": "image",
            "credits": 3
        },
        "adjustments": [],
        "display": {
            "min_credits": 5,
            "max_credits": 5
        }
    },
    "directives": {
        "advancedKeys": [
            "num_images",
            "output_format",
            "seed",
            "sync_mode",
            "enable_safety_checker"
        ],
        "hiddenKeys": [
            "output_format"
        ],
        "imageArrayKeys": [
            "image_urls"
        ],
        "preRunLogs": [
            "Tip: set input_key=image_urls to pass uploaded images to this model"
        ]
    },
    "fal": {
        "input_transforms": [
            {
                "type": "set_default",
                "key": "output_format",
                "value": "png"
            }
        ]
    },
    "inputSchema": {
        "type": "object",
        "title": "Input",
        "required": [
            "prompt",
            "image_urls"
        ],
        "properties": {
            "prompt": {
                "type": "string",
                "title": "Prompt",
                "x-order": 0,
                "description": "The prompt describing the desired edit or transformation to apply to the input images."
            },
            "image_urls": {
                "type": "array",
                "title": "Image URLs",
                "x-order": 1,
                "description": "The URLs of the images to edit. You can provide up to 4 images.",
                "items": {
                    "type": "string",
                    "format": "uri"
                },
                "minItems": 1,
                "maxItems": 4
            },
            "num_images": {
                "type": "integer",
                "title": "Number of Images",
                "default": 1,
                "minimum": 1,
                "x-order": 2,
                "description": "The number of images to generate."
            },
            "output_format": {
                "enum": [
                    "jpeg",
                    "png"
                ],
                "type": "string",
                "title": "Output Format",
                "description": "The format of the generated image.",
                "default": "png",
                "x-order": 3
            },
            "seed": {
                "type": "integer",
                "title": "Seed",
                "x-order": 4,
                "description": "Random seed to control the stochasticity of image generation."
            },
            "sync_mode": {
                "type": "boolean",
                "title": "Sync Mode",
                "default": false,
                "x-order": 5,
                "description": "If true, the media will be returned as a data URI and the output data won't be available in the request history."
            },
            "enable_safety_checker": {
                "type": "boolean",
                "title": "Enable Safety Checker",
                "default": true,
                "x-order": 6,
                "description": "If set to true, the safety checker will be enabled."
            }
        }
    },
    "outputSchema": {
        "type": "object",
        "title": "Output",
        "properties": {
            "images": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "url": {
                            "type": "string",
                            "format": "uri"
                        },
                        "content_type": {
                            "type": "string"
                        },
                        "file_name": {
                            "type": "string"
                        },
                        "file_size": {
                            "type": "integer"
                        },
                        "width": {
                            "type": "integer"
                        },
                        "height": {
                            "type": "integer"
                        }
                    }
                }
            },
            "seed": {
                "type": "integer"
            }
        }
    }
}