Peke ki ngā ihirangi

Nemotron Diffusion Vlm

Whakauru

id tauira 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.005 5 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
NVIDIA Matakite #utility#editing

He tauira tirohanga-reo e whakautu ana i ngā akiaki mō tētahi whakaahua mā te wetewaehere kuputuhi e ū ana ki te diffusion

NVIDIA · Kuputuhi

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Te tohutohu e tohu ana he aha hei whakautu mō te atahanga.

•e hiahiatia ana image_url
Whakataka he kōnae,

Te URL e tohu ana ki te atahanga hei tukatuka.

Arā atu max_tokens · num_inference_steps · block_length · threshold · enable_safety_checker
taunoa 512

Te rohe runga mō ngā tohu kua whakaputaina.

taunoa 256

Kōwhiria te tatau kaupae wetemuna diffusion hei whakareatanga o max_tokens / block_length ina tautuhi ā-ringa; me kaua hoki te tatau e iti iho i taua haurua.

taunoa 32

Te roa o ia poraka wetemuna diffusion.

taunoa 0.9

Te paepae māia mō te wetemuna diffusion.

POST /run/nemotron-diffusion-vlm?wait=20 utu → $ 0.005
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Nemotron Diffusion Vlm

Ka tango i tētahi whakaahua i `image_url` me tētahi pātai i `prompt`, ā, ka whakahoki i tētahi whakautu kuputuhi. Ka taea te whakarite te wetewaehere mā `max_tokens` (1 ki te 8192), `num_inference_steps` (1 ki te 1024), `block_length` (8 ki te 128) me tētahi `threshold` māia mai i te 0 ki te 1. Kei roto hoki i te putanga ngā taipitopito wā me te whakamahinga.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
Te URL e tohu ana ki te atahanga hei tukatuka.
prompte hiahiatia ana
Momostring
Te tohutohu e tohu ana he aha hei whakautu mō te atahanga.
max_tokenskōwhiringa
Momointeger
Taunoa512
1 – 8,192
Te rohe runga mō ngā tohu kua whakaputaina.
num_inference_stepskōwhiringa
Momointeger | null
Taunoa256
1 – 1,024
Kōwhiria te tatau kaupae wetemuna diffusion hei whakareatanga o max_tokens / block_length ina tautuhi ā-ringa; me kaua hoki te tatau e iti iho i taua haurua.
block_lengthkōwhiringa
Momointeger
Taunoa32
8 – 128
Te roa o ia poraka wetemuna diffusion.
thresholdkōwhiringa
Momonumber
Taunoa0.9
0 – 1
Te paepae māia mō te wetemuna diffusion.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
output
stringTe whakautu i whakaputaina e te tauira.
usage
object {prompt_tokens, completion_tokens, num_function_evals}Ngā taipitopito whakamahinga mō ngā tohu me te wetemuna diffusion.
timings
object {total_time, image_validation_time, preprocessing_time, gpu_transfer_time, generation_time, decode_time}Te wāwāhi o ngā wā tukatuka tono, ka inehia ki te hēkona.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/nemotron-diffusion-vlm.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt