promptstringzorunlu
The text prompt used to generate the image.
bytedance/seedream/5.5Seedream 5.5 by ByteDance generates photorealistic images from text prompts, with accurate small and multilingual text and native transparent-background (RGBA) output. Choose 1K, 1.5K or 2K resolution and ten aspect ratios.
Modeli deneyin
Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
{
"aspect_ratio": "16:9",
"prompt": "Vibrant editorial of a model in contemporary fashion fused with West African textile patterns and beadwork, Campbell Addy bold aesthetic, saturated palette, dramatic studio lighting, celebratory cultural richness, striking contemporary portraiture"
}{
"aspect_ratio": "16:9",
"background": "transparent",
"output_format": "png",
"prompt": "A transparent acrylic standee with a Christmas theme, a rectangular outline, and a thin white edge on all sides that brings out the transparent material. Use a scrapbook collage style: place a red-and-green two-tone vinyl record with a golden rim at the center, surrounded by a dimensional Christmas wreath of acorn leaves and pine branches. Decorate the wreath with hand-drawn red berries, golden four-pointed stars, reindeer, and snowflake stickers. Overlay a minimalist white music-player UI below, with play/pause controls, a progress bar (01:24 / 04:32), and a volume icon. Use vintage red, forest green, champagne gold, and off-white. Add occasional highlights refracted by the acrylic thickness for a realistic product finish. Set a transparent background."
}{
"aspect_ratio": "16:9",
"background": "transparent",
"output_format": "png",
"prompt": "Embroidered appliqué vintage stickers, transparent background. Each patch reproduces real embroidery craftsmanship with extreme realism, featuring a dense, three-dimensional raised texture and a thick off-white merrow-stitched border; some elements (stars, pockets, etc.) also show authentic denim fabric texture with yellow double-needle topstitching. All designs are classic girly motifs: hearts, daisies, cherries, rainbows, teddy bears, butterflies, etc.; the text includes black handwritten cursive script reading \"Good VIBES\" and \"By Cecy Papper\"."
}Seedream 5.5 is ByteDance's latest image model (November 2026). It renders photorealistic textures and dense small or multilingual text, and it can output transparent-background (RGBA) PNGs directly from a prompt.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text instruction. |
aspect_ratio | 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16 | — | Output shape. Omit to let the model choose from the prompt. |
resolution | 1K / 1.5K / 2K | 2K | Output resolution tier. 2K at 16:9 is 2816×1584. |
background | auto / transparent / opaque | auto | transparent returns a PNG with an alpha channel. |
num_images | integer 1–1 | 1 | Fixed at 1. |
output_format | png / jpeg | png | Use png for transparent backgrounds. |
$0.035 per image at 2K, $0.02 at 1K or 1.5K.
| Request | Price |
|---|---|
| One image, 1K or 1.5K | $0.02 |
| One image, 2K | $0.035 |
Failed runs are not charged.
background to transparent.jpeg output never has transparency, even with background set to transparent.Other Seedream endpoints: bytedance/seedream/5.5/edit, bytedance/seedream/5.0/pro, bytedance/seedream/5.0/pro/edit, bytedance/seedream/5.0/flash, bytedance/seedream/5.0/flash/edit, bytedance/seedream/5.0/lite, bytedance/seedream/4.5.
Geliştirmeye başlayın
Bu modeli SandBase Unified Run API üzerinden gönderin.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "bytedance/seedream/5.5",
"prompt": "Vibrant editorial of a model in contemporary fashion fused with West African textile patterns and beadwork, Campbell Addy bold aesthetic, saturated palette, dramatic studio lighting, celebratory cultural richness, striking contemporary portraiture",
"background": "auto",
"num_images": 1,
"resolution": "2K",
"output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
promptstringzorunluThe text prompt used to generate the image.
backgroundstringauto lets the model decide; transparent returns a PNG with an alpha channel (requires png output); opaque never adds transparency.
Varsayılan: "auto"
Olası değerler: "auto", "transparent", "opaque"
num_imagesintegerThe number of images to generate. Currently limited to 1.
Varsayılan: 1
Minimum: 1
Maksimum: 1
resolutionstringOutput resolution tier. 1K and 1.5K cost less; 2K is the highest quality.
Varsayılan: "2K"
Olası değerler: "1K", "1.5K", "2K"
aspect_ratiostringThe aspect ratio of the generated image. Leave unset to let the model choose from the prompt.
Olası değerler: "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"
output_formatstringThe file format of the generated image. Use png for transparent backgrounds.
Varsayılan: "png"
Olası değerler: "jpeg", "png"
{
"model": "bytedance/seedream/5.5",
"prompt": "Vibrant editorial of a model in contemporary fashion fused with West African textile patterns and beadwork, Campbell Addy bold aesthetic, saturated palette, dramatic studio lighting, celebratory cultural richness, striking contemporary portraiture",
"background": "auto",
"num_images": 1,
"resolution": "2K",
"output_format": "png"
}Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
[
{
"url": "https://static.sandbase.ai/examples/e2e70611-24f1-41aa-b146-e16aaf7d0e79/output/d20d6d3e-dea4-4d3f-bd50-5a7824142172.png"
}
]