promptstringobligatoire
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.
Essayer le modèle
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
{
"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.
Commencer à construire
Soumettez ce modèle via l'API Unified Run de SandBase.
# 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"Créez une clé API SandBase et définissez-la dans l'environnement de votre serveur. Toutes les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez la clé sur votre serveur. Ne l'exposez pas dans le code du navigateur et ne la committez pas dans un dépôt.
Faites un POST sur /v1/run avec cet ID de modèle et ses entrées. L'exemple de requête ci-dessus inclut la soumission et le polling.
Utilisez l'ID d'exécution renvoyé pour interroger jusqu'à ce que le statut soit completed, failed ou timeout. Ne lisez la sortie qu'une fois completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passez une URL de fichier accessible publiquement dans le champ image, video ou audio du modèle. Les formats pris en charge et les limites sont indiqués à côté de chaque entrée du Playground.
Utilisez le contrôle upload ou replace sur les champs image pris en charge dans le Playground. Les champs URL vidéo acceptent une vidéo de conduite hébergée ; cela n'implique pas la prise en charge de l'importation vidéo.
promptstringobligatoireThe 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.
Par défaut : "auto"
Valeurs possibles : "auto", "transparent", "opaque"
num_imagesintegerThe number of images to generate. Currently limited to 1.
Par défaut : 1
Minimum : 1
Maximum : 1
resolutionstringOutput resolution tier. 1K and 1.5K cost less; 2K is the highest quality.
Par défaut : "2K"
Valeurs possibles : "1K", "1.5K", "2K"
aspect_ratiostringThe aspect ratio of the generated image. Leave unset to let the model choose from the prompt.
Valeurs possibles : "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.
Par défaut : "png"
Valeurs possibles : "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"
}Une exécution terminée expose son résultat dans output. Ce qui suit est l'exemple enregistré du modèle, et non une nouvelle génération.
[
{
"url": "https://static.sandbase.ai/examples/e2e70611-24f1-41aa-b146-e16aaf7d0e79/output/d20d6d3e-dea4-4d3f-bd50-5a7824142172.png"
}
]