ข้ามไปยังเนื้อหา

Bytedance Seedream V4.5 Edit

ผสานการทำงาน

ID โมเดล 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"

คำขอนี้: $0.04 40 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API
ByteDance แก้ไขภาพ เอาต์พุต 4K #stylized#transform

แก้ไขภาพอ้างอิงอย่างน้อยหนึ่งภาพจากคำสั่งข้อความ รองรับอินพุตสูงสุด 10 รายการ พร้อมขนาดเอาต์พุต 2K/4K

สร้างบน Doitong

ผลงานสาธารณะที่สร้างด้วย Bytedance Seedream V4.5 โดยชุมชน Doitong นำพรอมต์กลับมาใช้ได้ในคลิกเดียว

ผลงานสาธารณะที่แสดง: 16
Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Бенни. Маленький мальчик ~2-3 лет, похож на JJ из Cocomelon но чуть отличается: круглое личико, большие карие глаза, тёмные короткие волосы, румяные...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered, a gentle young mother named Jenny, around thirty years old....

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered — Anna, a cheerful big sister about five or six years old....

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Детская зубная щетка ярко-синего цвета с мягкой щетиной. Округлая эргономичная ручка, современный дизайн, стиль 3D-анимации Cocomelon. Изолированный объект на...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Cozy colorful bedroom, warm golden sunrise from the window. Benny (blue t-shirt, round face) asleep under bear-print sheets, eyes closed. A sunbeam lies...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Интерьер светлой ванной комнаты в стиле 3D-анимации Cocomelon. Белая раковина, зеркало с лампой над ним, кафельные стены. Округлые формы, мягкое освещение,...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Просторная кухня в стиле 3D-анимации Cocomelon с теплым желтым освещением от потолочной лампы. Большой обеденный стол, современные стулья и один высокий детский...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Боб. Папа семьи, ~30-35 лет, высокий и добрый, тёмные короткие волосы, широкая улыбка, карие глаза, одет в клетчатую рубашку и брюки. 3D Cocomelon-стиль,...

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น

คำแนะนำข้อความสำหรับแก้ไขรูปภาพ

•จำเป็น image_urls
วางไฟล์ หรือ

URL รูปภาพสำหรับการแก้ไข โดยจะประมวลผล 10 รายการสุดท้ายหากส่งรายการที่ยาวกว่านั้น ขีดจำกัดอินพุตปัจจุบันคือ 10 รูปภาพ

image_size ค่าเริ่มต้น {"height":2048,"width...

ขนาดรูปภาพที่สร้างต้องเป็นไปตามเงื่อนไขอย่างใดอย่างหนึ่งจากสองข้อ: จำนวนพิกเซลทั้งหมดอยู่ระหว่าง 2560*1440 ถึง 4096*4096 หรือความกว้างและความสูงแต่ละด้านอยู่ภายใน 1920–4096

num_images ค่าเริ่มต้น 1

จำนวนรอบการสร้างของโมเดลที่เป็นอิสระต่อกันโดยใช้พรอมต์

ค่าเริ่มต้น 1

กำหนดขีดจำกัดจำนวนรูปภาพต่อการสร้างด้วย `max_images`; ค่าที่มากกว่าหนึ่งจะเปิดใช้การสร้างหลายรูปภาพ จากการสร้าง `num_images` ครั้ง แต่ละครั้งอาจส่งคืนรูปภาพได้สูงสุด `max_images` รูป ทำให้จำนวนเอาต์พุตทั้งหมดอยู่ระหว่าง `num_images` ถึง `max_images*num_images` ห้ามใช้รูปภาพเกิน 15 รูปเมื่อรวมอินพุตและเอาต์พุต

ขั้นสูง seed · enable_safety_checker

ซีดสุ่มที่ควบคุมความสุ่มระหว่างการสร้างรูปภาพ

POST /run/bytedance/seedream/v4.5/edit?wait=20 ใบเสนอราคา → $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"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ Bytedance Seedream V4.5 Edit

รุ่นสำหรับแก้ไขภาพของ Seedream 4.5 ระบุ `prompt` และ `image_urls` (รองรับภาพสูงสุด 10 ภาพ หากส่งมาเกินจะใช้เพียง 10 ภาพสุดท้าย) `image_size` รองรับพรีเซ็ต เช่น square_hd, portrait_16_9, auto_2K และ auto_4K หรือกำหนดความกว้างและความสูงเอง `num_images` และ `max_images` รองรับสูงสุดรายการละ 6 ภาพสำหรับเอาต์พุตหลายภาพ

พารามิเตอร์

ส่งชื่อมาตรฐานหรือชื่อดั้งเดิมอย่างใดอย่างหนึ่งเท่านั้น ห้ามส่งทั้งสองชื่อ ชื่อมาตรฐาน

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
คำแนะนำข้อความสำหรับแก้ไขรูปภาพ
image_sizeไม่บังคับ
ประเภทobject
ค่าเริ่มต้น{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
ขนาดรูปภาพที่สร้างต้องเป็นไปตามเงื่อนไขอย่างใดอย่างหนึ่งจากสองข้อ: จำนวนพิกเซลทั้งหมดอยู่ระหว่าง 2560*1440 ถึง 4096*4096 หรือความกว้างและความสูงแต่ละด้านอยู่ภายใน 1920–4096
num_imagesไม่บังคับ num_outputs
ประเภทinteger
ค่าเริ่มต้น1
1 – 6
จำนวนรอบการสร้างของโมเดลที่เป็นอิสระต่อกันโดยใช้พรอมต์
max_imagesไม่บังคับ
ประเภทinteger
ค่าเริ่มต้น1
1 – 6
กำหนดขีดจำกัดจำนวนรูปภาพต่อการสร้างด้วย `max_images`; ค่าที่มากกว่าหนึ่งจะเปิดใช้การสร้างหลายรูปภาพ จากการสร้าง `num_images` ครั้ง แต่ละครั้งอาจส่งคืนรูปภาพได้สูงสุด `max_images` รูป ทำให้จำนวนเอาต์พุตทั้งหมดอยู่ระหว่าง `num_images` ถึง `max_images*num_images` ห้ามใช้รูปภาพเกิน 15 รูปเมื่อรวมอินพุตและเอาต์พุต
seedไม่บังคับ
ประเภทinteger | null
ซีดสุ่มที่ควบคุมความสุ่มระหว่างการสร้างรูปภาพ
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สวิตช์ตรวจสอบความปลอดภัย ซึ่งการตั้งค่าเป็นปิดต้องได้รับอนุญาตจากบัญชี หากไม่มีการอนุญาตดังกล่าว ทุกคำขอจะได้รับการตรวจสอบโดยไม่คำนึงถึงการตั้งค่า; true จะเปิดใช้ตัวตรวจสอบ
image_urlsจำเป็น images
ประเภทurl[] · image
URL รูปภาพสำหรับการแก้ไข โดยจะประมวลผล 10 รายการสุดท้ายหากส่งรายการที่ยาวกว่านั้น ขีดจำกัดอินพุตปัจจุบันคือ 10 รูปภาพ
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ file_url ของไฟล์ที่อัปโหลด ไฟล์

เอาต์พุต

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"
  }
}
ไฟล์ของคุณ คุณเลือกเองทุก outputs[].url คือสำเนาบนพื้นที่จัดเก็บของเรา: เก็บไว้ตลอดไป (คิดค่าบริการต่อ GB-เดือน) หรือฟรี 7 วัน โดยกำหนดได้ในการตั้งค่าบัญชีหรือ ?storage=
รูปแบบเดียวกันในทุกโมเดลtype, url, content_type, width, height และ duration สำหรับภาพ วิดีโอ และเสียงเหมือนกันทั้งหมด ส่วน output คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
images
array of object {url, content_type, file_name, file_size, width, height}รูปภาพที่โมเดลสร้างขึ้น

โมเดลเพิ่มเติม: แก้ไขภาพ

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/bytedance/seedream/v4.5/edit.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt