Njuolgga sisdollui

Lynx

Integrere

Modealla-id bytedance/lynx
# 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/lynx?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Fiillat nugo ovdamearka: 3,038 $ 3 038 API-kreditta du fiillat mihtiduvvojit ovdal vuodjámis Vuodje dán siiddu alde

Oza API-čoavdaga
ByteDance Govas video gitta 720p #image-to-video#subject

Gova-dárkkisteapmi-videon mii doallá subjeavtta identitehta seammán, 480p rájes 720p rádjái ja 9 rájes 81 rámmái

ByteDance · Video

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Teaksta-rávvemat mat stivrejit video ráhkadeami.

•gáibiduvvo image_url
Luoitte fiilla, dahje

URL mii čujuha ávdnasa govvii, mii geavahuvvo video ráhkadeapmái.

resolution standárda 720p

Boađusvideo resolušuvdna, válljejuvvon 480p, 580p, dahje 720p gaskkas.

aspect_ratio standárda 16:9

Boađusvideo bealli-proporšuvdna, válljejuvvon 16:9, 9:16, dahje 1:1 gaskkas.

standárda 16

Boađusvideo rámma-dávjodat rámamat sekundas, ráddjejuvvon 5 rájes 30 rádjái.

standárda 81

Boađusvideo rámma-lohku, ráddjejuvvon 9 rájes 100 rádjái.

Viiddiduvvon negative_prompt · num_inference_steps · ip_scale · strength · guidance_scale · guidance_scale_2 · seed · enable_safety_checker
standárda Bright tones, overexp...

Govvit dán negatiivvalaš bivddas video sisdoalu maid ii háliit, vai ráhkadeapmi spiehkkasa das.

standárda 50

Sampling-láhtta lohku, mas guhkit barganáigi addá buoret kvalitehta.

standárda 1

Mearrit man dárkilit video galgá seailluhit referánsa-gova olbmo dahje ávdnasa dovdomearkka.

standárda 1

Heive man olu ráhkaduvvon video váldá vuođu referánsa-govvas skálá bidjamiin.

standárda 5

Classifier-free guidance nanusvuohta, mas kvalitehtamáhca vejolašvuohta lonohallá lagabui bivdda čuovvuma go skála stuorru.

standárda 2

Gova rávvema skála video ráhkadeapmái, dásset referánsa-gova loahpalašvuođa ja kvalitehta: stuorát skála dáhttá lagabui ovttastusa, muhto sáhttá unnit kvalitehta dagahit.

Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.

POST /run/bytedance/lynx?wait=20 haddemearrádus → 3,038 $
# 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/lynx?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Lynx birra

Animere subjeakta-gova (`image_url`) teavsttalaš `prompt` mielde. Identitehta seailluheapmi sáhttá heivehuvvot `ip_scale` ja `strength` bokte (goappašat 0 rájes 2 rádjái). Resoliušuvdna sáhttá leat 480p, 580p dahje 720p, govva-aspekti 16:9, 9:16 dahje 1:1, ja `num_frames` manná 9 rájes 81 rádjái 5 rájes 30 rámma sekunddas. Maiddái leat negatiivalaš bivdda, guokte stivren-skála ja 1 rájes 75 rádjái inferensarámma, ja seed.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
image_urlgáibiduvvo image
Šládjaurl · image
URL mii čujuha ávdnasa govvii, mii geavahuvvo video ráhkadeapmái.
promptgáibiduvvo
Šládjastring
Teaksta-rávvemat mat stivrejit video ráhkadeami.
negative_prompteaktodáhtolaš
Šládjastring
StandárdaBright tones, overexposed, blurred background, static, subtitles, style, works, paintings, images, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards
Govvit dán negatiivvalaš bivddas video sisdoalu maid ii háliit, vai ráhkadeapmi spiehkkasa das.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda50
1 – 75
Sampling-láhtta lohku, mas guhkit barganáigi addá buoret kvalitehta.
seedeaktodáhtolaš
Šládjainteger | null
Sádji, mii dahká ráhkadeami reprodukšuvnnalažžan. None bidjan vállje sádji juhkosiid mielde.
resolutioneaktodáhtolaš
Šládjaenum
Standárda720p
480p580p720p
Boađusvideo resolušuvdna, válljejuvvon 480p, 580p, dahje 720p gaskkas.
aspect_ratioeaktodáhtolaš
Šládjaenum
Standárda16:9
16:99:161:1
Boađusvideo bealli-proporšuvdna, válljejuvvon 16:9, 9:16, dahje 1:1 gaskkas.
ip_scaleeaktodáhtolaš
Šládjanumber
Standárda1
0 – 2
Mearrit man dárkilit video galgá seailluhit referánsa-gova olbmo dahje ávdnasa dovdomearkka.
strengtheaktodáhtolaš
Šládjanumber
Standárda1
0 – 2
Heive man olu ráhkaduvvon video váldá vuođu referánsa-govvas skálá bidjamiin.
frames_per_secondeaktodáhtolaš
Šládjainteger
Standárda16
5 – 30
Boađusvideo rámma-dávjodat rámamat sekundas, ráddjejuvvon 5 rájes 30 rádjái.
guidance_scaleeaktodáhtolaš
Šládjanumber
Standárda5
1 – 20
Classifier-free guidance nanusvuohta, mas kvalitehtamáhca vejolašvuohta lonohallá lagabui bivdda čuovvuma go skála stuorru.
guidance_scale_2eaktodáhtolaš
Šládjanumber
Standárda2
0 – 10
Gova rávvema skála video ráhkadeapmái, dásset referánsa-gova loahpalašvuođa ja kvalitehta: stuorát skála dáhttá lagabui ovttastusa, muhto sáhttá unnit kvalitehta dagahit.
num_frameseaktodáhtolaš
Šládjainteger
Standárda81
9 – 81
Boađusvideo rámma-lohku, ráddjejuvvon 9 rájes 100 rádjái.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Gáhtten sáhttá loahpahuvvot bidjamiin false, jos geavaheaddji lea das ovttastuvvon.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/lynx",
  "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": 3038,
    "usd": "3.038",
    "charged": 3038,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Boađusvideo-fiila.
seed
integerSeed-árvu mii geavahuvvo ráhkadeami áigge.

Eanet modeallat: Govas video

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/bytedance/lynx.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt