edit_image
Creates a Seedream image editing task on RunAPI from source image URLs and an optional prompt; returns the task ID, status, and output URLs.
Instructions
Create a Seedream task on RunAPI (edit image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Declared type: integer. | |
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | No | Declared type: string. | |
| background | No | Keep the transparent background of the source image. Requires exactly one PNG source image with an alpha channel and output_format png. Declared type: string. Known values: "transparent". | |
| timeout_ms | No | ||
| aspect_ratio | No | Declared type: string. Known values: "1:1", "4:3", "3:4", "16:9", "9:16", "2:3", "3:2", "21:9". | |
| callback_url | No | Declared type: string. | |
| output_count | No | Declared type: integer. | |
| output_format | No | Declared type: string. | |
| output_quality | No | Declared type: string. | |
| poll_interval_ms | No | ||
| output_resolution | No | Declared type: string. | |
| source_image_urls | Yes | Declared type: array. | |
| enable_safety_checker | No | Declared type: boolean. |