NeuralBridge
Kirish IDE-ni yuklab olish
ByteDance

Seedream 5.5

rasm yaratish

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.

Xususiyatlar

Kontekst oynasi
—
Javobda maks. tokenlar
—
Vendor
ByteDance
Chiqarish
2026-11-12
Kirish
matn, tasvirlar
Chiqish
rasmlar

Nima qila oladi

generationeditingmulti_ref

Tavsif

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.

Parametrlar

size
Natijaning o'lchami «kenglik×balandlik» formatidagi satr.
prompt
So'rov matni: nima bo'lishi kerak. Videoda — sahna, kamera harakati, yorug'lik; musiqada — janr, kayfiyat, asboblar, tempo. Uzunlik chegarasi — modelda.
images
1 dan 16 gacha PNG, JPEG yoki WEBP rasmlari: tahrir, uslubni ko‘chirish, obyektlardan sahna tuzish. Har biri — 25 MB gacha, jami — 50 MB gacha.
reference_images
Necha ta rasm-referens yuborish mumkin.
reference_image_mb
Megabayt bitta rasm uchun.
reference_image_side
Rasm kengligi va balandligi, piksel.
reference_image_aspect
Kenglik, balandlikka bo'lingan.
reference_image_formatsimage/jpeg · image/png · image/webp · image/gif · image/bmp · image/tiff
Which image formats the model accepts as input.
resolutionstandart: 2K · 1K · 1.5K · 2K
Video rezolyutsiyasi, masalan 720P yoki 1080P. Narxga ham ta'sir qiladi.
aspect_ratiostandart: 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
Natijaning tomonlar nisbati, masalan 16:9, 9:16 yoki 1:1.
size_aspect
Width divided by height for a size in pixels.
output_formatstandart: png · png · jpeg
Kodek, chastota va bitrate: masalan mp3_44100_128 — MP3, 44,1 kHz, 128 kbit/s; opus_48000_96 — Opus Ogg konteynerida. auto — modelning standart formati.
backgroundstandart: auto · auto · transparent · opaque
auto — model belgilaydi, opaque — bir rangli fon, transparent — shaffof (faqat PNG va WEBP).
large_image_from_pixelsstandart: 2611200
From how many pixels a finished image is billed at the large image price.

Endpointlar

POSThttps://api.neuralbridge.ru/v1/images/generationsasosiy
Images — generatsiyalar — Matn tavsifi bo‘yicha tasvir yaratish.

Kod misollari

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])
OpenAI SDK uchun ko'rsating /v1 base_url ichida. Anthropic SDK uchun — bo'lmasin /v1.
Narxlar
Rasm / tasvir4,22 ₽
Katta tasvir / tasvir7,385 ₽
Kirishdagi rasm / rasm1,688 ₽
So‘rov narxi rublarda — javobda, maydon usage.cost
Identifikator
bytedance/seedream-5.5-16406
API kalitini olish