Przejdź do treści

Seedance 2.0 Image to Video

Integracja

Identyfikator modelu bytedance/seedance-2.0/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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
    "resolution": "480p",
    "duration": "5",
    "generate_audio": false
  }'

# 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"

To żądanie: 0,705 $ 705 kredytów API Uruchom na tej stronie

Uzyskaj klucz API
ByteDance Obraz na wideo Natywne audioWynik 4K4–15 sdo 4k #first-last-frame

Ożywia obraz początkowy (i opcjonalny końcowy) jako scenę trwającą 4–15 sekund z dźwiękiem, do 4K.

Przykłady

Dane wejściowe
Wynik · ~215 s

PromptCreate a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video. Environment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences. 0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats. 3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero. 6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement. 10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field. 13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up. Visual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture. Important: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.

5 s480pgenerate_audio: false0,705 $ · 705 kredytów API

Prompt od @soulful__ai na X

Zbuduj żądanie

Elementy sterujące są generowane ze schematu modelu. Kod i cena aktualizują się podczas ich zmiany.

•wymagane

Instrukcje dotyczące ruchu i działania wideo podane jako prompt tekstowy.

•wymagane image_url
Upuść plik lub

URL początkowego obrazu, który zostanie animowany. Akceptowane formaty to JPEG, PNG i WebP; limit rozmiaru wynosi 30 MB.

duration 5 s

Wybór długości wideo: `auto` przekazuje wybór modelowi na podstawie promptu, natomiast jawny czas trwania musi wynosić od 4 do 15 sekund.

resolution

Rozdzielczość wyniku: 480p priorytetowo traktuje szybkość, 720p zapewnia równowagę, 1080p wysoką jakość, a 4k najwyższą jakość.

aspect_ratio domyślnie auto

Proporcje obrazu wyniku: 16:9 oznacza orientację poziomą, 9:16 pionową, 1:1 kwadrat, a 21:9 kinowy format ultrapanoramiczny. Wybierz `auto`, aby wyprowadzić proporcje z obrazu wejściowego.

Zaawansowane end_image · bitrate_mode · codec
end_image_url
Upuść plik lub

URL wskazujący obraz JPEG, PNG lub WebP o rozmiarze nie większym niż 30 MB, definiujący ostatnią klatkę wideo. Podanie tego obrazu sprawia, że staje się on miejscem docelowym przejścia generowanego wideo rozpoczynającego się od obrazu początkowego.

bitrate_mode domyślnie standard

Wybierz szybkość transmisji kodowania wyniku: 'standard' zachowuje domyślną wartość, natomiast 'high' nakazuje modelowi poprawić jakość kodowania kosztem większego pliku.

codec domyślnie auto

Wybór kodeka wideo: `auto` pozostawia domyślne działanie kodeka bez zmian, `H264` wybiera H.264, a `H265` wybiera H.265.

POST /run/bytedance/seedance-2.0/image-to-video?wait=20 wycena → 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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second high-fashion football shoe advertisement using the uploaded reference images for the gold metallic football cleats, white knee-high socks, and vintage feminine football styling. Keep the footwear design, colors, textures, and proportions consistent throughout the entire video.\n\nEnvironment: An enormous open outdoor football field, covered in lush natural green grass, with a completely open horizon and a beautiful dreamy pastel blue-and-pink sky. The field should feel spacious and untouched. No stadium, no spectators, no buildings, no bleachers, no indoor environment, no close fences.\n\n0–3 sec: Wide cinematic shot of a young adult female footballer standing alone in the middle of the vast open field. She wears the same elegant vintage-inspired outfit from the reference images with white knee-high socks and the gold metallic football cleats. She gently places one foot on a football. Camera slowly moves toward her while sunlight reflects beautifully off the cleats.\n\n3–6 sec: Cut to dramatic close-up shots of the gold cleats. Her foot steps firmly onto the grass, the studs press naturally into the turf, and she tightens the laces. Macro camera movement reveals the metallic texture, stitching, sole, and studs. Make the shoes the visual hero.\n\n6–10 sec: She starts playing football across the completely open field, dribbling the ball quickly and confidently. Use a low-angle tracking camera focused on her feet and cleats as she changes direction, accelerates, and controls the ball. Her flowing outfit moves naturally with her movement.\n\n10–13 sec: She takes a powerful run-up and strikes the football with the gold cleat. Capture the kick in cinematic slow motion, showing the shoe making contact with the ball, grass particles flying naturally, and the ball launching across the open field.\n\n13–15 sec: Premium hero shot. The football rolls to a stop beside her gold cleats. She stands confidently in the background on the vast green field as warm sunlight catches the metallic shoes. Camera slowly pushes toward the cleats and ends on a sharp product-focused close-up.\n\nVisual style: luxury sports fashion campaign, dreamy editorial photography, cinematic natural lighting, realistic football movement, realistic grass physics, elegant feminine styling, dynamic camera movement, macro shoe details, shallow depth of field, premium commercial quality, photorealistic, subtle film texture.\n\nImportant: Keep the gold football cleats identical throughout the video. No changing shoe design, no distorted feet, no extra limbs, no warped football, no artificial CGI appearance. The entire video takes place outdoors on one vast open football field.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_sqopxfgqcf2wwi52nmvquvqt/0-rDQn-y4KDEHOmkXtg-CzU_WVfJlbGl.png",
    "resolution": "480p",
    "duration": "5",
    "generate_audio": false
  }'

# 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"

Uruchom to żądanie

Klucz pozostaje w tej przeglądarce: jest wysyłany tylko do Doitong API i zapisywany (localStorage) tylko po zaznaczeniu opcji Zapamiętaj. Uzyskaj klucz API

Informacje o Seedance 2.0 Image to Video

Seedance 2.0 animuje pierwszą klatkę w wieloujęciową scenę ze zsynchronizowanymi dialogami i efektami dźwiękowymi, zachowując wygląd obrazu. Dodaj obraz końcowy, aby określić zakończenie klipu. 4–15 sekund albo długość automatyczna, proporcje adaptacyjne lub stałe, od 480p do 4K.

Parametry

Wyślij nazwę kanoniczną albo natywną, nie obie. Nazwy kanoniczne

NazwaTyp DomyślneDozwolone Opis
promptwymagane
Typstring
Instrukcje dotyczące ruchu i działania wideo podane jako prompt tekstowy.
image_urlwymagane image
Typurl · image
URL początkowego obrazu, który zostanie animowany. Akceptowane formaty to JPEG, PNG i WebP; limit rozmiaru wynosi 30 MB.
end_image_urlopcjonalne end_image
Typurl · image
URL wskazujący obraz JPEG, PNG lub WebP o rozmiarze nie większym niż 30 MB, definiujący ostatnią klatkę wideo. Podanie tego obrazu sprawia, że staje się on miejscem docelowym przejścia generowanego wideo rozpoczynającego się od obrazu początkowego.
resolutionopcjonalne
Typenum
Domyślne720p
480p720p1080p4k
Rozdzielczość wyniku: 480p priorytetowo traktuje szybkość, 720p zapewnia równowagę, 1080p wysoką jakość, a 4k najwyższą jakość.
durationopcjonalne
Typenum
Domyślneauto
auto456789101112131415
Wybór długości wideo: `auto` przekazuje wybór modelowi na podstawie promptu, natomiast jawny czas trwania musi wynosić od 4 do 15 sekund.
aspect_ratioopcjonalne
Typenum
Domyślneauto
auto21:916:94:31:13:49:16
Proporcje obrazu wyniku: 16:9 oznacza orientację poziomą, 9:16 pionową, 1:1 kwadrat, a 21:9 kinowy format ultrapanoramiczny. Wybierz `auto`, aby wyprowadzić proporcje z obrazu wejściowego.
generate_audioopcjonalne
Typboolean
Domyślnetrue
Włącz, aby dołączyć do wideo zsynchronizowane audio. Generowane audio zawiera mowę dopasowaną do ruchu ust, atmosferę otoczenia i efekty dźwiękowe.
bitrate_modeopcjonalne
Typenum
Domyślnestandard
standardhigh
Wybierz szybkość transmisji kodowania wyniku: 'standard' zachowuje domyślną wartość, natomiast 'high' nakazuje modelowi poprawić jakość kodowania kosztem większego pliku.
codecopcjonalne
Typenum
Domyślneauto
autoH264H265
Wybór kodeka wideo: `auto` pozostawia domyślne działanie kodeka bez zmian, `H264` wybiera H.264, a `H265` wybiera H.265.
wymagane Nazwa kanoniczna, również akceptowana

Parametry plików przyjmują publiczny URL https://, identyfikator URI data: do 10 MB albo file_url przesłanego pliku. Pliki

Wynik

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/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": 705,
    "usd": "0.705",
    "charged": 705,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox stops, looks up at the fireflies and leaps to catch one, playful mood, gentle music",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "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"
  }
}
Twoje pliki, Twój wybórKażdy outputs[].url to kopia w naszej przestrzeni dyskowej: przechowywana bezterminowo (opłata za GB-miesiąc) lub 7 dni bezpłatnie, zgodnie z ustawieniem konta lub ?storage=.
Taki sam format w każdym modelutype, url, content_type, width, height i duration — tak samo dla obrazów, filmów i dźwięku. output to własny obiekt wyniku modelu.
Pola wyniku
video
object {url, content_type, file_name, file_size}Plik wideo utworzony podczas generowania.
seed
integerWartość ziarna stosowana podczas generowania.

Więcej modeli: Obraz na wideo

Dla agentów AI: ta strona w formacie Markdown jest dostępna pod adresem https://doitong.com/pl/developers/models/bytedance/seedance-2.0/image-to-video.md. Wszystkie modele i przewodniki: https://doitong.com/developers/llms.txt