imagesarrayobbligatorio
List of URLs of input reference images. Up to 10 images are supported; if more are sent, only the last 10 are used.
bytedance/seedream/5.0/pro/editSeedream 5.0 Pro is Bytedance's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.
Prova il modello
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 10
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"images": [
"https://static.sandbase.ai/examples/a41b72ba-8748-49c4-9eca-e1a1d1566e86/input/83baa511-b454-4c5e-b799-66cf7a0c47fb.png",
"https://static.sandbase.ai/examples/a41b72ba-8748-49c4-9eca-e1a1d1566e86/input/e8207f7d-83ad-4d7d-a340-cd3c53a00319.png",
"https://static.sandbase.ai/examples/a41b72ba-8748-49c4-9eca-e1a1d1566e86/input/9bf41b90-b1b3-4b70-98cc-5616f8c52af1.png"
],
"prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture."
}Preferenza umana
Punteggi Elo da voti anonimi affiancati, confrontati con altri modelli di immagini e video.
Classifiche tratte da Artificial Analysis Arena
Arena di image editing: le persone scelgono la migliore di due modifiche della stessa immagine e istruzione, senza vedere i nomi dei modelli.
Seedream 5.0 Pro edit: change or fuse up to 10 images with an instruction while keeping identity, products, and text consistent.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text instruction. |
images | image URL[] (≤10), required | — | Images to edit or combine, Image 1, Image 2, … |
aspect_ratio | 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16 | — | Omit to follow the first input image. |
num_images | integer 1–1 | 1 | Fixed at 1. |
output_format | jpeg / png | jpeg | Output file format. |
$0.09 per output image plus $0.003 for each input image after the first.
| Inputs | Price |
|---|---|
| 1 input image | $0.09 |
| 3 input images | $0.096 |
| 10 input images | $0.117 |
Failed runs are not charged.
Other Seedream endpoints: bytedance/seedream/5.0/pro, bytedance/seedream/5.0/lite, bytedance/seedream/5.0/lite/edit, bytedance/seedream/5.0/flash, bytedance/seedream/5.0/flash/edit, bytedance/seedream/4.5, bytedance/seedream/4.5/edit.
Inizia a costruire
Invia questo modello tramite la SandBase Unified Run API.
# 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.0/pro/edit",
"images": [
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_0.png",
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_1.png",
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_2.png"
],
"prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
"num_images": 1,
"output_format": "jpeg"
}
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"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
imagesarrayobbligatorioList of URLs of input reference images. Up to 10 images are supported; if more are sent, only the last 10 are used.
promptstringobbligatorioThe text prompt used to edit the image.
num_imagesintegerThe number of edited images to generate. Currently limited to 1.
Predefinito: 1
Minimo: 1
Massimo: 1
aspect_ratiostringThe aspect ratio of the edited 2K image. Leave unset to follow the reference image.
Valori possibili: "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.
Predefinito: "jpeg"
Valori possibili: "jpeg", "png"
{
"model": "bytedance/seedream/5.0/pro/edit",
"images": [
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_0.png",
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_1.png",
"https://static.sandbase.ai/examples/bytedance/seedream/5.0/pro/edit/input_images_2.png"
],
"prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
"num_images": 1,
"output_format": "jpeg"
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
[
{
"source": "ByteDance/Volcengine schema mirror",
"source_url": "https://docs.volcengine.com/docs/ark/seedance-2-0",
"url": "https://static.sandbase.ai/examples/a41b72ba-8748-49c4-9eca-e1a1d1566e86/output/d2d69592-39c3-463f-accc-a338272a97b9.png"
}
]