Skip to content
Esta página ainda não está disponível no seu idioma, por isso é apresentada em inglês.
ByteDance · Seedream

seedream-5-5 API

Generate images, create transparent assets, and separate images into layers with seedream-5-5 on APISea.

Geração de imagensImagemTarefa assíncrona
ID do modelo
seedream-5-5

Preços da API seedream-5-5

Todos os preços em USD. Tarifas da APISea comparadas com o preço de tabela oficial para a mesma unidade.

OpçãoAPISeaOficialEconomize
PredefinidoPredefinido$0.0308$0.032−4%
1K$0.0176$0.018−2%
1K-layer$0.0176$0.02−12%
2K$0.0308$0.032−4%
2K-layer$0.0308$0.035−12%

Os preços são por imagem.

O que é seedream-5-5?

seedream-5-5 is ByteDance’s Seedream image model for generating images from text or reference images and separating existing images into layers. Generation accepts up to 10 references, supplied as public URLs or Base64 Data URIs, and produces one image per request. Controls include size, resolution, transparent or opaque backgrounds, and PNG or JPEG output. Layer decomposition takes exactly one image and returns a base image plus transparent layers, with optional rich-text OCR for recognizable text.

On APISea, submit requests through the image generation endpoint and poll the returned task ID for results. Use your APISea API key with the base URL https://api.apisea.ai/v1. Pricing is pay-as-you-go, with billing only for successful requests: Default and 2K cost $0.0308 per image, while 1K costs $0.0176 per image. The Default configuration is about 4% below the provider list price; layer pricing is listed separately.

Destaques de seedream-5-5

Text and Reference Inputs

Generate from a text prompt alone or supply up to 10 reference images. References can be publicly accessible image URLs or Base64 Data URIs.

Transparent Image Output

Both text-to-image and image-to-image support transparent backgrounds. Choose PNG output when requesting transparency.

Configurable Layer Decomposition

Separate one input image into a base image and transparent layers. Set a maximum total output count from 2–100 images, including the base image.

Optional Text OCR

Request rich-text OCR for text layers during decomposition. Text recognition results may appear only for recognizable regular text.

Como chamar a API seedream-5-5 em 4 passos

  1. 01

    Obter uma chave de API

    Inicie sessão na APISea, adicione pelo menos $50 de saldo e crie uma chave sk-sea na consola.

  2. 02

    Definir o URL base

    Utilize https://api.apisea.ai/v1 como URL base no SDK ou cliente HTTP.

  3. 03

    Enviar o pedido

    Chame POST /v1/images/generations com "model": "seedream-5-5" e os parâmetros abaixo.

  4. 04

    Processar a resposta

    A resposta contém um task_id. Faça pedidos GET /v1/tasks/{task_id} até o estado ser completed e, em seguida, transfira os URLs dos resultados.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "seedream-5-5",
  "prompt": "An orange cat sticker with clean edges",
  "size": "2K",
  "background": "transparent",
  "output_format": "png",
  "nsfw_check": true
}'

Parâmetros

ParâmetroTipoObrigatórioPredefinidoDescrição
modelstringObrigatório—Set to `seedream-5-5`.
nsfw_checkbooleanOpcionalfalseWhether to run content moderation before submitting the image task.
promptstringOpcional—Required for text-to-image and image-to-image. Optional for layer decomposition: the model identifies subjects, text, and backgrounds automatically, or you can describe which elements to separate.
image_urlsstring[]Opcional—Up to 10 references for image generation; exactly 1 input for layer decomposition. Accepts public image URLs or image Base64 Data URIs. For local files, use the [image upload endpoint](/docs/uploads/images) and pass the returned `url`.
sizestringOpcional—Image generation defaults to `2K` and accepts a tier, aspect ratio, or exact pixels as described below. Layer decomposition defaults to `auto` and accepts only `1K` / `1.5K` / `2K` / `auto`, not aspect ratios or exact pixels.
resolutionstringOpcional—For image generation, use `1K` / `1.5K` / `2K` with an aspect-ratio `size`. For decomposition, this is a platform alias for `size`: `size` takes precedence, `resolution` is used only when `size` is omitted, and omitting both defaults to `auto`. Decomposition accepts `1K` / `1.5K` / `2K` / `auto`; aspect ratios or pixel dimensions are rejected synchronously with HTTP 400. `3K` / `4K` are unsupported.
backgroundstringOpcional—Image generation supports `auto` (default), `transparent`, or `opaque`. Both text-to-image and image-to-image can produce transparency. Transparent output requires PNG and cannot use `output_format: "jpeg"`. Omit this field entirely for layer decomposition, including `auto`.
output_formatstringOpcionalpng
nintegerOpcional—Must be `1`. Image generation produces one image per request; use `layer_decomposition_options.max_images` to control decomposition output count.
watermarkbooleanOpcionalfalseOptional flag to add a watermark.
optimize_prompt_optionsobjectOpcional—Only `{"mode":"standard"}` is supported. Omitting this parameter still enables the upstream default `standard`; prompt optimization cannot be disabled in Seedream 5.5. The upstream rejects `disabled` / `none` / `off` with HTTP 400 and `must be one of: standard`. The platform rejects `fast` immediately with HTTP 400.
layer_decompositionbooleanOpcional—Set to `true` to separate the input into a base image and transparent layers. Requires exactly one input image and no `background` field. `output_format` controls only the base image.
layer_decomposition_optionsobjectOpcional—Only valid with `layer_decomposition: true`; otherwise returns HTTP 400.
max_imagesintegerOpcional30Integer `2`–`100`, default `30`. The maximum total number of output images, including the base image, not a guaranteed output count.
text_recognitionbooleanOpcionalfalseOptional boolean. Set to `true` to request rich-text OCR for text layers. `text_recognition` may appear only for recognizable regular text; do not assume every layer contains it.

O que pode criar com seedream-5-5

Creative Drafting Tools

Build a prompt-driven interface for generating visual drafts, with reference images available to guide each request.

Transparent Asset Workflows

Generate transparent PNG assets for placement in design compositions, product interfaces, or marketing layouts.

Layer Extraction Tools

Let users upload an image and separate its subjects, text, and background into a base image and transparent layers.

Text-Aware Design Review

Combine layer decomposition with optional OCR to inspect recognizable text alongside extracted visual elements.

Dicas para obter melhores resultados

  • 01

    Poll for Results

    Submit to POST /v1/images/generations, read the task ID from data[0].task_id, then query GET /v1/tasks/{task_id} for results.

  • 02

    Choose Size Explicitly

    Generation defaults to 2K. For aspect-ratio sizing, pair size with resolution set to 1K, 1.5K, or 2K; omit resolution when specifying exact pixel dimensions.

  • 03

    Configure Transparency Correctly

    For transparent generation, set background to transparent and output_format to png. For layer decomposition, omit background entirely, even if its value would be auto.

  • 04

    Budget by Pricing Tier

    APISea 1K and 1K-layer each cost $0.0176 per image. Default, 2K, and 2K-layer each cost $0.0308 per image; max_images is a decomposition output cap, not a guaranteed count.

Limites e informações importantes

  • Generation accepts up to 10 references and requires n to be 1; decomposition requires exactly one input image.

  • Each reference image must be at most 30 MiB and 36 million total pixels; AVIF and JP2 are unsupported.

  • Prompt optimization cannot be disabled, and only standard mode is supported.

Perguntas frequentes sobre a API de seedream-5-5

How much does seedream-5-5 cost on APISea?

Default, 2K, and 2K-layer cost $0.0308 per image; 1K and 1K-layer cost $0.0176 per image. Default is about 4% below the provider list price, and APISea bills only successful requests.

How do I call seedream-5-5 through the API?

Send an authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to seedream-5-5. Read data[0].task_id from the response and poll GET /v1/tasks/{task_id} for results.

Can seedream-5-5 use reference images?

Yes, image generation supports up to 10 references through image_urls and requires a prompt. Supply public image URLs or Base64 Data URIs; layer decomposition instead requires exactly one reference.

Does seedream-5-5 support transparent backgrounds?

Yes, both text-to-image and image-to-image support background set to transparent, with PNG output required. Extracted decomposition layers are always transparent PNGs, and the background field must be omitted for decomposition.

How do I extract layers and recognize text?

Set layer_decomposition to true with exactly one input image; a prompt is optional. Use layer_decomposition_options to set max_images from 2–100 and enable text_recognition for optional rich-text OCR on recognizable text layers.

Can I use seedream-5-5 outputs commercially?

Commercial use is subject to the provider's terms. Review the applicable ByteDance terms and any rights associated with your input images before using outputs commercially.

Modelos relacionados

Mais de 250 modelos · Carregamento mínimo de $50

Comece a criar com seedream-5-5

Uma chave, pagamento conforme o uso a partir de $50, com cobrança apenas por solicitações bem-sucedidas.