Dža ko lil

Cosmos Predict 2.5 2B · Image to Video

Integriruj

Modelosko id cosmos-predict-2.5/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/cosmos-predict-2.5/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"

Kava mangipen: $0.20 200 API krediti · ≈ ₽21.52 Phir les kate

Lel API klidin
NVIDIA · 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

Tekstuno deskripcia e kamle videoski.

•trubul image_url
Čhiv jekh fajl, vaj

URL savo sikavel o kipo upotreblomo sar inicialno kadro.

Lučhe negative_prompt · video_output_type · video_quality · num_frames · num_inference_steps · guidance_scale · seed · enable_safety_checker
standardno The video captures a ...

Negative prompto savo phenel na-kamle kontentura vaš te duralarel len katar o keripe.

video_output_type standardno X264 (.mp4)

Formato e rezultato videosko.

video_quality standardno high

Kvalitetoski postavka e rezultato videoske.

standardno 93

Gendo e kadronengo vaš keripe, maškar 9 thaj 93.

standardno 35

Gendo e denoising stepengo, kaj maj lengo procesipen del maj lačhi kvaliteta kana o gendo barol.

standardno 7

Skala vaš classifier-free guidance; te la barhares, o keripe maj but džal palal o prompto.

Random semeno savo kerel e keripe te šaj pale kerel pes.

POST /run/cosmos-predict-2.5/image-to-video?wait=20 hesab → $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/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"

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 Cosmos Predict 2.5 2B · Image to Video

Animirinel `image_url`, savo si o angluno frejm, palal tekstosko `prompt`. `num_frames` si 9 dži 93, `num_inference_steps` dži 50 (default 35) thaj `guidance_scale` 1 dži 20. O output-formatura si mp4, webm, mov vaj GIF, le štare kvalitetoske levelenca.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstuno deskripcia e kamle videoski.
negative_promptopcionalno
Tipstring
standardnoThe 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.
Negative prompto savo phenel na-kamle kontentura vaš te duralarel len katar o keripe.
num_framesopcionalno
Tipinteger
standardno93
9 – 93
Gendo e kadronengo vaš keripe, maškar 9 thaj 93.
num_inference_stepsopcionalno
Tipinteger
standardno35
1 – 50
Gendo e denoising stepengo, kaj maj lengo procesipen del maj lačhi kvaliteta kana o gendo barol.
guidance_scaleopcionalno
Tipnumber
standardno7
1 – 20
Skala vaš classifier-free guidance; te la barhares, o keripe maj but džal palal o prompto.
seedopcionalno
Tipinteger | null
Random semeno savo kerel e keripe te šaj pale kerel pes.
video_output_typeopcionalno
Tipenum
standardnoX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Formato e rezultato videosko.
video_qualityopcionalno
Tipenum
standardnohigh
lowmediumhighmaximum
Kvalitetoski postavka e rezultato videoske.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
image_urltrubul image
Tipurl · image
URL savo sikavel o kipo upotreblomo sar inicialno kadro.
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": "cosmos-predict-2.5/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": 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",
    "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,
      "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"
  }
}
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, width, height, fps, duration, num_frames}Video-fajlo kerdino generiripeça.
seed
integerSeed savo kontrolisardas randomizacia ande keripe.

Bute modeli: Kip ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/cosmos-predict-2.5/image-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt