NeuralBridge
Zaloguj się Pobierz IDE
ByteDance

Seedream 5.5

generowanie obrazów

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.

characteristics

Okno kontekstowe
—
Maks. tokenów w odpowiedzi
—
Dostawca
ByteDance
Wydanie
2026-11-12
Logowanie
tekst, obrazy
Wyjście
images

Co potrafi

generationeditingmulti_ref

Opis

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.

Parametry

size
Rozmiar wyniku w formacie «szerokość×wysokość».
prompt
Tekst zapytania: co ma zostać wygenerowane. Dla wideo — scena, ruch kamery, oświetlenie; dla muzyki — gatunek, nastrój, instrumenty, tempo. Limit długości — określony przez model.
images
Od 1 do 16 obrazów PNG, JPEG lub WEBP: edycja, przenoszenie stylu, składanie sceny z przedmiotów. Każdy — do 25 MB, razem — do 50 MB.
reference_images
Ile referencji obrazów można przesłać.
reference_image_mb
Megabajty na jeden obraz.
reference_image_side
Szerokość i wysokość obrazu, w pikselach.
reference_image_aspect
Szerokość podzielona przez wysokość.
reference_image_formatsimage/jpeg · image/png · image/webp · image/gif · image/bmp · image/tiff
Which image formats the model accepts as input.
resolutiondomyślnie: 2K · 1K · 1.5K · 2K
Rozdzielczość wideo, np. 720P lub 1080P. Ma wpływ na cenę.
aspect_ratiodomyślnie: 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
Proporcje obrazu wynikowego, np. 16:9, 9:16 lub 1:1.
size_aspect
Width divided by height for a size in pixels.
output_formatdomyślnie: png · png · jpeg
Kodek, częstotliwość i bitrate: np. mp3_44100_128 — MP3, 44,1 kHz, 128 kb/s; opus_48000_96 — Opus w kontenerze Ogg. auto — domyślny format modelu.
backgrounddomyślnie: auto · auto · transparent · opaque
auto — decyduje model, opaque — jednolite tło, transparent — przezroczyste (tylko PNG i WEBP).
large_image_from_pixelsdomyślnie: 2611200
From how many pixels a finished image is billed at the large image price.

Endpointy

POSThttps://api.neuralbridge.ru/v1/images/generationsgłówny
Images — generations — Generowanie obrazu na podstawie opisu tekstowego.

Przykłady kodu

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])
Dla OpenAI SDK podaj /v1 w base_url. Dla Anthropic SDK — bez /v1.
prices
Obraz / obraz4,22 ₽
Duży obraz / obraz7,385 ₽
Obraz na wejściu / obraz1,688 ₽
Koszt zapytania w rublach — w odpowiedzi, pole usage.cost
Identyfikator
bytedance/seedream-5.5-16406
Uzyskaj klucz API