Dža ko lil

Bernini-R Reference Edit Video

Integriruj

Modelosko id bernini-r/reference-edit-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/bernini-r/reference-edit-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "images": [
      "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"

Fajlo sar o misalo: $0.405 405 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Open model Video ko Video Referencaki inputura #edit#reference#transform

Editisarel video-source dži panže referencijake imidžurenca vaš te anel objektona, stilura vaj pozadinura

Open model · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Teksto savo vakerel pal o prompto vaj pal o manglo editovanie.

•trubul video_url
Čhiv jekh fajl, vaj

Video dinǎs sar soursko vaš o editovanie.

•trubul reference_image_urls
Čhiv jekh fajl, vaj · dži 5

Kipura používale sar referencie vaš o editovanie, max 5.

standardno 848

Pixelno ustawipen vaš e durutne rigesko: ando editovanie hin les sar limitos vaš o soursko/referencno media, a ande keripe thovel o rezultato-size.

standardno 81

Ginu e kadrenge, upravimen andro 4k+1.

standardno 16

Kadro-ratesko e rezultato-videosko, kadro ande sekunda.

Lučhe negative_prompt · acceleration · num_inference_steps · seed · enable_prompt_expansion · enable_safety_checker

Negativno prompto; kana na hin dino, përdživel standardno negativno prompto le Wan2.2-esko.

acceleration standardno none

Stupeň akceleraciako savo te avel aplikimen.

standardno 30

Ginu e denoising-krokengoro.

Semeno savo del pale-keripnǎ rezultaten; kana na hin dino, alosarel pes randomno.

POST /run/bernini-r/reference-edit-video?wait=20 hesab → $0.405
# 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/bernini-r/reference-edit-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "images": [
      "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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Bernini-R Reference Edit Video

Lel jekh `video_url`, jekh editipnako `prompt` thaj jekh dži panže `reference_image_urls` save sikaven so anel pes ande snimka, sar objekto, materialo, stilo vaj vremja. Nastavipena si `num_inference_steps` dži 50, `num_frames` andar 5 dži 121 thaj `frames_per_second` andar 4 dži 30. `max_image_size` ačhavel o media-size ko 1280.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Teksto savo vakerel pal o prompto vaj pal o manglo editovanie.
negative_promptopcionalno
Tipstring | null
Negativno prompto; kana na hin dino, përdživel standardno negativno prompto le Wan2.2-esko.
num_inference_stepsopcionalno
Tipinteger
standardno30
1 – 50
Ginu e denoising-krokengoro.
max_image_sizeopcionalno
Tipinteger
standardno848
256 – 1,280
Pixelno ustawipen vaš e durutne rigesko: ando editovanie hin les sar limitos vaš o soursko/referencno media, a ande keripe thovel o rezultato-size.
seedopcionalno
Tipinteger | null
Semeno savo del pale-keripnǎ rezultaten; kana na hin dino, alosarel pes randomno.
enable_prompt_expansionopcionalno
Tipboolean
standardnofalse
Voliteľno prompto-rikeringo anglal e keripe katar o LLM; standardnes phandlo, hoj o modelo sikľilo pe barvale promptura.
num_framesopcionalno
Tipinteger
standardno81
5 – 121
Ginu e kadrenge, upravimen andro 4k+1.
frames_per_secondopcionalno
Tipinteger
standardno16
4 – 30
Kadro-ratesko e rezultato-videosko, kadro ande sekunda.
accelerationopcionalno
Tipenum
standardnonone
noneregular
Stupeň akceleraciako savo te avel aplikimen.
video_urltrubul video
Tipurl · video
Video dinǎs sar soursko vaš o editovanie.
reference_image_urlstrubul images
Tipurl[] · image
≤ 5 artiklura
Kipura používale sar referencie vaš o editovanie, max 5.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bernini-r/reference-edit-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": 405,
    "usd": "0.405",
    "charged": 405,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "reference_image_urls": [
      "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,
    "actual_prompt": "string"
  },
  "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video savo avela katar e keripe vaj editovanie.
seed
integerSemeno përdživalo ande keripe.
actual_prompt
string | nullPalutno buťardo prompto, pherdo ča kana sas kerdo prompt-expansion.

Bute modeli: Video ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/bernini-r/reference-edit-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt