Мазмұнға өту

Seedance 2.0 Reference to Video

Интеграциялау

Модель идентификаторы bytedance/seedance-2.0/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedance-2.0/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Duration: 10s | Strict 16:9 Landscape | Native 4K UHD | 24fps. Genre: Cinematic Slice-of-Life Fantasy Comedy / Elemental Magic. Target: Ultra-realistic premium live-action fantasy cinema. Use @ image1 as the sole identity reference; preserve exactly as shown, ignoring only background, pose, framing, and text. Exactly one Character A, with no redesign, duplication, morphing, identity drift, outfit change, or hairstyle change. In an old witch’s kitchen, Character A attempts to make one cup of tea using elemental magic, but the spell becomes unexpectedly powerful. The scene begins with a table-level macro shot of a still ceramic cup of tea while Character A’s tired, unimpressed face remains softly blurred behind it. Character A reaches for the wand and raises it in profile. A thin orange-blue magical filament travels continuously from the wand tip through open space into the center of the tea, visibly making contact with the liquid and creating a subtle glowing ripple and warm reflection inside the cup; only after contact does the tea begin rotating. The stirring starts gently, then accelerates unnaturally fast, creating a small controlled whirlpool and a few droplets rising from the surface without splashing wildly. Character A watches with slightly widened eyes, then makes one quick reverse wand gesture to cancel the spell. The tea immediately becomes still. Character A lowers the wand onto the table, lifts the cup carefully, and takes one small sip. There is absolutely no disgust before tasting. After a brief beat, the excessive heat registers: Character A’s eyes narrow, brows pinch, nose wrinkles slightly, and the lips tighten into a restrained, exhausted grimace. Character A leans forward and spits the same mouthful of tea back into the same ceramic cup, keeping the lower face and cup visible together; show one small restrained spray of liquid leaving the mouth and landing back inside the cup, with no vomiting or excessive saliva. Character A then stares at the cup with quiet offended disbelief while lowering it toward the table, ending during the movement with no smile, camera look, victory pose, freeze frame, or fade. Camera language is cinematic macro depth with rack focus, tight profile, wand insert, readable over-the-shoulder magical contact, overhead tea-whirlpool detail, extreme eye close-up, and tight three-quarter reaction, maintaining consistent screen direction and avoiding chaotic camera shake or teleportation. Audio consists of quiet witch-kitchen ambience, wand ignition, a subtle magical hum, liquid swirling, cancellation sound, a small sip, restrained “ptuh,” soft liquid landing, and a disappointed exhale. Music is cozy, mischievous slice-of-life comedy using acoustic guitar, pizzicato strings, muted piano, playful clarinet, and brushed percussion, with no vocals; build gently during the magical stirring, briefly thin the score as the heat registers, then add one understated plucked accent when the tea lands back in the cup. Keep music below the sound effects and avoid boing sounds, circus music, meme sounds, or laugh tracks. Maintain strict causality: FILAMENT CONTACT → TEA STIRS → SPELL ESCALATES → SPELL CANCELLED → TEA STILL → SIP → HEAT REGISTERS → SAME MOUTHFUL SPAT BACK INTO SAME CUP → DEADPAN REGRET. Priority locks are identity, visible magical contact, continuous tea-state consistency, sip before reaction, the same mouthful visibly returning to the same cup, stable facial anatomy, restrained acting, realistic liquid physics, cinematic close-ups, and readable comedic timing. Negative prompt: duplicate character, duplicate cup, duplicate wand, duplicate tea, missing magical contact, magic hitting table or hand, reaction before sipping, new liquid appearing, whole cup spat out, vomiting, excessive saliva, broken mouth anatomy, premature stirring, instant violent whirlpool, large magical explosion, injury, identity drift, exaggerated acting, cartoon physics, anime, cheap CGI, plastic skin, discontinuity, frozen frames, subtitles, text, logo, watermark.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_c3dk4hgrd2tzlsymbg986itv/0-6Vz76mAQT0PWAMVCZaZAY_KTBfm8A8.png"
    ],
    "resolution": "480p",
    "duration": "5",
    "aspect_ratio": "16:9",
    "generate_audio": true
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Осы сұрау: 0,705 $ 705 API кредиті Осы бетте іске қосу

API кілтін алу
ByteDance Анықтамадан бейнеге Кірістірілген аудио4K шығысыАнықтамалық кірістер4–15 с4k дейін #audio#references#consistency

Атымен көрсетілген ең көбі 9 суреттен, 3 бейнеден және 3 аудиоклиптен дыбысы бар 4–15 секундтық клип жасайды.

Мысалдар

Кіріс
Шығыс · ~219 с

ПромптDuration: 10s | Strict 16:9 Landscape | Native 4K UHD | 24fps. Genre: Cinematic Slice-of-Life Fantasy Comedy / Elemental Magic. Target: Ultra-realistic premium live-action fantasy cinema. Use @ image1 as the sole identity reference; preserve exactly as shown, ignoring only background, pose, framing, and text. Exactly one Character A, with no redesign, duplication, morphing, identity drift, outfit change, or hairstyle change. In an old witch’s kitchen, Character A attempts to make one cup of tea using elemental magic, but the spell becomes unexpectedly powerful. The scene begins with a table-level macro shot of a still ceramic cup of tea while Character A’s tired, unimpressed face remains softly blurred behind it. Character A reaches for the wand and raises it in profile. A thin orange-blue magical filament travels continuously from the wand tip through open space into the center of the tea, visibly making contact with the liquid and creating a subtle glowing ripple and warm reflection inside the cup; only after contact does the tea begin rotating. The stirring starts gently, then accelerates unnaturally fast, creating a small controlled whirlpool and a few droplets rising from the surface without splashing wildly. Character A watches with slightly widened eyes, then makes one quick reverse wand gesture to cancel the spell. The tea immediately becomes still. Character A lowers the wand onto the table, lifts the cup carefully, and takes one small sip. There is absolutely no disgust before tasting. After a brief beat, the excessive heat registers: Character A’s eyes narrow, brows pinch, nose wrinkles slightly, and the lips tighten into a restrained, exhausted grimace. Character A leans forward and spits the same mouthful of tea back into the same ceramic cup, keeping the lower face and cup visible together; show one small restrained spray of liquid leaving the mouth and landing back inside the cup, with no vomiting or excessive saliva. Character A then stares at the cup with quiet offended disbelief while lowering it toward the table, ending during the movement with no smile, camera look, victory pose, freeze frame, or fade. Camera language is cinematic macro depth with rack focus, tight profile, wand insert, readable over-the-shoulder magical contact, overhead tea-whirlpool detail, extreme eye close-up, and tight three-quarter reaction, maintaining consistent screen direction and avoiding chaotic camera shake or teleportation. Audio consists of quiet witch-kitchen ambience, wand ignition, a subtle magical hum, liquid swirling, cancellation sound, a small sip, restrained “ptuh,” soft liquid landing, and a disappointed exhale. Music is cozy, mischievous slice-of-life comedy using acoustic guitar, pizzicato strings, muted piano, playful clarinet, and brushed percussion, with no vocals; build gently during the magical stirring, briefly thin the score as the heat registers, then add one understated plucked accent when the tea lands back in the cup. Keep music below the sound effects and avoid boing sounds, circus music, meme sounds, or laugh tracks. Maintain strict causality: FILAMENT CONTACT → TEA STIRS → SPELL ESCALATES → SPELL CANCELLED → TEA STILL → SIP → HEAT REGISTERS → SAME MOUTHFUL SPAT BACK INTO SAME CUP → DEADPAN REGRET. Priority locks are identity, visible magical contact, continuous tea-state consistency, sip before reaction, the same mouthful visibly returning to the same cup, stable facial anatomy, restrained acting, realistic liquid physics, cinematic close-ups, and readable comedic timing. Negative prompt: duplicate character, duplicate cup, duplicate wand, duplicate tea, missing magical contact, magic hitting table or hand, reaction before sipping, new liquid appearing, whole cup spat out, vomiting, excessive saliva, broken mouth anatomy, premature stirring, instant violent whirlpool, large magical explosion, injury, identity drift, exaggerated acting, cartoon physics, anime, cheap CGI, plastic skin, discontinuity, frozen frames, subtitles, text, logo, watermark.

5 s480p16:9generate_audio: true0,705 $ · 705 API кредиті

X желісіндегі @MahiraEhan пайдаланушысының промпты

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Бейне генерациясын бағыттайтын мәтіндік нұсқау.

image_urls
Файлды тастаңыз немесе · 9 дейін

Бейнені бағыттауға арналған кескін анықтамалары: ең көбі 9 кескін және барлық модальділіктер бойынша 12 файл. Әр кескін 30 MB-тан аспауы және JPEG, PNG немесе WebP пішімінде болуы керек. Нұсқауда анықтамаларды @Image1, @Image2 және кейінгі нөмірленген белгілермен көрсетіңіз.

video_urls
Файлды тастаңыз немесе · 3 дейін

Генерацияға арналған бейне анықтамалары MP4 немесе MOV файлдары ретінде беріледі және нұсқауда @Video1, @Video2 әрі кейінгі нөмірленген белгілермен көрсетіледі. Әрқайсысының ажыратымдылығы шамамен 480p (640x640) мен шамамен 720p (834x1112) аралығында болуы керек. Ең көбі 3 бейне, жалпы өлшемі 50 MB-тан аз, жиынтық ұзақтығы 2–15 секунд болуы керек.

duration 5 s

Бейне ұзақтығын таңдау: `auto` нұсқауға сүйеніп таңдауды модельге береді, ал нақты ұзақтық 4–15 секунд аралығында болуы керек.

resolution

Шығыс ажыратымдылығы: 480p жылдамдыққа, 720p теңгерімге, 1080p жоғары сапаға, 4k ең жоғары сапаға басымдық береді.

aspect_ratio

Шығыс арақатынасы: 16:9 альбомдық, 9:16 портреттік/тік, 1:1 шаршы, 21:9 кинематографиялық ультракең бейне береді. Арақатынасты модель таңдауы үшін `auto` таңдаңыз.

Қосымша audios · bitrate_mode · codec
audio_urls
Файлды тастаңыз немесе · 3 дейін

Бейнені бағыттауға арналған аудио анықтамаларына кемінде бір кескін немесе бейне анықтамасы қоса берілуі керек. Әрқайсысы 15 MB-тан аспайтын MP3 немесе WAV файл болуы керек; ең көбі 3 файл, жиынтық ұзақтығы 15 секунд. Нұсқауда оларды @Audio1, @Audio2 және кейінгі нөмірленген белгілермен көрсетіңіз.

bitrate_mode әдепкі standard

Шығыс кодтау битрейтін таңдаңыз: 'standard' әдепкі мәнді сақтайды, ал 'high' файл өлшемін үлкейту есебінен кодтау сапасын жақсартуды сұрайды.

codec әдепкі auto

Бейне кодегін таңдау: `auto` әдепкі кодек әрекетін өзгертпейді, `H264` H.264 таңдайды, `H265` H.265 таңдайды.

POST /run/bytedance/seedance-2.0/reference-to-video?wait=20 бағасы → 0,705 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedance-2.0/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Duration: 10s | Strict 16:9 Landscape | Native 4K UHD | 24fps. Genre: Cinematic Slice-of-Life Fantasy Comedy / Elemental Magic. Target: Ultra-realistic premium live-action fantasy cinema. Use @ image1 as the sole identity reference; preserve exactly as shown, ignoring only background, pose, framing, and text. Exactly one Character A, with no redesign, duplication, morphing, identity drift, outfit change, or hairstyle change. In an old witch’s kitchen, Character A attempts to make one cup of tea using elemental magic, but the spell becomes unexpectedly powerful. The scene begins with a table-level macro shot of a still ceramic cup of tea while Character A’s tired, unimpressed face remains softly blurred behind it. Character A reaches for the wand and raises it in profile. A thin orange-blue magical filament travels continuously from the wand tip through open space into the center of the tea, visibly making contact with the liquid and creating a subtle glowing ripple and warm reflection inside the cup; only after contact does the tea begin rotating. The stirring starts gently, then accelerates unnaturally fast, creating a small controlled whirlpool and a few droplets rising from the surface without splashing wildly. Character A watches with slightly widened eyes, then makes one quick reverse wand gesture to cancel the spell. The tea immediately becomes still. Character A lowers the wand onto the table, lifts the cup carefully, and takes one small sip. There is absolutely no disgust before tasting. After a brief beat, the excessive heat registers: Character A’s eyes narrow, brows pinch, nose wrinkles slightly, and the lips tighten into a restrained, exhausted grimace. Character A leans forward and spits the same mouthful of tea back into the same ceramic cup, keeping the lower face and cup visible together; show one small restrained spray of liquid leaving the mouth and landing back inside the cup, with no vomiting or excessive saliva. Character A then stares at the cup with quiet offended disbelief while lowering it toward the table, ending during the movement with no smile, camera look, victory pose, freeze frame, or fade. Camera language is cinematic macro depth with rack focus, tight profile, wand insert, readable over-the-shoulder magical contact, overhead tea-whirlpool detail, extreme eye close-up, and tight three-quarter reaction, maintaining consistent screen direction and avoiding chaotic camera shake or teleportation. Audio consists of quiet witch-kitchen ambience, wand ignition, a subtle magical hum, liquid swirling, cancellation sound, a small sip, restrained “ptuh,” soft liquid landing, and a disappointed exhale. Music is cozy, mischievous slice-of-life comedy using acoustic guitar, pizzicato strings, muted piano, playful clarinet, and brushed percussion, with no vocals; build gently during the magical stirring, briefly thin the score as the heat registers, then add one understated plucked accent when the tea lands back in the cup. Keep music below the sound effects and avoid boing sounds, circus music, meme sounds, or laugh tracks. Maintain strict causality: FILAMENT CONTACT → TEA STIRS → SPELL ESCALATES → SPELL CANCELLED → TEA STILL → SIP → HEAT REGISTERS → SAME MOUTHFUL SPAT BACK INTO SAME CUP → DEADPAN REGRET. Priority locks are identity, visible magical contact, continuous tea-state consistency, sip before reaction, the same mouthful visibly returning to the same cup, stable facial anatomy, restrained acting, realistic liquid physics, cinematic close-ups, and readable comedic timing. Negative prompt: duplicate character, duplicate cup, duplicate wand, duplicate tea, missing magical contact, magic hitting table or hand, reaction before sipping, new liquid appearing, whole cup spat out, vomiting, excessive saliva, broken mouth anatomy, premature stirring, instant violent whirlpool, large magical explosion, injury, identity drift, exaggerated acting, cartoon physics, anime, cheap CGI, plastic skin, discontinuity, frozen frames, subtitles, text, logo, watermark.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_c3dk4hgrd2tzlsymbg986itv/0-6Vz76mAQT0PWAMVCZaZAY_KTBfm8A8.png"
    ],
    "resolution": "480p",
    "duration": "5",
    "aspect_ratio": "16:9",
    "generate_audio": true
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Seedance 2.0 Reference to Video туралы

