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

Marey Realism V1.5 · I2V

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

ID โมเดล moonvalley/marey/i2v
# 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/moonvalley/marey/i2v?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",
    "image": "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"

คำขอนี้: $1.50 1,500 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API

Marey image-to-video ที่เริ่มจากภาพของคุณเป็นเฟรมแรก ความยาว 5s หรือ 10s และมีห้าขนาด

Moonvalley · วิดีโอ

ผลลัพธ์แรกของคุณจะแสดงที่นี่

สร้างคำขอด้านล่างและเรียกใช้ด้วยคีย์ API ของคุณ เอาต์พุตจะถูกคัดลอกไปยังพื้นที่จัดเก็บของเรา และเก็บไว้ตลอดไปหรือฟรี 7 วัน

สร้างคำขอ

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

•จำเป็น

พรอมต์ที่แนะนำการสร้างวิดีโอ

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

URL รูปภาพที่ใช้เป็นเฟรมเริ่มต้นของวิดีโอ

duration 5 s

ความยาวของวิดีโอเอาต์พุต

ขั้นสูง negative_prompt · dimensions · guidance_scale · seed
ค่าเริ่มต้น <synthetic> <scene cu...

พรอมต์เชิงลบที่ระบุคุณลักษณะที่ไม่ต้องการให้โมเดลหลีกเลี่ยง

dimensions ค่าเริ่มต้น 1920x1080

ขนาดวิดีโอเอาต์พุต แสดงเป็นความกว้าง x ความสูง

สามารถเพิ่มการยึดตามพรอมต์ได้ด้วยการเพิ่มการตั้งค่านี้ ช่วงค่าที่อนุญาตคือ 0–20

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

ซีดของตัวสร้างตัวเลขสุ่ม โดย -1 จะขอให้สุ่มตัวเลือกใหม่ทุกครั้งที่เรียกใช้

POST /run/moonvalley/marey/i2v?wait=20 ใบเสนอราคา → $1.50
# 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/moonvalley/marey/i2v?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",
    "image": "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

เกี่ยวกับ Marey Realism V1.5 · I2V

ทำให้รูปภาพนิ่งเป็นคลิปโดยใช้พรอมต์ `image_url` คือเฟรมแรก `duration` คือ 5s หรือ 10s และ `dimensions` รองรับ 1920x1080, 1080x1920, 1152x1152, 1536x1152 และ 1152x1536 นอกจากนี้ยังรองรับ `negative_prompt`, `guidance_scale` และ `seed` (-1 สำหรับสุ่ม)

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
พรอมต์ที่แนะนำการสร้างวิดีโอ
dimensionsไม่บังคับ
ประเภทenum
ค่าเริ่มต้น1920x1080
1920x10801080x19201152x11521536x11521152x1536
ขนาดวิดีโอเอาต์พุต แสดงเป็นความกว้าง x ความสูง
durationไม่บังคับ
ประเภทenum
ค่าเริ่มต้น5s
5s10s
ความยาวของวิดีโอเอาต์พุต
negative_promptไม่บังคับ
ประเภทstring | null
ค่าเริ่มต้น<synthetic> <scene cut> low-poly, flat shader, bad rigging, stiff animation, uncanny eyes, low-quality textures, looping glitch, cheap effect, overbloom, bloom spam, default lighting, game asset, stiff face, ugly specular, AI artifacts
พรอมต์เชิงลบที่ระบุคุณลักษณะที่ไม่ต้องการให้โมเดลหลีกเลี่ยง
seedไม่บังคับ
ประเภทinteger | null
ค่าเริ่มต้น-1
ซีดของตัวสร้างตัวเลขสุ่ม โดย -1 จะขอให้สุ่มตัวเลือกใหม่ทุกครั้งที่เรียกใช้
guidance_scaleไม่บังคับ
ประเภทnumber | null
สามารถเพิ่มการยึดตามพรอมต์ได้ด้วยการเพิ่มการตั้งค่านี้ ช่วงค่าที่อนุญาตคือ 0–20
image_urlจำเป็น image
ประเภทurl · image
URL รูปภาพที่ใช้เป็นเฟรมเริ่มต้นของวิดีโอ
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

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

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "moonvalley/marey/i2v",
  "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": 1500,
    "usd": "1.50",
    "charged": 1500,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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 คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
video
object {url, content_type, file_name, file_size}วิดีโอที่โมเดลสร้าง

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

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