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

Bytedance Seedream V4.5 Text To Image

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

ID โมเดล bytedance/seedream/v4.5/text-to-image
# 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/text-to-image?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"
  }'

# 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

สร้างภาพจากข้อความที่ขนาด 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_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`

ขั้นสูง seed · enable_safety_checker

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

POST /run/bytedance/seedream/v4.5/text-to-image?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/text-to-image?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"
  }'

# 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 Text To Image

รุ่นย่อยสำหรับการสร้างจากข้อความเท่านั้นของ Seedream 4.5 โดยไม่ต้องใช้รูปภาพอินพุต ตั้งค่า `prompt` และเลือกค่าที่ตั้งไว้ล่วงหน้าของ `image_size` เช่น landscape_16_9, auto_2K หรือ auto_4K หรือระบุขนาดเอง `num_images` และ `max_images` รองรับได้สูงสุดอย่างละ 6 รูปภาพ และ `seed` ช่วยให้ผลลัพธ์ทำซ้ำได้ คำตอบจะมีซีดที่ใช้

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
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`
seedไม่บังคับ
ประเภทinteger | null
ซีดสุ่มที่ควบคุมความสุ่มระหว่างการสร้างรูปภาพ
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สวิตช์ตรวจสอบความปลอดภัย ซึ่งการตั้งค่าเป็นปิดต้องได้รับอนุญาตจากบัญชี หากไม่มีการอนุญาตดังกล่าว ทุกคำขอจะได้รับการตรวจสอบโดยไม่คำนึงถึงการตั้งค่า; true จะเปิดใช้ตัวตรวจสอบ
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/text-to-image",
  "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"
  },
  "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
integerค่าซีดที่ใช้ระหว่างการสร้าง

โมเดลเพิ่มเติม: ข้อความเป็นภาพ

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