Neidio i'r cynnwys

Cosmos Predict 2.5 2B · Video to Video

Integreiddio

ID y model cosmos-predict-2.5/video-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/cosmos-predict-2.5/video-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Y cais hwn: $0.20 200 o gredydau API · ≈ ₽21.46 Ei redeg ar y dudalen hon

Cael allwedd API
NVIDIA · Fideo

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Disgrifiad testun o'r fideo dymunol.

•gofynnol video_url
Gollyngwch ffeil, neu

URL sy'n pwyntio at y fideo ffynhonnell a ddefnyddir ar gyfer cyflyru.

Uwch negative_prompt · video_output_type · video_quality · num_frames · num_inference_steps · guidance_scale · seed · enable_safety_checker
rhagosodedig The video captures a ...

Anogiad negyddol sy'n nodi cynnwys diangen er mwyn llywio'r cynhyrchu oddi wrtho.

video_output_type rhagosodedig X264 (.mp4)

Fformat y fideo ganlyniadol.

video_quality rhagosodedig high

Gosodiad ansawdd y fideo ganlyniadol.

rhagosodedig 93

Nifer y fframiau ar gyfer cynhyrchu, yn amrywio o 9 i 93.

rhagosodedig 35

Nifer y camau dad-sŵnio, lle mae cynyddu'r nifer yn cyfnewid prosesu hirach am ansawdd gwell.

rhagosodedig 7

Graddfa ar gyfer arweiniad heb ddosbarthwr; mae ei chynyddu yn gwneud i'r cynhyrchu ddilyn yr anogiad yn agosach.

Hadau ar hap sy'n gwneud cynhyrchu'n atgynhyrchadwy.

POST /run/cosmos-predict-2.5/video-to-video?wait=20 dyfynbris → $0.20
# 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/cosmos-predict-2.5/video-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Cosmos Predict 2.5 2B · Video to Video

Yn defnyddio clip o `video_url` fel cyflyriad ynghyd â `prompt` testun i gynhyrchu fideo newydd. Mae'r rheolyddion yn cynnwys `num_frames` (9 i 93), `num_inference_steps` (hyd at 50), `guidance_scale` (1 i 20) a `negative_prompt`. Yn allforio i mp4, webm, mov neu GIF.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Disgrifiad testun o'r fideo dymunol.
negative_promptdewisol
Mathstring
RhagosodedigThe video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.
Anogiad negyddol sy'n nodi cynnwys diangen er mwyn llywio'r cynhyrchu oddi wrtho.
num_framesdewisol
Mathinteger
Rhagosodedig93
9 – 93
Nifer y fframiau ar gyfer cynhyrchu, yn amrywio o 9 i 93.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig35
1 – 50
Nifer y camau dad-sŵnio, lle mae cynyddu'r nifer yn cyfnewid prosesu hirach am ansawdd gwell.
guidance_scaledewisol
Mathnumber
Rhagosodedig7
1 – 20
Graddfa ar gyfer arweiniad heb ddosbarthwr; mae ei chynyddu yn gwneud i'r cynhyrchu ddilyn yr anogiad yn agosach.
seeddewisol
Mathinteger | null
Hadau ar hap sy'n gwneud cynhyrchu'n atgynhyrchadwy.
video_output_typedewisol
Mathenum
RhagosodedigX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Fformat y fideo ganlyniadol.
video_qualitydewisol
Mathenum
Rhagosodedighigh
lowmediumhighmaximum
Gosodiad ansawdd y fideo ganlyniadol.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
video_urlgofynnol video
Mathurl · video
URL sy'n pwyntio at y fideo ffynhonnell a ddefnyddir ar gyfer cyflyru.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "cosmos-predict-2.5/video-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": 200,
    "usd": "0.20",
    "charged": 200,
    "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"
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Ffeil fideo a gynhyrchir.
seed
integerHadau a reolodd haprwydd yn ystod cynhyrchu.

Mwy o fodelau: Fideo i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/cosmos-predict-2.5/video-to-video.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt