> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedream 5.5 Image Edit

> The Seedream 5.5 Image Edit API edits or combines 1–10 reference images from a prompt into one 1K, 1.5K or 2K image, with optional transparent PNG.

> [!TIP]
>
> 1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
> 2. Regardless of whether `callback_url` is provided, you can retrieve the result through the unified [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) endpoint.

Seedream 5.5 Image Edit changes or combines 1–10 reference images from a text instruction and returns one image at `1K`, `1.5K` or `2K`. Keep faces, products and layouts in place while changing light, season or style, or place a subject from one image into another.

Seedream 5.5 is ByteDance's image model. Vidgo exposes three model IDs: [Text to Image](https://docs.vidgo.ai/api-manual/image-series/bytedance-seedream-v5-5-text-to-image.md), [Image Edit](https://docs.vidgo.ai/api-manual/image-series/bytedance-seedream-v5-5-edit.md) and [Layerize](https://docs.vidgo.ai/api-manual/image-series/bytedance-seedream-v5-5-layerize.md).

## Models

* **bytedance/seedream-v5.5/edit** — Image editing with Seedream 5.5, 1–10 reference images, one output image.

## Features

* Edit one image or combine up to 10 reference images.
* `size: auto` keeps the aspect ratio of the reference images, or pick one of eight fixed ratios.
* Three resolutions: `1K`, `1.5K`, `2K`.
* PNG or JPEG output, with transparent or opaque background control.

## Required parameters

* `prompt` (string): Editing instructions, 5–5,000 characters after trimming.
* `image_urls` (string\[]): 1–10 public HTTP(S) image URLs.

## Optional parameters

* `size` (string): `auto`, `1:1`, `4:3`, `3:4`, `16:9`, `9:16`, `3:2`, `2:3` or `21:9`. Default `auto`.
* `resolution` (string): `1K`, `1.5K` or `2K`. Default `2K`.
* `output_format` (string): `png` or `jpeg`. Default `png`.
* `background` (string): `auto`, `transparent` or `opaque`. Default `auto`.
* `enable_safety_checker` (boolean): Default `true`.

## Output

The finished task returns one image in the `files` array of [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) and the callback payload, in the chosen `output_format`.

## Examples

* **Relight one image**: turn a stormy dusk sea-cliff portrait into a golden winter sunrise while the keeper and puffin stay in place, `auto`, `2K` ([result](https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/edit/v1/01/output.png)).
* **Combine two images**: place the red panda from the second image on the courtyard wall of the first image, `auto`, `1.5K` ([result](https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/edit/v1/02/output.png)).

## Notes

* `background: transparent` with `output_format: jpeg` returns 400; use `png` for transparent output.
* Put `model` and `callback_url` at the request root, next to `input`. `input` accepts the fields listed above; other fields return 400.
* Credits depend on `resolution`, plus a charge for each reference image in `image_urls`. A failed task is refunded in full. See the [pricing page](https://vidgo.ai/apis/api-pricing) for current rates.


## OpenAPI

````yaml api-manual/image-series/bytedance-seedream-v5-5-edit.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Seedream 5.5 Image Edit
  description: >-
    The Seedream 5.5 Image Edit API edits or combines 1–10 reference images from
    a prompt into one 1K, 1.5K or 2K image, with optional transparent PNG.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seedream 5.5 Image Edit
      summary: Submit Seedream 5.5 Image Edit Task
      operationId: submitSeedream55EditTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              relight-one-image:
                summary: Edit one image
                value:
                  model: bytedance/seedream-v5.5/edit
                  input:
                    prompt: >-
                      Transform the stormy blue-hour dusk into a crisp golden
                      winter sunrise with pale pink clouds and fresh snow
                      lightly dusting the basalt sea cliff, iron railing, and
                      the keeper's shoulders. Keep the elderly lighthouse
                      keeper's exact face, yellow coat, brass lantern, and the
                      perched Atlantic puffin in the exact same positions and
                      framing. Natural morning rim light, photorealistic. No
                      text, no logos, no watermarks.
                    image_urls:
                      - >-
                        https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/01/output.png
                    size: auto
                    resolution: 2K
                    output_format: png
                    background: auto
              combine-two-images:
                summary: Combine two reference images
                value:
                  model: bytedance/seedream-v5.5/edit
                  input:
                    prompt: >-
                      Place the red panda from the second image perched
                      naturally on the mossy garden rock wall on the left side
                      of the Kyoto courtyard from the first image, looking
                      curiously toward the young violinist under the lantern
                      eaves. Match the warm twilight lighting, soft rain sheen,
                      and depth of field while keeping the violinist, calico
                      cat, and wooden sign intact. No new text, no logos, no
                      watermarks.
                    image_urls:
                      - >-
                        https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/03/output.png
                      - >-
                        https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/02/output.png
                    size: auto
                    resolution: 1.5K
                    output_format: png
                    background: auto
      responses:
        '200':
          description: >-
            Task submission result. A task ID identifies asynchronous work;
            generation may still be running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: bytedance/seedream-v5.5/edit
        callback_url:
          type: string
          format: uri
          description: Optional webhook URL for completion or failure notifications.
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - prompt
            - image_urls
          additionalProperties: false
          properties:
            prompt:
              type: string
              minLength: 5
              maxLength: 5000
              description: >-
                Image description or editing instructions. 5–5,000 characters
                after trimming.
            image_urls:
              type: array
              minItems: 1
              maxItems: 10
              items:
                type: string
                format: uri
                description: Use a publicly accessible HTTP(S) download URL.
              description: >-
                1–10 reference images to edit or combine. Refer to them in the
                prompt by order, such as the first image and the second image.
            size:
              type: string
              enum:
                - auto
                - '1:1'
                - '4:3'
                - '3:4'
                - '16:9'
                - '9:16'
                - '3:2'
                - '2:3'
                - '21:9'
              default: auto
              description: Output aspect ratio. `auto` follows the reference images.
            resolution:
              type: string
              enum:
                - 1K
                - 1.5K
                - 2K
              default: 2K
              description: Output resolution.
            output_format:
              type: string
              enum:
                - png
                - jpeg
              default: png
              description: Output file format.
            background:
              type: string
              enum:
                - auto
                - transparent
                - opaque
              default: auto
              description: >-
                Background mode. `transparent` returns a cut-out image and
                requires `output_format: png`.
            enable_safety_checker:
              type: boolean
              default: true
              description: Turn the content safety check on or off.
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: A5R49VY6KY53FC7G
            status:
              type: string
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-11-25T12:11:28'
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: Error message. See [Error Codes](/api-manual/error-codes).
          example: image_urls must contain 1-10 items
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Use `Authorization: Bearer VIDGO_API_KEY`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.