ByteDance компаниясының бірнеше сілтемені пайдаланатын бейне моделі: кейіпкерлерді, өнімдерді, орындарды, қозғалыс немесе камера сілтемесін және дауыс не музыка клипін жүктеп, оларды промптта @Image1, @Video1, @Audio1 және тағы сол сияқты көрсетуге болады. Ол кадрлар арасындағы нысандардың сәйкестігін сақтап, дыбысты бейнемен синхронды түрде жасайды. Кемінде бір сурет немесе бейне сілтемесі қажет, ал барлық сілтемелер бірге 12 файлдан аспауы керек. Нәтиже 480p-ден 4K-ға дейін.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
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 элемент
Бейнені бағыттауға арналған аудио анықтамаларына кемінде бір кескін немесе бейне анықтамасы қоса берілуі керек. Әрқайсысы 15 MB-тан аспайтын MP3 немесе WAV файл болуы керек; ең көбі 3 файл, жиынтық ұзақтығы 15 секунд. Нұсқауда оларды @Audio1, @Audio2 және кейінгі нөмірленген белгілермен көрсетіңіз.
resolutionміндетті емес
Түріenum
Әдепкі720p
480p720p1080p4k
Шығыс ажыратымдылығы: 480p жылдамдыққа, 720p теңгерімге, 1080p жоғары сапаға, 4k ең жоғары сапаға басымдық береді.
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
Бейнеге синхрондалған аудио қосу үшін осыны қосыңыз. Генерацияланған аудио ерін қимылдарына сәйкестендірілген сөйлеуді, қоршаған орта үнін және дыбыс әсерлерін қамтиды.
bitrate_modeміндетті емес
Түріenum
Әдепкіstandard
standardhigh
Шығыс кодтау битрейтін таңдаңыз: 'standard' әдепкі мәнді сақтайды, ал 'high' файл өлшемін үлкейту есебінен кодтау сапасын жақсартуды сұрайды.
codecміндетті емес
Түріenum
Әдепкіauto
autoH264H265
Бейне кодегін таңдау: `auto` әдепкі кодек әрекетін өзгертпейді, `H264` H.264 таңдайды, `H265` H.265 таңдайды.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың file_url мәнін қабылдайды. Файлдар

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/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": 705,
    "usd": "0.705",
    "charged": 705,
    "refunded": 0
  },
  "input": {
    "prompt": "@Image1 The banana manager walks through the office and high-fives the carrot, upbeat comedy tone",
    "images": [
      "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png"
    ],
    "resolution": "720p",
    "duration": 5
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
video
object {url, content_type, file_name, file_size}Генерация нәтижесінде алынған бейне файлы.
seed
integerГенерация кезінде қолданылатын seed мәні.

Қосымша модельдер: Анықтамадан бейнеге

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/bytedance/seedance-2.0/reference-to-video.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt