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

Seedream · Flash · Edit

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

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

รับคีย์ API
ByteDance แก้ไขภาพ รวดเร็ว #realism#typography#stylized

แก้ไขภาพด้วย Seedream 5 Flash จากพรอมต์และภาพอ้างอิงสูงสุด 10 ภาพ

สร้างบน Doitong

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

ผลงานสาธารณะที่แสดง: 16
На фоне шумного стадиона, Марк Ройс, в яркой форме, виртуозно обводит соперников, демонстрируя не...

На фоне шумного стадиона, Марк Ройс, в яркой форме, виртуозно обводит соперников, демонстрируя невероятную технику и ловкость. Он мчится к трибунам, полные восторженных болельщиков, его лицо выражает уверенность и радость. Вытянув руку вперед, над его ладонью парит сверкающий кристалл, окруженный...

Art style: Cinematic Realistic. Maya standing in the near foreground; Mark standing further back ...

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

A slightly overgrown wild field with tall, golden grass swaying gently in the breeze under a clea...

A slightly overgrown wild field with tall, golden grass swaying gently in the breeze under a clear blue sky, its tufts catching the warm light. Scattered wildflowers pepper the field in hues of purple and white, adding pops of color. The sun, lowering in the west, streams through the wispy...

Cinematic shot, atelier Estet. A young girl in tears places a crumpled dress sketch on a dark woo...

Cinematic shot, atelier Estet. A young girl in tears places a crumpled dress sketch on a dark wooden table. An elegant master tailor's hand wearing a stylish ring gracefully covers the sketch with a wave of glowing, luxurious silk fabric that falls in slow motion. Warm dramatic lighting,...

Art style: Cinematic Realistic. Горсть шелухи ~100г на весах. Крупный план, текстуры, кухонный фо...

Art style: Cinematic Realistic. Горсть шелухи ~100г на весах. Крупный план, текстуры, кухонный фон, свет сверху, реалистично, горизонтальный формат, кинематографический стиль. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it...

Art style: Cinematic Realistic. Ян and Лия stop dancing and stand facing each other, holding both...

Art style: Cinematic Realistic. Ян and Лия stop dancing and stand facing each other, holding both hands. The fire behind them calms down slightly. They are breathing heavily, smiling, their foreheads almost touching. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Создай изображение девушки в полный рост: светлокожая фигура с мягкими и утонченными чертами лица...

Создай изображение девушки в полный рост: светлокожая фигура с мягкими и утонченными чертами лица, длинные темно-коричневые волосы, также собраны в сложные косы, украшенные бусинами и лентами в традиционном стиле. Она одета в древний кыргызский наряд: черный и золотой халат с изысканной вышивкой,...

Generation prompt: Яркая и радостная картинка в стиле студии Pixar. Главная героиня — женщина, по...

Generation prompt: Яркая и радостная картинка в стиле студии Pixar. Главная героиня — женщина, похожая на ту, что на референсных фото, стройная , русые волосы , голубые глаза ( не косые ) празднует свой 42-й день рождения. Она одета в красивую модную одежду . Перед ней на столе стоит праздничный...

สร้างคำขอ

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

•จำเป็น

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

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

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

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

ขนาดเอาต์พุตรูปภาพ โดยจำนวนพิกเซลทั้งหมดต้องอยู่ภายใน 1024x1024–2048x2048 และอัตราส่วนภาพต้องอยู่ภายใน 1/16–16

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

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

ขั้นสูง output_format · enable_safety_checker
output_format ค่าเริ่มต้น jpeg

รูปแบบไฟล์ของรูปภาพเอาต์พุต

POST /run/bytedance/seedream/v5/flash/edit?wait=20 ใบเสนอราคา → $0.027
# 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/flash/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 · Flash · Edit

แก้ไขหรือผสานภาพตามพรอมต์ข้อความและ `image_urls` หากส่งมาเกิน 10 ภาพ จะใช้เพียง 10 ภาพสุดท้าย `image_size` รองรับพรีเซ็ตหรือ auto_1K และ auto_2K โดยมีพิกเซลรวมระหว่าง 1024x1024 ถึง 2048x2048 `num_images` สร้างผลลัพธ์ 1 ถึง 6 รายการ และเอาต์พุตเป็น jpeg หรือ png

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
คำแนะนำข้อความสำหรับแก้ไขรูปภาพ
image_sizeไม่บังคับ
ประเภทobject
ค่าเริ่มต้นauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
ขนาดเอาต์พุตรูปภาพ โดยจำนวนพิกเซลทั้งหมดต้องอยู่ภายใน 1024x1024–2048x2048 และอัตราส่วนภาพต้องอยู่ภายใน 1/16–16
num_imagesไม่บังคับ num_outputs
ประเภทinteger
ค่าเริ่มต้น1
1 – 6
จำนวนรอบการสร้างของโมเดลที่เป็นอิสระต่อกันโดยใช้พรอมต์
output_formatไม่บังคับ
ประเภทenum
ค่าเริ่มต้นjpeg
jpegpng
รูปแบบไฟล์ของรูปภาพเอาต์พุต
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/flash/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": 27,
    "usd": "0.027",
    "charged": 27,
    "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/v5/flash/edit.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt