Peke ki ngā ihirangi

Seedance 2.0 Mini Image to Video

Whakauru

id tauira 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://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 2.321 2,321 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
ByteDance Atahanga ki te Ataata Ororongo taketakeTukutahi Ngutu4–15 stae atu ki 720p #stylized#transform#lipsync

He Seedance 2.0 ata-ki-te-ataata iti ake i te 480p, 720p rānei, me te tāpare mutunga hei kōwhiringa me ngā topenga 4 ki te 15 hēkona

ByteDance · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu nekehanga me ngā mahi ataata kua tukuna hei tohutohu kuputuhi.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL mō te atahanga tīmatanga hei whakakori. Ko ngā hōputu e whakaaetia ana ko JPEG, PNG, WebP; ko te tepe rahi ko te 30 MB.

duration auto

Tīpakonga roa ataata: mā `auto` te tauira e kōwhiri mā te whakamahi i te tohutohu, engari me noho te roanga kua tohua i waenga i te 4 me te 15 hēkona.

resolution taunoa 720p

Taumira putanga: ka aro a 480p ki te tere whakaputa, ā, he kōwhiringa taurite a 720p.

aspect_ratio taunoa auto

Ōwehenga āhuatanga putanga: he whenua a 16:9, he tūnga/poutū a 9:16, he tapawhā rite a 1:1, ā, he whānui kiriata a 21:9. Kōwhiria `auto` hei tiki i te ōwehenga mai i te atahanga tāuru.

Arā atu end_image · codec · end_user_id
end_image_url
Whakataka he kōnae,

URL e tohu ana ki tētahi atahanga JPEG, PNG, WebP rānei kaua e nui ake i te 30 MB, hei tautuhi i te anga whakamutunga o te ataata. Mā te tuku i tēnei atahanga ka noho ko ia te wāhi ū o te whakawhitinga ataata kua whakaputaina, ka tīmata mai i te atahanga tīmatanga.

codec taunoa auto

Tīpakonga waehere ataata: mā `auto` e waiho te whanonga waehere taunoa kia kore e whakarerekē, mā `H264` e tīpako H.264, ā, mā `H265` e tīpako H.265.

Kaitautohu ahurei kua tohua ki te kaiwhakamahi whakamutunga.

POST /run/bytedance/seedance-2.0/mini/image-to-video?wait=20 utu → $ 2.321
# 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/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Seedance 2.0 Mini Image to Video

Ka hākori i tētahi atahanga tīmatanga (`image_url`) e whai ana i tētahi tohutohu nekehanga, ā, ka taea te whakawhiti ki tētahi `end_image_url`. Ko te taumira he 480p, he 720p rānei, ā, ko te roanga he auto, 4 ki te 15 hēkona rānei. Ka taea te kimi i te ōwehenga āhuatanga mai i te atahanga, te whakarite rānei mai i te 21:9 ki te 9:16. Kei te kā taunoa te whakaputa ororongo, tae atu ki te kōrero tukutahi ngutu; ko te waehere he H264, he H265 rānei.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Tohutohu nekehanga me ngā mahi ataata kua tukuna hei tohutohu kuputuhi.
image_urle hiahiatia ana image
Momourl · image
URL mō te atahanga tīmatanga hei whakakori. Ko ngā hōputu e whakaaetia ana ko JPEG, PNG, WebP; ko te tepe rahi ko te 30 MB.
end_image_urlkōwhiringa end_image
Momourl · image
URL e tohu ana ki tētahi atahanga JPEG, PNG, WebP rānei kaua e nui ake i te 30 MB, hei tautuhi i te anga whakamutunga o te ataata. Mā te tuku i tēnei atahanga ka noho ko ia te wāhi ū o te whakawhitinga ataata kua whakaputaina, ka tīmata mai i te atahanga tīmatanga.
resolutionkōwhiringa
Momoenum
Taunoa720p
480p720p
Taumira putanga: ka aro a 480p ki te tere whakaputa, ā, he kōwhiringa taurite a 720p.
durationkōwhiringa
Momoenum
Taunoaauto
auto456789101112131415
Tīpakonga roa ataata: mā `auto` te tauira e kōwhiri mā te whakamahi i te tohutohu, engari me noho te roanga kua tohua i waenga i te 4 me te 15 hēkona.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto21:916:94:31:13:49:16
Ōwehenga āhuatanga putanga: he whenua a 16:9, he tūnga/poutū a 9:16, he tapawhā rite a 1:1, ā, he whānui kiriata a 21:9. Kōwhiria `auto` hei tiki i te ōwehenga mai i te atahanga tāuru.
generate_audiokōwhiringa
Momoboolean
Taunoatrue
Whakakāhia tēnei hei tāpiri ororongo tukutahi ki te ataata. Kei roto i te ororongo kua whakaputaina te kōrero e taurite ana ki ngā nekehanga ngutu, te oro taiao me ngā pānga oro.
codeckōwhiringa
Momoenum
Taunoaauto
autoH264H265
Tīpakonga waehere ataata: mā `auto` e waiho te whanonga waehere taunoa kia kore e whakarerekē, mā `H264` e tīpako H.264, ā, mā `H265` e tīpako H.265.
end_user_idkōwhiringa
Momostring | null
Kaitautohu ahurei kua tohua ki te kaiwhakamahi whakamutunga.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata i whakaputaina.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Ētahi atu tauira: Atahanga ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/bytedance/seedance-2.0/mini/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt