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

Seedream · Lite · Edit

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

ID โมเดล bytedance/seedream/v5/lite/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/v5/lite/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.035 35 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API
ByteDance แก้ไขภาพ เอาต์พุต 4Kรวดเร็ว #bytedance#seedream-5.0-lite#edit

แก้ไขภาพด้วย Seedream 5 Lite จากภาพอินพุตสูงสุด 10 ภาพ พร้อมขนาดเอาต์พุตสูงสุดถึงระดับ 4K

สร้างบน Doitong

ผลงานสาธารณะที่สร้างด้วย Seedream 5.0 โดยชุมชน 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 รูปภาพ

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

ขนาดรูปภาพที่สร้าง โดยจะปรับขนาดอัตโนมัติเมื่อจำเป็นเพื่อให้จำนวนพิกเซลทั้งหมดไม่น้อยกว่า 2560×1440 และไม่เกิน 4096×4096

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

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

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

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

ขั้นสูง enable_safety_checker
POST /run/bytedance/seedream/v5/lite/edit?wait=20 ใบเสนอราคา → $0.035
# 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/v5/lite/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

เกี่ยวกับ Seedream · Lite · Edit

แก้ไขหรือรวมภาพตามพรอมต์ข้อความ `image_urls` รองรับอินพุตสูงสุด 10 รายการ ภาพที่เกินจาก 10 รายการจะถูกตัดออก โดยเก็บ 10 ภาพสุดท้าย `image_size` มีพรีเซ็ตและ auto_2K, auto_3K และ auto_4K `num_images` สร้างภาพ 1 ถึง 6 รายการ และ `max_images` อนุญาตให้แต่ละการสร้างคืนภาพได้หลายภาพ

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
คำแนะนำข้อความสำหรับแก้ไขรูปภาพ
image_sizeไม่บังคับ
ประเภทobject
ค่าเริ่มต้นauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
ขนาดรูปภาพที่สร้าง โดยจะปรับขนาดอัตโนมัติเมื่อจำเป็นเพื่อให้จำนวนพิกเซลทั้งหมดไม่น้อยกว่า 2560×1440 และไม่เกิน 4096×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`
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/v5/lite/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": 35,
    "usd": "0.035",
    "charged": 35,
    "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
      }
    ],
    "seed": 42
  },
  "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}รูปภาพที่โมเดลสร้างขึ้น
seed
integerseed ที่ใช้ระหว่างการสร้าง

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

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