Ruka hadi kwenye maudhui

Seedance 2.0 Mini Image to Video

Unganisha

Kitambulisho cha modeli 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ombi hili: $ 2.321 salio za API 2,321 · ≈ ₽ 249.07 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
ByteDance Picha hadi Video Sauti asiliUsawazishaji wa midomo4–15 shadi 720p #stylized#transform#lipsync

Seedance 2.0 ndogo ya picha-hadi-video kwa 480p au 720p, ikiwa na fremu ya mwisho ya hiari na klipu za sekunde 4 hadi 15

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Seedance 2.0 na jumuiya ya Doitong. Tumia tena kidokezo kwa kubofya mara moja.

Kazi za umma zilizoonyeshwa: 16
A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling ... Video

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

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

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

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

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

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

Subject: Young woman with closed eyes Context: Surrounded by goldfish swimming in the air Action:... Video

Subject: Young woman with closed eyes Context: Surrounded by goldfish swimming in the air Action: Portraiture in a dreamy aesthetic Style: Ethereal, artistic, reminiscent of fine art photography Camera motion (optional): Composition (optional): Shallow depth of field Ambiance (optional): Soft...

photorealistic, live-action film, real actress, ARRI Alexa look, desaturated cold tones, soft nat... Video

photorealistic, live-action film, real actress, ARRI Alexa look, desaturated cold tones, soft natural lighting, subtle dust in air, volumetric haze, consistent city destruction young fragile woman, pale skin, long dark ash-blonde hair, slightly messy, dirty torn gray nightgown, barefoot, natural...

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika

Maelekezo ya miondoko na vitendo vya video yanayotolewa kama kidokezo cha maandishi.

•inahitajika image_url
Dondosha faili, au

URL ya picha ya mwanzo itakayopewa uhuishaji. Miundo inayokubalika ni JPEG, PNG, WebP; kikomo cha ukubwa ni 30 MB.

duration auto

Uteuzi wa urefu wa video: `auto` hukabidhi chaguo kwa modeli kwa kutumia kidokezo, huku muda ulioainishwa lazima uwe kati ya sekunde 4 hadi 15.

resolution chaguomsingi 720p

Mwonekano wa tokeo: 480p hupendelea kasi ya uzalishaji, huku 720p ikitoa chaguo lililosawazika.

aspect_ratio chaguomsingi auto

Uwiano wa picha wa tokeo: 16:9 hutoa mlalo, 9:16 hutoa picha wima, 1:1 hutoa mraba, na 21:9 hutoa mwonekano mpana wa sinema. Chagua `auto` ili kupata uwiano kutoka kwa picha ya ingizo.

Ya kina end_image · codec · end_user_id
end_image_url
Dondosha faili, au

URL inayoelekeza kwenye picha ya JPEG, PNG, au WebP isiyozidi 30 MB inayofafanua fremu ya mwisho ya video. Kutoa picha hii huifanya kuwa mwisho wa mpito wa video iliyozalishwa, ukianza na picha ya mwanzo.

codec chaguomsingi auto

Uteuzi wa kodeki ya video: `auto` huacha tabia ya kodeki chaguomsingi bila kubadilika, `H264` huchagua H.264, na `H265` huchagua H.265.

Kitambulisho cha kipekee alichopewa mtumiaji wa mwisho.

POST /run/bytedance/seedance-2.0/mini/image-to-video?wait=20 makadirio → $ 2.321
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu Seedance 2.0 Mini Image to Video

Huamisha picha ya mwanzo (`image_url`) kwa kufuata kidokezo cha mwendo, na inaweza kuelekea kwenye `end_image_url`. Mwonekano ni 480p au 720p na muda ni auto au sekunde 4 hadi 15. Uwiano wa picha unaweza kukisiwa kutoka kwenye picha au kuwekwa kutoka 21:9 hadi 9:16. Uzalishaji wa sauti, ikiwemo usemi unaolingana na midomo, umewashwa kwa chaguomsingi; kodeki inaweza kuwa H264 au H265.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
Maelekezo ya miondoko na vitendo vya video yanayotolewa kama kidokezo cha maandishi.
image_urlinahitajika image
Ainaurl · image
URL ya picha ya mwanzo itakayopewa uhuishaji. Miundo inayokubalika ni JPEG, PNG, WebP; kikomo cha ukubwa ni 30 MB.
end_image_urlsi lazima end_image
Ainaurl · image
URL inayoelekeza kwenye picha ya JPEG, PNG, au WebP isiyozidi 30 MB inayofafanua fremu ya mwisho ya video. Kutoa picha hii huifanya kuwa mwisho wa mpito wa video iliyozalishwa, ukianza na picha ya mwanzo.
resolutionsi lazima
Ainaenum
Chaguomsingi720p
480p720p
Mwonekano wa tokeo: 480p hupendelea kasi ya uzalishaji, huku 720p ikitoa chaguo lililosawazika.
durationsi lazima
Ainaenum
Chaguomsingiauto
auto456789101112131415
Uteuzi wa urefu wa video: `auto` hukabidhi chaguo kwa modeli kwa kutumia kidokezo, huku muda ulioainishwa lazima uwe kati ya sekunde 4 hadi 15.
aspect_ratiosi lazima
Ainaenum
Chaguomsingiauto
auto21:916:94:31:13:49:16
Uwiano wa picha wa tokeo: 16:9 hutoa mlalo, 9:16 hutoa picha wima, 1:1 hutoa mraba, na 21:9 hutoa mwonekano mpana wa sinema. Chagua `auto` ili kupata uwiano kutoka kwa picha ya ingizo.
generate_audiosi lazima
Ainaboolean
Chaguomsingitrue
Washa hii ili video iambatane na sauti iliyosawazishwa. Sauti iliyozalishwa inajumuisha usemi unaolingana na miondoko ya midomo, mandhari ya mazingira na athari za sauti.
codecsi lazima
Ainaenum
Chaguomsingiauto
autoH264H265
Uteuzi wa kodeki ya video: `auto` huacha tabia ya kodeki chaguomsingi bila kubadilika, `H264` huchagua H.264, na `H265` huchagua H.265.
end_user_idsi lazima
Ainastring | null
Kitambulisho cha kipekee alichopewa mtumiaji wa mwisho.
inahitajika Jina rasmi, pia linakubalika

Vigezo vya faili vinakubali URL ya umma ya https://, data: URI ya hadi 10 MB, au file_url ya upakiaji. Faili

Tokeo

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
video
object {url, content_type, file_name, file_size}Faili ya video iliyozalishwa.
seed
integerThamani ya seed inayotumika wakati wa uzalishaji.

Miundo zaidi: Picha hadi Video

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/bytedance/seedance-2.0/mini/image-to-video.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt