דילוג לתוכן

Sad Talker · Reference

שילוב

מזהה מודל sadtalker/reference
# 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/sadtalker/reference?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

עד ⁨‏4.50 ‏$⁩ להרצה החיוב מתבצע לפי השימוש בפועל, והיתרה מוחזרת הרצה בדף הזה

קבלת מפתח API
Open model סנכרון שפתיים ואווטארים קלטים מסוג רפרנססנכרון שפתיים #animation

הנפשת פנים מדברות מתמונה ומשמע, עם תנוחת ראש שנלקחה מסרטון ייחוס

Open model · ווידאו

התוצאה הראשונה שלך תופיע כאן

בנו בקשה למטה והריצו אותה עם מפתח ה־API שלכם. הפלטים מועתקים לאחסון שלנו ונשמרים לצמיתות או למשך 7 ימים ללא תשלום.

בנה בקשה

הפקדים נוצרים מסכמת המודל. הקוד והמחיר מתעדכנים כשמשנים אותם.

•חובה source_image_url
גרור קובץ, או

מיקום תמונת המקור ככתובת URL.

•חובה
גרור קובץ, או

כתובת URL המצביעה על אודיו ההנעה.

•חובה
גרור קובץ, או

כתובת ה-URL של וידאו הייחוס.

מתקדם face_model_resolution · preprocess · face_enhancer · pose_style · expression_scale · still_mode
face_model_resolution ברירת מחדל 256

הרזולוציה המשמשת את מודל הפנים.

preprocess ברירת מחדל crop

שיטת העיבוד המקדים להחלה.

סוג משפר הפנים להחלה.

ברירת מחדל 0

הסגנון המשמש לתנוחה.

ברירת מחדל 1

גורם שינוי קנה המידה של ההבעה.

POST /run/sadtalker/reference?wait=20 הצעת מחיר → ⁨‏4.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/sadtalker/reference?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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

מידע על Sad Talker · Reference

כמו הגרסה הבסיסית של פנים מדברות, אך דורש גם `reference_pose_video_url`, סרטון שתנועת הראש בו מנחה את התוצאה. הקלטים הם `source_image_url` ו-`driven_audio_url`. האפשרויות כוללות `pose_style` (0 עד 45), `expression_scale` (0 עד 3), `face_model_resolution` (256 או 512), ‏`still_mode` ובחירה מתוך חמישה מצבי `preprocess`.

פרמטרים

שלח את השם הקנוני או את השם המקומי, לא את שניהם. שמות קנוניים

שםסוג ברירת מחדלמותר תיאור
source_image_urlחובה image
סוגurl · image
מיקום תמונת המקור ככתובת URL.
driven_audio_urlחובה
סוגurl · audio
כתובת URL המצביעה על אודיו ההנעה.
reference_pose_video_urlחובה
סוגurl · video
כתובת ה-URL של וידאו הייחוס.
pose_styleאופציונלי
סוגinteger
ברירת מחדל0
0 – 45
הסגנון המשמש לתנוחה.
face_model_resolutionאופציונלי
סוגenum
ברירת מחדל256
256512
הרזולוציה המשמשת את מודל הפנים.
expression_scaleאופציונלי
סוגnumber
ברירת מחדל1
0 – 3
גורם שינוי קנה המידה של ההבעה.
face_enhancerאופציונלי
סוגstring | null
סוג משפר הפנים להחלה.
still_modeאופציונלי
סוגboolean
ברירת מחדלfalse
מצב תמונה קפואה להפחתת תנועת הראש בעת שימוש בעיבוד מקדים `full`.
preprocessאופציונלי
סוגenum
ברירת מחדלcrop
cropextcropresizefullextfull
שיטת העיבוד המקדים להחלה.
חובה שם קנוני, מתקבל גם הוא

פרמטרים של קבצים מקבלים URL ציבורי מסוג https://, כתובת URI מסוג data: בגודל של עד 10 MB, או את file_url של העלאה. קבצים

פלט

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "sadtalker/reference",
  "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": 4500,
    "usd": "4.50",
    "charged": 4500,
    "refunded": 0
  },
  "input": {
    "source_image_url": "https://content.doitong.com/images/showcase/v3/avatar/talking_avatar.jpg",
    "driven_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "reference_pose_video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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}כתובת ה-URL של הווידאו שנוצר.

מודלים נוספים: סנכרון שפתיים ואווטארים

לסוכני AI: דף זה בפורמט Markdown נמצא בכתובת https://doitong.com/he/developers/models/sadtalker/reference.md. כל המודלים והמדריכים: https://doitong.com/developers/llms.txt