> ## 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 Text to Image

> The Seedream 5.5 Text to Image API generates one 1K, 1.5K or 2K image from a prompt in eight aspect ratios, with optional transparent PNG output.

> [!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 Text to Image creates one image per task from a 5–5,000 character prompt. Pick one of eight aspect ratios and a `1K`, `1.5K` or `2K` resolution, and set `background: transparent` for a cut-out PNG ready for layouts, stickers and product mock-ups.

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/text-to-image** — Text-to-image with Seedream 5.5, one image at 1K, 1.5K or 2K.

## Features

* Eight aspect ratios: `1:1`, `4:3`, `3:4`, `16:9`, `9:16`, `3:2`, `2:3`, `21:9`.
* Three resolutions: `1K`, `1.5K`, `2K`.
* PNG or JPEG output, with transparent or opaque background control.
* Optional content safety check.

## Required parameters

* `prompt` (string): Image description, 5–5,000 characters after trimming.

## Optional parameters

* `size` (string): `1:1`, `4:3`, `3:4`, `16:9`, `9:16`, `3:2`, `2:3` or `21:9`. Default `1:1`.
* `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

* **Documentary photo**: a lighthouse keeper and an Atlantic puffin on an Icelandic sea cliff at dusk, `16:9`, `2K` ([result](https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/01/output.png)).
* **Transparent PNG**: a gouache red panda on a mossy branch with a transparent background, `1:1`, `1.5K` ([result](https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/02/output.png)).
* **Scene with lettering**: a Kyoto courtyard violinist beside a cedar plaque reading "雨後茶寮" and "AFTER RAIN", `3:4`, `2K` ([result](https://cdn.vidgo.ai/apis/models/bytedance/seedream-v5.5/text-to-image/v1/03/output.png)).

## Notes

* `background: transparent` with `output_format: jpeg` returns 400; use `png` for transparent output.
* `size: auto` is available on [Seedream 5.5 Image Edit](https://docs.vidgo.ai/api-manual/image-series/bytedance-seedream-v5-5-edit.md), where it follows the reference images.
* 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` (`1K` and `1.5K` share one rate; `2K` has a higher rate). 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-text-to-image.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Seedream 5.5 Text to Image
  description: >-
    The Seedream 5.5 Text to Image API generates one 1K, 1.5K or 2K image from a
    prompt in eight aspect ratios, with optional transparent PNG output.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seedream 5.5 Text to Image
      summary: Submit Seedream 5.5 Text to Image Task
      operationId: submitSeedream55TextToImageTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              landscape-photo:
                summary: Landscape documentary photo
                value:
                  model: bytedance/seedream-v5.5/text-to-image
                  input:
                    prompt: >-
                      A candid documentary dusk photograph on a windswept
                      Icelandic basalt sea cliff. A weathered elderly lighthouse
                      keeper in a salt-stained yellow oilskin coat leans against
                      a rusted iron railing holding a warm glowing brass storm
                      lantern, while a wild Atlantic puffin perches calmly on
                      the wet stone parapet two feet away. Fine ocean spray
                      rises from dark teal swells below under low slate-blue
                      storm clouds. Crisp wet wool, raindrop sheen on metal,
                      detailed plumage, natural film grain, cinematic depth of
                      field. No logos, no readable text, no advertising, no
                      watermarks.
                    size: '16:9'
                    resolution: 2K
                    output_format: png
                    background: auto
              transparent-png:
                summary: Transparent PNG illustration
                value:
                  model: bytedance/seedream-v5.5/text-to-image
                  input:
                    prompt: >-
                      A detailed hand-painted gouache wildlife illustration of a
                      curious red panda perched on a short curved mossy cedar
                      branch nibbling a ripe orange persimmon. Soft painterly
                      fur strokes, expressive dark eyes, lush green moss and
                      tiny white blossoms along the bark. Clean self-contained
                      silhouette centered with generous margin, no background
                      scenery, no cast ground shadow. No text, no logos, no
                      border, no watermark.
                    size: '1:1'
                    resolution: 1.5K
                    output_format: png
                    background: transparent
              bilingual-sign:
                summary: Scene with a bilingual sign
                value:
                  model: bytedance/seedream-v5.5/text-to-image
                  input:
                    prompt: >-
                      A warm twilight documentary photograph of a quiet
                      rain-washed stone courtyard in old Kyoto. A young street
                      violinist in an olive linen jacket plays under wooden
                      eaves illuminated by a soft paper lantern, while a curled
                      calico cat listens attentively from a warm terracotta step
                      on the right. Wet flagstones reflect amber light and deep
                      indigo sky; mossy garden rocks and bamboo leaves frame the
                      left edge. A small weathered cedar plaque beside the
                      sliding door cleanly reads two lines: "雨後茶寮" and "AFTER
                      RAIN", with crisp natural lettering. No other text, no
                      brands, no ads, no watermarks.
                    size: '3:4'
                    resolution: 2K
                    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/text-to-image
        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
          additionalProperties: false
          properties:
            prompt:
              type: string
              minLength: 5
              maxLength: 5000
              description: >-
                Image description or editing instructions. 5–5,000 characters
                after trimming.
            size:
              type: string
              enum:
                - '1:1'
                - '4:3'
                - '3:4'
                - '16:9'
                - '9:16'
                - '3:2'
                - '2:3'
                - '21:9'
              default: '1:1'
              description: Output aspect ratio.
            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: YZ61UK2CJU899EU3
            status:
              type: string
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-11-25T12:10:23'
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: Error message. See [Error Codes](/api-manual/error-codes).
          example: prompt must be between 5 and 5000 characters
  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.