Dža ko lil

Nemotron Diffusion Vlm

Integriruj

Modelosko id nemotron-diffusion-vlm
# 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/nemotron-diffusion-vlm?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.005 5 API krediti · ≈ ₽0.53 Phir les kate

Lel API klidin
NVIDIA Dikhipen #utility#editing

Vision-language modelo savo del odpowiedi promptonge palal kipo, diffusion-bazirime tekstoske decodingosa

NVIDIA · Teksto

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

Prompto savo phenel so te del pal o kipo.

•trubul image_url
Čhiv jekh fajl, vaj

URL savo sikavel o kipo savo kerel pes.

Lučhe max_tokens · num_inference_steps · block_length · threshold · enable_safety_checker
standardno 512

Upruni granica e kerde tokenongi.

standardno 256

Izber o diffusion dekodiripaskoro kadroskoro gin bute max_tokens / block_length kana specifikime; o gin musaj te avel vaj bareder sar oda quotient.

standardno 32

Saijekone diffusion dekodiripaskere blokoskoro lungipen.

standardno 0.9

Confidence limito diffusion dekodiripastar.

POST /run/nemotron-diffusion-vlm?wait=20 hesab → $0.005
# 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/nemotron-diffusion-vlm?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.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 Nemotron Diffusion Vlm

Lel kipo andro `image_url` thaj pučhipen andro `prompt`, anel tekstosko lav. Decoding šaj te regulirines `max_tokens` (1 dži 8192), `num_inference_steps` (1 dži 1024), `block_length` (8 dži 128) thaj confidence `threshold` 0 dži 1. O rezultato si vi timing thaj labaripen detajla.

Parametra

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

NavTip standardnoMuklo Vakeripe
image_urltrubul image
Tipurl · image
URL savo sikavel o kipo savo kerel pes.
prompttrubul
Tipstring
Prompto savo phenel so te del pal o kipo.
max_tokensopcionalno
Tipinteger
standardno512
1 – 8,192
Upruni granica e kerde tokenongi.
num_inference_stepsopcionalno
Tipinteger | null
standardno256
1 – 1,024
Izber o diffusion dekodiripaskoro kadroskoro gin bute max_tokens / block_length kana specifikime; o gin musaj te avel vaj bareder sar oda quotient.
block_lengthopcionalno
Tipinteger
standardno32
8 – 128
Saijekone diffusion dekodiripaskere blokoskoro lungipen.
thresholdopcionalno
Tipnumber
standardno0.9
0 – 1
Confidence limito diffusion dekodiripastar.
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": "nemotron-diffusion-vlm",
  "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": 5,
    "usd": "0.005",
    "charged": 5,
    "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": {
    "output": "The image shows a dog sitting outdoors.",
    "usage": {
      "prompt_tokens": 1,
      "completion_tokens": 1,
      "num_function_evals": 1
    },
    "timings": {
      "total_time": 1.0,
      "image_validation_time": 1.0,
      "preprocessing_time": 1.0,
      "gpu_transfer_time": 1.0,
      "generation_time": 1.0,
      "decode_time": 1.0
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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
output
stringOdpoveda kerdi katar o modelo.
usage
object {prompt_tokens, completion_tokens, num_function_evals}Tokenonge thaj diffusion dekodiripaskere labaripaskere detajlura.
timings
object {total_time, image_validation_time, preprocessing_time, gpu_transfer_time, generation_time, decode_time}Mangipaskoro procesiripaskoro vaxtoskoro razdelipen, sekundenca mérime.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/nemotron-diffusion-vlm.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt