imagesarrayrequerido
The URLs of the images to use for image-to-image generation or image editing.
bytedance/seedream/5.0/lite/editSeedream 5.0 Lite — Fast Text-to-Image API The lightweight version of Seedream 5.0, delivering high-quality, low-latency AI image generation from text prompts. Ideal for real-time creative tools, e-commerce visuals, and high-volume AIGC pipelines.
Probar el modelo
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Preferencia humana
Puntuaciones Elo a partir de votos ciegos comparativos, en comparación con otros modelos de imagen y video.
Clasificaciones obtenidas de Artificial Analysis Arena
Arena de edición de imagen: las personas eligen la mejor de dos ediciones de la misma imagen e instrucción, sin ver los nombres de los modelos.
Seedream 5.0 Lite edit: fast, low-cost edits and multi-image composition.
| Field | Type | Default | Notes |
|---|---|---|---|
images | image URL[], required | — | Images to edit or combine, Image 1, Image 2, … |
prompt | string, required | — | Up to 50,000 characters. |
aspect_ratio | 21:9 / 16:9 / 3:2 / 4:3 / 1:1 / 3:4 / 2:3 / 9:16 | — | Omit to follow the first input image. |
output_format | jpeg / png | png | Output file format. |
$0.035 per output image.
| Request | Price |
|---|---|
| One image | $0.035 |
Failed runs are not charged.
Other Seedream endpoints: bytedance/seedream/5.0/pro, bytedance/seedream/5.0/pro/edit, bytedance/seedream/5.0/lite, bytedance/seedream/5.0/flash, bytedance/seedream/5.0/flash/edit, bytedance/seedream/4.5, bytedance/seedream/4.5/edit.
Empiece a construir
Envíe este modelo a través de la API de ejecución unificada 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.0/lite/edit",
"images": [
"https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/77024d8e03f24862b066bfc385301120~tplv-goo7wpa0wc-image.image",
"https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/2cbc5cf5a68d44899fc52f177fb9cf51~tplv-goo7wpa0wc-image.image"
],
"prompt": "Generate 3 images of a girl and a cow plushie happily riding a roller coaster in an amusement park, depicting morning, noon, and night.",
"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"Cree una clave de API de SandBase y configúrela en el entorno de su servidor. Todas las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve la clave en el servidor. No la exponga en código del navegador ni la confirme en un repositorio.
Haga un POST a /v1/run con este ID de modelo y sus entradas. El ejemplo de solicitud anterior incluye el envío y el sondeo.
Use el ID de ejecución devuelto para sondear hasta que el estado sea completed, failed o timeout. Lea la salida solo después de completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Proporcione una URL de archivo accesible públicamente en el campo de imagen, video o audio del modelo. Los formatos y límites admitidos se muestran junto a cada entrada de Playground.
Use el control de subir o reemplazar en los campos de imagen admitidos en Playground. Los campos de URL de video aceptan un video de conducción alojado; no implican compatibilidad con la subida de video.
imagesarrayrequeridoThe URLs of the images to use for image-to-image generation or image editing.
promptstringrequeridoThe text prompt to generate an image from.
Valor predeterminado: "Generate 3 images of a girl and a cow plushie happily riding a roller coaster in an amusement park, depicting morning, noon, and night."
aspect_ratiostringThe aspect ratio of the generated image.
Valores posibles: "21:9", "16:9", "3:2", "4:3", "1:1", "3:4", "2:3", "9:16"
output_formatstringThe format of the generated image.
Valor predeterminado: "png"
Valores posibles: "jpeg", "png"
{
"model": "bytedance/seedream/5.0/lite/edit",
"images": [
"https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/77024d8e03f24862b066bfc385301120~tplv-goo7wpa0wc-image.image",
"https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/2cbc5cf5a68d44899fc52f177fb9cf51~tplv-goo7wpa0wc-image.image"
],
"prompt": "Generate 3 images of a girl and a cow plushie happily riding a roller coaster in an amusement park, depicting morning, noon, and night.",
"output_format": "png"
}Una ejecución completada expone su resultado en la salida. Lo siguiente es el ejemplo guardado del modelo, no una nueva generación.
Aún no se ha publicado ningún ejemplo de salida. Use Playground → Result → JSON después de una ejecución completada para inspeccionar su respuesta.