NeuralBridge
sign up Descarcă IDE
ByteDance

Seedream 5.5

generare de imagini

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.

Specificații

Fereastră contextuală
—
Max. tokeni în răspuns
—
Vânzător
ByteDance
Lansare
2026-11-12
Autentificare
text, imagini
Ieșire
imagini

Ce poate

generationeditingmulti_ref

Descriere

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.

Parametri

size
Dimensiunea rezultatului sub forma de șir «lățime×înălțime».
prompt
Textul cererii: ce ar trebui să rezulte. Pentru video — scenă, mișcarea camerei, lumină; pentru muzică — gen, stare, instrumente, tempo. Limita de lungime — la model.
images
De la 1 la 16 imagini PNG, JPEG sau WEBP: editare, transfer de stil, asamblare scenă din obiecte. Fiecare — până la 25 MB, în total — până la 50 MB.
reference_images
Câte referințe de imagini pot fi transmise.
reference_image_mb
Megabyte pe o imagine.
reference_image_side
Lățime și înălțime a imaginii, în pixeli.
reference_image_aspect
Lățime împărțită la înălțime.
reference_image_formatsimage/jpeg · image/png · image/webp · image/gif · image/bmp · image/tiff
Which image formats the model accepts as input.
resolutionimplicit: 2K · 1K · 1.5K · 2K
Rezoluția video, de exemplu 720P sau 1080P. Afectează și prețul.
aspect_ratioimplicit: 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
Raportul de aspect al rezultatului, de exemplu 16:9, 9:16 sau 1:1.
size_aspect
Width divided by height for a size in pixels.
output_formatimplicit: png · png · jpeg
Codec, frecvență și bitrate: de exemplu mp3_44100_128 — MP3, 44,1 kHz, 128 kb/s; opus_48000_96 — Opus în containerul Ogg. auto — formatul modelului implicit.
backgroundimplicit: auto · auto · transparent · opaque
auto — decide modelul, opaque — fundal opac, transparent — transparent (doar PNG și WEBP).
large_image_from_pixelsimplicit: 2611200
From how many pixels a finished image is billed at the large image price.

Endpoint-uri

POSThttps://api.neuralbridge.ru/v1/images/generationsprincipal
Images — generations — Generarea unei imagini dintr-o descriere textuală.

Exemple de cod

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])
Pentru SDK-ul OpenAI indicați /v1 în base_url. Pentru Anthropic SDK — fără /v1.
Prețuri
Imagine / imagine4,22 ₽
Imagine mare / imagine7,385 ₽
Imagine la intrare / imagine1,688 ₽
Costul cererii în ruble — în răspuns, câmp usage.cost
Identificator
bytedance/seedream-5.5-16406
Obține cheia API