Léim chuig an ábhar

Seedance 2.0 Mini Image to Video

Comhtháthú

Aitheantas na samhla bytedance/seedance-2.0/mini/image-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/image-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",
    "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"

An t-iarratas seo: $2.321 2,321 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
ByteDance Íomhá go Físeán Fuaim dhúchasachSioncronú liopaí4–15 ssuas le 720p #stylized#transform#lipsync

Seedance 2.0 íomhá-go-físeán níos lú ag 480p nó 720p, le fráma deiridh roghnach agus gearrthóga 4 go 15 soicind

Déanta ar Doitong

Saothair phoiblí déanta leis an Seedance 2.0 ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 16
Subject: Man in a bunny suit, frozen city crowd Context: Urban street, all people, vehicles, and ... Físeán

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... Físeán

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 ... Físeán

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... Físeán

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...

Аня вздрагивает от трезвона десяти будильников, резко садится в кровати, хлопает по ним руками в ... Físeán

Аня вздрагивает от трезвона десяти будильников, резко садится в кровати, хлопает по ним руками в попытке выключить, но они продолжают пищать, она в панике оглядывается. Камера медленно приближается с низкого угла от ног кровати к лицу, создавая ощущение нарастания хаоса. Лучи утреннего солнца...

Анна мягко гладит спящую собаку и смотрит на заходящее солнце с усталой, но счастливой улыбкой. К... Físeán

Анна мягко гладит спящую собаку и смотрит на заходящее солнце с усталой, но счастливой улыбкой. Камера медленно отъезжает назад, охватывая весь уютный дом и сад. Свет солнца постепенно затухает, переходя в сумерки. Финальный кадр передает чувство семейного тепла и завершенности прекрасного дня....

Аня падает на корточки у двери, лихорадочно надевает разные носки, роняет помаду из сумки, вскаки... Físeán

Аня падает на корточки у двери, лихорадочно надевает разные носки, роняет помаду из сумки, вскакивает, хватает ключи. Камера кружит вокруг нее на 180 градусов на уровне колен, ускоряясь. Ключи звенят, сумка болтается. Эмоциональный бит — пик хаоса с ноткой абсурдного юмора. Dialogue in this...

Буня несется во весь опор, виляя хвостом, сосиска забавно болтается у него в пасти. Камера быстро... Físeán

Буня несется во весь опор, виляя хвостом, сосиска забавно болтается у него в пасти. Камера быстро следует за ним на уровне земли, создавая эффект скорости. Анна и дети вбегают в кадр и выбегают из него, размахивая руками. Пыль слегка поднимается из-под лап. Сцена наполнена комичным драйвом и...

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Treoracha téacs maidir le gluaiseacht agus gníomh an fhíseáin.

•riachtanach image_url
Scaoil comhad, nó

URL don íomhá tosaigh a bheochanfar. Glactar le JPEG, PNG, WebP; is é 30 MB an teorainn méide.

duration auto

Roghnú fad an fhíseáin: fágann `auto` an rogha faoin tsamhail agus an leid á úsáid, agus caithfidh ré shainráite a bheith idir 4 agus 15 soicind.

resolution réamhshocrú 720p

Taifeach aschuir: tugann 480p tús áite do luas giniúna, agus tairgeann 720p rogha chothromaithe.

aspect_ratio réamhshocrú auto

Cóimheas gnéithe an aschuir: tugann 16:9 tírdhreach, tugann 9:16 portráid/ingearach, tugann 1:1 cearnóg agus tugann 21:9 ultraleathan cineamatach. Roghnaigh `auto` chun an cóimheas a fháil ón íomhá ionchuir.

Ardleibhéal end_image · codec · end_user_id
end_image_url
Scaoil comhad, nó

URL a dhíríonn ar íomhá JPEG, PNG nó WebP nach mó ná 30 MB a shainíonn fráma deiridh an fhíseáin. Trí an íomhá seo a sholáthar, is í ceann scríbe trasdula an fhíseáin ghinte í, ag tosú leis an íomhá thosaigh.

codec réamhshocrú auto

Roghnú códaitheora físeáin: fágann `auto` iompar réamhshocraithe an chódaigh gan athrú, roghnaíonn `H264` H.264 agus roghnaíonn `H265` H.265.

Aitheantóir uathúil a shanntar don úsáideoir deiridh.

POST /run/bytedance/seedance-2.0/mini/image-to-video?wait=20 luachan → $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/image-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",
    "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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Seedance 2.0 Mini Image to Video

Beochann sé íomhá thosaigh (`image_url`) de réir leid gluaisne, agus is féidir leis aistriú i dtreo `end_image_url`. Is é an taifeach 480p nó 720p agus is é an fad auto nó 4 go 15 soicind. Is féidir an cóimheas gné a fháil ón íomhá nó a shocrú ó 21:9 go 9:16. Tá giniúint fuaime, lena n-áirítear caint sioncronaithe leis na liopaí, cumasaithe de réir réamhshocraithe; is féidir leis an codec a bheith H264 nó H265.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Treoracha téacs maidir le gluaiseacht agus gníomh an fhíseáin.
image_urlriachtanach image
Cineálurl · image
URL don íomhá tosaigh a bheochanfar. Glactar le JPEG, PNG, WebP; is é 30 MB an teorainn méide.
end_image_urlroghnach end_image
Cineálurl · image
URL a dhíríonn ar íomhá JPEG, PNG nó WebP nach mó ná 30 MB a shainíonn fráma deiridh an fhíseáin. Trí an íomhá seo a sholáthar, is í ceann scríbe trasdula an fhíseáin ghinte í, ag tosú leis an íomhá thosaigh.
resolutionroghnach
Cineálenum
Réamhshocrú720p
480p720p
Taifeach aschuir: tugann 480p tús áite do luas giniúna, agus tairgeann 720p rogha chothromaithe.
durationroghnach
Cineálenum
Réamhshocrúauto
auto456789101112131415
Roghnú fad an fhíseáin: fágann `auto` an rogha faoin tsamhail agus an leid á úsáid, agus caithfidh ré shainráite a bheith idir 4 agus 15 soicind.
aspect_ratioroghnach
Cineálenum
Réamhshocrúauto
auto21:916:94:31:13:49:16
Cóimheas gnéithe an aschuir: tugann 16:9 tírdhreach, tugann 9:16 portráid/ingearach, tugann 1:1 cearnóg agus tugann 21:9 ultraleathan cineamatach. Roghnaigh `auto` chun an cóimheas a fháil ón íomhá ionchuir.
generate_audioroghnach
Cineálboolean
Réamhshocrútrue
Cumasaigh é seo chun fuaim shioncronaithe a chur leis an bhfíseán. Áirítear sa bhfuaim ghinte caint a mheaitseálann gluaiseachtaí na liopaí, atmaisféar comhshaoil agus maisíochtaí fuaime.
codecroghnach
Cineálenum
Réamhshocrúauto
autoH264H265
Roghnú códaitheora físeáin: fágann `auto` iompar réamhshocraithe an chódaigh gan athrú, roghnaíonn `H264` H.264 agus roghnaíonn `H265` H.265.
end_user_idroghnach
Cineálstring | null
Aitheantóir uathúil a shanntar don úsáideoir deiridh.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/mini/image-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",
    "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
    },
    "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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
video
object {url, content_type, file_name, file_size}Comhad físeáin a tháirgtear leis an nginiúint.
seed
integerLuach síl a chuirtear i bhfeidhm le linn giniúna.

Tuilleadh samhlacha: Íomhá go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/bytedance/seedance-2.0/mini/image-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt