تخطّي إلى المحتوى

Seedance 2.0 Mini

التكامل

معرّف النموذج bytedance/seedance-2.0/mini/reference-to-video
# 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/seedance-2.0/mini/reference-to-video?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"

ملفات مثل المثال: ⁨‏2.321 $⁩ 2,321 رصيد API تُقاس ملفاتك قبل التشغيل تشغيله في هذه الصفحة

الحصول على مفتاح API
ByteDance من مرجع إلى فيديو صوت أصليمدخلات مرجعيةمزامنة الشفاه4–15 ثحتى 720p #stylized#transform#lipsync

توليد فيديو Mini Seedance 2.0 بتوجيه من حتى 9 صور و3 فيديوهات و3 مراجع صوتية

أُنشئت على Doitong

أعمال عامة أُنشئت باستخدام Seedance 2.0 من مجتمع Doitong. أعد استخدام موجّه بنقرة واحدة.

الأعمال العامة المعروضة: 16
Subject: Man in a bunny suit, frozen city crowd Context: Urban street, all people, vehicles, and ... فيديو

Subject: Man in a bunny suit, frozen city crowd Context: Urban street, all people, vehicles, and trees are frozen mid-action Action: Only the bunny-suited man moves, walking and waving in front of an unresponsive man in a black suit Style: Cinematic, intense stillness, Quicksilver/X-Men, Matrix...

This is a cinematic scene filmed with a hand-held shaky camera. The entire world is completely fr... فيديو

This is a cinematic scene filmed with a hand-held shaky camera. The entire world is completely frozen in time. Nothing moves. Absolutely nothing. All people are frozen, cars are frozen, bicycles are frozen, traffic lights are frozen, trees and leaves are frozen, wind is frozen, shadows are...

A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling ... فيديو

A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling around her face. She’s wearing glossy, high-tech neon visor goggles with a vivid color gradient — bright yellow, orange, and pink reflecting glowing city lights. Her expression is confident and...

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, act... فيديو

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, actively working on a giant [pizza]. The tiny workers are using small tools, cranes, and machines to [assemble]. The [pizza] is placed on a metal surface or kitchen countertop. Steam or particles rise...

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, he... فيديو

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, heading directly toward the camera in a low, dramatic angle. They are captured in mid-motion, kicking up thick trails of sand behind their boards. Both riders wear full protective sandboarding suits in...

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled... فيديو

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled sand under a deep blue sky. A tall Black male model and a woman walk together in full-body view, directly toward the camera. The male model wears a dramatic flowing red trench coat, matching tailored...

A fashionable young woman with black hair, walking confidently down a modern city street. She is ... فيديو

A fashionable young woman with black hair, walking confidently down a modern city street. She is wearing stylish everyday fashion — a black turtleneck top, oversized gray blazer, and wide-leg black trousers with chunky black boots. Her outfit is monochrome, mostly black and gray, with minimalist...

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and ... فيديو

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and hard hats are preparing a giant steak. The raw meat, marbled and richly textured, rests across the hot grill. Some workers are spreading seasoning using tiny wheelbarrows filled with salt and pepper,...

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب

موجّه نصي يوجّه توليد الفيديو.

video_urls
أفلت ملفًا، أو · حتى 3

مراجع فيديو للتوليد، تُوفّر كملفات MP4 أو MOV ويُعرَّف بها في الموجّه باستخدام @Video1 و@Video2 والتسميات المرقمة اللاحقة. يجب أن تتراوح دقة كل منها تقريبًا من 480p ‏(640x640) إلى 720p تقريبًا ‏(834x1112). تقتصر المجموعة على 3 فيديوهات يقل مجموع حجمها عن 50 MB، وتتراوح مدتها الإجمالية من 2 إلى 15 ثانية.

duration auto

اختيار طول الفيديو: يفوّض `auto` الاختيار إلى النموذج باستخدام الموجّه، بينما يجب أن تتراوح المدة الصريحة من 4 إلى 15 ثانية.

resolution الافتراضي 720p

دقة المخرج: تفضّل 480p سرعة التوليد، بينما توفّر 720p خيارًا متوازنًا.

aspect_ratio الافتراضي auto

نسبة أبعاد المخرج: تمنح 16:9 تنسيقًا أفقيًا، و9:16 تنسيقًا عموديًا، و1:1 تنسيقًا مربعًا، و21:9 تنسيقًا سينمائيًا عريضًا جدًا. اختر `auto` ليختار النموذج النسبة.

متقدم images · audios · codec · end_user_id
image_urls
أفلت ملفًا، أو · حتى 9

مراجع صورة لتوجيه الفيديو، بحد أقصى 9 صور، وخاضعة لحد أقصى قدره 12 ملفًا عبر جميع الوسائط. يمكن ألا يتجاوز حجم كل صورة 30 MB، ويجب أن تستخدم JPEG أو PNG أو WebP. استخدم @Image1 و@Image2 والتسميات المرقمة اللاحقة لتعريف هذه المراجع في الموجّه.

audio_urls
أفلت ملفًا، أو · حتى 3

تتطلب مراجع الصوت لتوجيه الفيديو مرجع صورة أو فيديو واحدًا على الأقل. وفّر ملفات MP3 أو WAV لا يتجاوز حجم كل منها 15 MB، وبحد أقصى 3 ملفات، مع حد أقصى للمدة الإجمالية يبلغ 15 ثانية. عرّف بها في الموجّه باستخدام @Audio1 و@Audio2 والتسميات المرقمة اللاحقة.

codec الافتراضي auto

اختيار برنامج ترميز الفيديو: يترك `auto` سلوك برنامج الترميز الافتراضي دون تغيير، ويختار `H264` ‏H.264، ويختار `H265` ‏H.265.

المعرّف الفريد المسند إلى المستخدم النهائي.

POST /run/bytedance/seedance-2.0/mini/reference-to-video?wait=20 عرض السعر → ⁨‏2.321 $⁩
# 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/seedance-2.0/mini/reference-to-video?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

حول Seedance 2.0 Mini

ينشئ فيديو من مطالبة ووسائط مرجعية: حتى 9 `image_urls` و3 `video_urls` و3 `audio_urls`، مع الإشارة إليها في المطالبة بصيغة @Image1 و@Video1 و@Audio1 وما شابه. يكون الإخراج 480p أو 720p، تلقائيًا أو من 4 إلى 15 ثانية، وبنسب أبعاد من 21:9 إلى 9:16. يُولّد الصوت المتزامن افتراضيًا.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
موجّه نصي يوجّه توليد الفيديو.
image_urlsاختياري images
النوعurl[] · image
≤ 9 عناصر
مراجع صورة لتوجيه الفيديو، بحد أقصى 9 صور، وخاضعة لحد أقصى قدره 12 ملفًا عبر جميع الوسائط. يمكن ألا يتجاوز حجم كل صورة 30 MB، ويجب أن تستخدم JPEG أو PNG أو WebP. استخدم @Image1 و@Image2 والتسميات المرقمة اللاحقة لتعريف هذه المراجع في الموجّه.
video_urlsاختياري videos
النوعurl[] · video
≤ 3 عناصر
مراجع فيديو للتوليد، تُوفّر كملفات MP4 أو MOV ويُعرَّف بها في الموجّه باستخدام @Video1 و@Video2 والتسميات المرقمة اللاحقة. يجب أن تتراوح دقة كل منها تقريبًا من 480p ‏(640x640) إلى 720p تقريبًا ‏(834x1112). تقتصر المجموعة على 3 فيديوهات يقل مجموع حجمها عن 50 MB، وتتراوح مدتها الإجمالية من 2 إلى 15 ثانية.
audio_urlsاختياري audios
النوعurl[] · audio
≤ 3 عناصر
تتطلب مراجع الصوت لتوجيه الفيديو مرجع صورة أو فيديو واحدًا على الأقل. وفّر ملفات MP3 أو WAV لا يتجاوز حجم كل منها 15 MB، وبحد أقصى 3 ملفات، مع حد أقصى للمدة الإجمالية يبلغ 15 ثانية. عرّف بها في الموجّه باستخدام @Audio1 و@Audio2 والتسميات المرقمة اللاحقة.
resolutionاختياري
النوعenum
الافتراضي720p
480p720p
دقة المخرج: تفضّل 480p سرعة التوليد، بينما توفّر 720p خيارًا متوازنًا.
durationاختياري
النوعenum
الافتراضيauto
auto456789101112131415
اختيار طول الفيديو: يفوّض `auto` الاختيار إلى النموذج باستخدام الموجّه، بينما يجب أن تتراوح المدة الصريحة من 4 إلى 15 ثانية.
aspect_ratioاختياري
النوعenum
الافتراضيauto
auto21:916:94:31:13:49:16
نسبة أبعاد المخرج: تمنح 16:9 تنسيقًا أفقيًا، و9:16 تنسيقًا عموديًا، و1:1 تنسيقًا مربعًا، و21:9 تنسيقًا سينمائيًا عريضًا جدًا. اختر `auto` ليختار النموذج النسبة.
generate_audioاختياري
النوعboolean
الافتراضيtrue
فعّل هذا لإرفاق صوت متزامن بالفيديو. يتضمن الصوت المُولّد كلامًا متوافقًا مع حركات الشفاه، وأجواءً محيطة، ومؤثرات صوتية.
codecاختياري
النوعenum
الافتراضيauto
autoH264H265
اختيار برنامج ترميز الفيديو: يترك `auto` سلوك برنامج الترميز الافتراضي دون تغيير، ويختار `H264` ‏H.264، ويختار `H265` ‏H.265.
end_user_idاختياري
النوعstring | null
المعرّف الفريد المسند إلى المستخدم النهائي.
مطلوب الاسم الأساسي، مقبول أيضًا

تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو file_url لملف تم تحميله. الملفات

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/mini/reference-to-video",
  "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": 2321,
    "usd": "2.321",
    "charged": 2321,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "seed": 42
  },
  "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 هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
video
object {url, content_type, file_name, file_size}ملف الفيديو الناتج عن التوليد.
seed
integerقيمة البذرة المطبّقة أثناء التوليد.

مزيد من النماذج: من مرجع إلى فيديو

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/bytedance/seedance-2.0/mini/reference-to-video.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt