NeuralBridge
Entrar Baixar IDE
ByteDance

Seedream 5.5

geração de imagens

A ByteDance Seed image model: images from text, edits and composition from 1–10 images, transparent backgrounds, accurate text including Cyrillic. 1K, 1.5K or 2K, 17 aspect ratios or an exact pixel size; the price per image depends on its size.

Características

Janela de contexto
—
Máx. de tokens na resposta
—
Fornecedor
ByteDance
Lançamento
2026-11-12
Entrar
texto, imagens
Saída
imagens

O que pode fazer

generationeditingmulti_ref

Descrição

What it does

  • Image from text: photos, posters, illustrations. It renders text on the image well, including Cyrillic: put the text in quotes.
  • Edits: describe what to change and what to keep, and the model preserves the rest. Composition from 2–10 images: for example, a person from one, a jacket from another, a room from a third.
  • Transparent background: background transparent returns a PNG with an alpha channel (stickers, icons, cut-out objects). opaque gives a solid background, auto lets the model decide.
  • File format (output_format): png (default) or jpeg. A transparent background works only in PNG.
  • One image per request. The model has no seed, negative prompt, mask or quality setting.

Size

Use resolution with aspect_ratio, or size in pixels, not both.

  • resolution: 1K, 1.5K or 2K (default 2K).
  • aspect_ratio: 1:1, 1:2, 2:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:19.5, 19.5:9, 9:20, 20:9, 9:21, 21:9 or auto (a ratio that suits the prompt). Without aspect_ratio the image is square.
  • Actual output sizes: at 1.5K and 2K the long side is 1536 and 2048 pixels (1.5K: 1:1 is 1536×1536, 16:9 is 1536×864, 9:16 is 864×1536; 2K: 1:1 is 2048×2048, 4:3 is 2048×1536, 16:9 is 2048×1152). 1K is about one megapixel: 1:1 is 1024×1024, 16:9 is 1280×720, 4:5 is 860×1074, 21:9 is 1466×630.
  • size "widthxheight", for example 2880x1440: from 921,600 to 4,624,220 pixels, aspect ratio from 1:16 to 16:1. The image comes out exactly that size.

Input images

Up to 10 images in JPEG, PNG, WebP, GIF, BMP or TIFF, each up to 30 MB, sides from 15 pixels, aspect ratio from 1:16 to 16:1; as files, data URIs or https links.

How to call

Image from text: POST /v1/images/generations with a JSON body:

{"model": "bytedance/seedream-5.5-16406", "prompt": "A cafe door sign that reads \"OPEN\"", "resolution": "2K", "aspect_ratio": "3:4"}

Edits and composition: POST /v1/images/edits as multipart; repeat the image field for each image (up to 10):

curl https://api.neuralbridge.ru/v1/images/edits -H "Authorization: Bearer $API_KEY" -F model=bytedance/seedream-5.5-16406 -F image=@photo.jpg -F resolution=1K -F "prompt=Turn this photo into a watercolor painting"

Or /v1/images/generations with an images field: https links or data:image/png;base64,….

Response

data[0].b64_json is the image in base64 (PNG or JPEG); usage holds width, height and the number of input images. Generation takes 10–30 seconds.

Errors

  • 400: invalid input; the error text names the field (for example seed, n above 1, 4K, more than 10 images, a transparent background in JPEG, a size below 921,600 pixels). Rejected requests are not billed.
  • 402: not enough funds on the balance. 429: the model is overloaded. 502 or 504: the image was not received; nothing is charged.

Price

The price per finished image depends on its size: up to 2.6 megapixels it is the standard price (all 1K and 1.5K, 2K at 16:9 and 9:16), above that the large image price (2K at 1:1, 4:3, 3:4 and sizes from 2,611,200 pixels). Each input image adds a charge. Rates are on this page.

Parâmetros

size
Tamanho do resultado no formato de string «largura×altura».
prompt
Texto da solicitação: o que deve ser gerado. Para vídeo — cena, movimento da câmera, iluminação; para música — gênero, humor, instrumentos, tempo. Limite de comprimento — definido pelo modelo.
images
De 1 a 16 imagens PNG, JPEG ou WEBP: edição, transferência de estilo, montagem de cena a partir de objetos. Cada uma — até 25 MB, no total — até 50 MB.
reference_images
Quantas imagens-referência podem ser enviadas.
reference_image_mb
Megabytes por imagem.
reference_image_side
Largura e altura da imagem, em pixels.
reference_image_aspect
Largura dividida pela altura.
reference_image_formatsimage/jpeg · image/png · image/webp · image/gif · image/bmp · image/tiff
Which image formats the model accepts as input.
resolutionpadrão: 2K · 1K · 1.5K · 2K
Resolução do vídeo, por exemplo 720P ou 1080P. Também afeta o preço.
aspect_ratiopadrão: auto · auto · 1:1 · 1:2 · 2:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 9:19.5 · 19.5:9 · 9:20 · 20:9 · 9:21 · 21:9
Proporção da imagem resultante, por exemplo 16:9, 9:16 ou 1:1.
size_aspect
Width divided by height for a size in pixels.
output_formatpadrão: png · png · jpeg
Codec, taxa de amostragem e bitrate: por exemplo mp3_44100_128 — MP3, 44,1 kHz, 128 kbps; opus_48000_96 — Opus em contêiner Ogg. auto — formato padrão do modelo.
backgroundpadrão: auto · auto · transparent · opaque
auto — decide o modelo, opaque — fundo sólido, transparent — transparente (apenas PNG e WEBP).
large_image_from_pixelspadrão: 2611200
From how many pixels a finished image is billed at the large image price.

Endpoints

POSThttps://api.neuralbridge.ru/v1/images/generationsprincipal
Imagens — gerações — Geração de imagem a partir de descrição textual.

Exemplos de código

python
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.neuralbridge.ru/v1")

image = client.images.generate(model="bytedance/seedream-5.5-16406", prompt="Рыжий кот в скафандре")

print(image.data[0].url or image.data[0].b64_json[:64])
Para o OpenAI SDK, especifique /v1 em base_url. Para Anthropic SDK — sem /v1.
Preços
Imagem / imagem4,22 ₽
Imagem grande / imagem7,385 ₽
Imagem de entrada / imagem1,688 ₽
Custo da solicitação em rublos — no campo da resposta usage.cost
Identificador
bytedance/seedream-5.5-16406
Obter chave API
Para agentes de IA