imagesarray필수
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.
모델 사용해 보기
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 10
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
{
"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."
}인간 선호
블라인드 양자 대결 투표의 Elo 점수로, 다른 이미지 및 비디오 모델과 비교합니다.
순위는 Artificial Analysis Arena에서 가져왔습니다
이미지 편집 Arena: 모델 이름을 보지 않고, 같은 이미지와 지시문으로 편집한 두 결과 중 더 나은 것을 선택합니다.
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.
빌드를 시작하세요
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"SandBase API 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
imagesarray필수List of URLs of input reference images. Up to 10 images are supported; if more are sent, only the last 10 are used.
promptstring필수The text prompt used to edit the image.
num_imagesintegerThe number of edited images to generate. Currently limited to 1.
기본값: 1
최소값: 1
최대값: 1
aspect_ratiostringThe aspect ratio of the edited 2K image. Leave unset to follow the reference image.
가능한 값: "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.
기본값: "jpeg"
가능한 값: "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"
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
[
{
"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"
}
]