Bỏ qua đến nội dung

Bytedance Seedream V4.5 Edit

Tích hợp

Id mô hình bytedance/seedream/v4.5/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Yêu cầu này: 0,04 $ 40 tín dụng API Chạy trên trang này

Lấy khóa API
ByteDance Chỉnh sửa hình ảnh Đầu ra 4K #stylized#transform

Chỉnh sửa một hoặc nhiều ảnh tham chiếu từ chỉ dẫn văn bản, tối đa 10 đầu vào, với kích thước đầu ra 2K/4K

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng Bytedance Seedream V4.5. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек ...

Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек с вдохновением собирается начать что-то новое (например, рисовать на холсте). Внезапно появляется его Мозг в виде забавного персонажа, который начинает активно мешать: показывает смешные картинки...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beau...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beautifully bound books. The fingers softly touch the spines. Warm, golden hour lighting. No faces. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filter...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filtering through trees, cozy wooden treehouse, high detail, 4K.. Studio Ghibli animation style. Close-up of Elara's hands carefully picking one of the glowing mushrooms and placing it into a small woven...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further b...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further back in the frame. Three feet of terracotta floor between them. Maya is standing on terracotta floor in the near foreground in the midground. Torso in three-quarter turn to screen-right. Head in...

Create a head-and-shoulders Pixar-style 3D avatar of an edgy person based on the reference image ...

Create a head-and-shoulders Pixar-style 3D avatar of an edgy person based on the reference image with a black bob, purple hair streak, and a small nose ring. She has a defiant, playful expression, sticking her tongue out with wide, confident eyes while wearing a classic denim jacket. Isolated on...

Art style: 3D Anthro. Grand wedding hall with chandeliers, red curtains and fruit guests. Mia in ...

Art style: 3D Anthro. Grand wedding hall with chandeliers, red curtains and fruit guests. Mia in an emerald gown stands beside Leo Lime ("90/100"). Nico Peach ("100/100") in a black tuxedo with gold embroidery kneels before veiled Grana, holding her red-gloved hand. Pixar-style 3D CGI, soft...

Art style: 3D Anthro. Golden dressing room with mirrors and a tiara on the vanity. Mia sits at th...

Art style: 3D Anthro. Golden dressing room with mirrors and a tiara on the vanity. Mia sits at the vanity while the maid Aunt Banana does her hair. Mrs. Lime holds out an old, torn, yellowed wedding dress to veiled Grana. Pixar-style 3D CGI, soft cinematic lighting, vertical 9:16....

Art style: 3D Anthro. Luxurious living room with candles. Mr. Pomegranate stands holding two fram...

Art style: 3D Anthro. Luxurious living room with candles. Mr. Pomegranate stands holding two framed portraits: a handsome lime-green man labeled "90/100" and a black silhouette with a question mark. Mrs. Lime beside him. Mia Orange and veiled Grana sit on a beige velvet sofa. Pixar-style 3D CGI,...

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc

Hướng dẫn văn bản để chỉnh sửa hình ảnh.

•bắt buộc image_urls
Thả tệp hoặc

URL hình ảnh chỉnh sửa; nếu danh sách dài hơn, hệ thống xử lý 10 mục cuối; giới hạn đầu vào hiện tại là 10 hình ảnh.

image_size mặc định {"height":2048,"width...

Kích thước hình ảnh được tạo phải đáp ứng một trong hai điều kiện: tổng số pixel từ 2560*1440 đến 4096*4096 hoặc chiều rộng và chiều cao đều trong khoảng 1920–4096.

num_images mặc định 1

Số lần chạy tạo sinh độc lập của mô hình bằng lời nhắc.

mặc định 1

Đặt giới hạn hình ảnh mỗi lần tạo bằng `max_images`; giá trị lớn hơn một bật tạo sinh nhiều hình ảnh. Qua `num_images` lần tạo, mỗi lần có thể trả về tối đa `max_images` hình ảnh, cho tổng số đầu ra từ `num_images` đến `max_images*num_images`. Tổng số hình ảnh dùng trong đầu vào và đầu ra không được vượt quá 15.

Nâng cao seed · enable_safety_checker

Seed ngẫu nhiên chi phối tính ngẫu nhiên khi tạo hình ảnh.

POST /run/bytedance/seedream/v4.5/edit?wait=20 báo giá → 0,04 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về Bytedance Seedream V4.5 Edit

Biến thể chỉnh sửa hình ảnh của Seedream 4.5. Truyền `prompt` và `image_urls` (tối đa 10 hình ảnh; nếu gửi nhiều hơn chỉ 10 hình ảnh cuối được sử dụng). `image_size` nhận các thiết lập sẵn như square_hd, portrait_16_9, auto_2K và auto_4K, hoặc chiều rộng và chiều cao tùy chỉnh. `num_images` và `max_images` đều lên đến 6 cho đầu ra nhiều hình ảnh.

Tham số

Gửi tên chuẩn hoặc tên gốc, không gửi cả hai. Tên chuẩn

TênKiểu Mặc địnhĐược phép Mô tả
promptbắt buộc
Kiểustring
Hướng dẫn văn bản để chỉnh sửa hình ảnh.
image_sizetùy chọn
Kiểuobject
Mặc định{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
Kích thước hình ảnh được tạo phải đáp ứng một trong hai điều kiện: tổng số pixel từ 2560*1440 đến 4096*4096 hoặc chiều rộng và chiều cao đều trong khoảng 1920–4096.
num_imagestùy chọn num_outputs
Kiểuinteger
Mặc định1
1 – 6
Số lần chạy tạo sinh độc lập của mô hình bằng lời nhắc.
max_imagestùy chọn
Kiểuinteger
Mặc định1
1 – 6
Đặt giới hạn hình ảnh mỗi lần tạo bằng `max_images`; giá trị lớn hơn một bật tạo sinh nhiều hình ảnh. Qua `num_images` lần tạo, mỗi lần có thể trả về tối đa `max_images` hình ảnh, cho tổng số đầu ra từ `num_images` đến `max_images*num_images`. Tổng số hình ảnh dùng trong đầu vào và đầu ra không được vượt quá 15.
seedtùy chọn
Kiểuinteger | null
Seed ngẫu nhiên chi phối tính ngẫu nhiên khi tạo hình ảnh.
enable_safety_checkertùy chọn
Kiểuboolean
Mặc địnhtrue
Công tắc kiểm tra an toàn, trong đó trạng thái tắt yêu cầu ủy quyền tài khoản. Nếu không có ủy quyền, mọi yêu cầu đều được kiểm tra bất kể cài đặt; true bật trình kiểm tra.
image_urlsbắt buộc images
Kiểuurl[] · image
URL hình ảnh chỉnh sửa; nếu danh sách dài hơn, hệ thống xử lý 10 mục cuối; giới hạn đầu vào hiện tại là 10 hình ảnh.
bắt buộc Tên chuẩn, cũng được chấp nhận

Các tham số tệp nhận URL https:// công khai, URI data: tối đa 10 MB hoặc file_url của một tệp tải lên. Tệp

Đầu ra

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
images
array of object {url, content_type, file_name, file_size, width, height}Hình ảnh do mô hình tạo ra.

Thêm mô hình: Chỉnh sửa hình ảnh

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/bytedance/seedream/v4.5/edit.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt