Rivya AI Docs
หน้า API ของโมเดล

การเชื่อมต่อ API ของ Seedance 2.0 Fast

ใช้ Seedance 2.0 Fast ผ่าน Rivya Public API v1 ด้วย model id seedance-2-fast, input ที่รองรับ, พารามิเตอร์, กฎ Files API, เครดิต และตัวอย่าง response

พร้อมใช้งานผ่าน APItext input พร้อมวิดีโอ
ID โมเดล API

seedance-2-fast

Input

text

Files API

ไม่จำเป็นสำหรับ request ขั้นต่ำ

เครดิตพื้นฐาน

140

ความสามารถ

วิดีโอ

Billing

FIXED

ขีดจำกัดพรอมต์

2500 อักขระ

contract ของ request

ส่ง model id ที่ระดับบนสุด control เฉพาะโมเดลอยู่ใน params

KeyTypeจำเป็นค่าเริ่มต้นคำอธิบาย
modelstringใช่seedance-2-fastใช้ API model id seedance-2-fast
promptstringใช่-สูงสุด 2500 อักขระสำหรับโมเดลนี้
paramsobjectไม่ใช่-object พารามิเตอร์เฉพาะโมเดล ใช้แถวด้านล่างสำหรับ key ที่อนุญาต
client_request_idstringไม่ใช่-client-side id แบบเลือกได้สำหรับ trace คำขอในระบบของคุณ

พารามิเตอร์โมเดล

KeyTypeจำเป็นค่าเริ่มต้นช่วงตัวเลือกคำอธิบาย
seedance_sceneselectไม่ใช่text-text, frames, referenceเลือกเส้นทาง Seedance 2 Fast ที่จะรัน: text-to-video ล้วน แนวทางจากเฟรมแรก / เฟรมแรก-สุดท้าย หรือการสร้างจากข้อมูลอ้างอิงแบบมัลติโหมด
resolutionselectไม่ใช่720p-480p, 720pความละเอียด
aspect_ratioselectไม่ใช่16:9-1:1, 4:3, 3:4, 16:9, 9:16, 21:9, adaptiveอัตราส่วนภาพ
durationnumberไม่ใช่5min 4 / max 15-ระยะเวลา
generate_audioselectไม่ใช่true-true, falseสร้างเสียง
return_last_frameselectไม่ใช่false-false, trueส่งคืนเฟรมสุดท้ายเป็นภาพนิ่งด้วย ซึ่งมีประโยชน์สำหรับภาพปก การรันต่อเนื่อง หรือการแก้ไขในภายหลัง
web_searchselectไม่ใช่false-false, trueค้นหาเว็บ
nsfw_checkerselectไม่ใช่false-false, trueตัวตรวจ NSFW

request ขั้นต่ำ

{
  "model": "seedance-2-fast",
  "prompt": "A cinematic product reveal with smooth camera movement",
  "params": {
    "seedance_scene": "text",
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": "true",
    "return_last_frame": "false",
    "web_search": "false",
    "nsfw_checker": "false"
  }
}

response จากการสร้าง

endpoint create ส่ง public task id กลับมา poll endpoint สถานะจนกว่างานจะสำเร็จหรือล้มเหลว

{
  "id": "task_seedance_2_fast_example",
  "status": "queued",
  "model": "seedance-2-fast",
  "reserved_credits": 140,
  "final_credits": 0,
  "created_at": "2026-05-11T00:00:00.000Z",
  "updated_at": "2026-05-11T00:00:00.000Z",
  "result": null,
  "error": null
}

error ทั่วไป

validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found

endpoint create ส่ง public task id กลับมา poll endpoint สถานะจนกว่างานจะสำเร็จหรือล้มเหลว