Peke ki ngā ihirangi

Cosmos 3 Super

Whakauru

id tauira nvidia/cosmos-3-super/text-to-image
# 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/nvidia/cosmos-3-super/text-to-image?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"
  }'

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

Ngā kōnae pēnei i te tauira: $ 0.04 40 whiwhinga API · ≈ ₽ 4.29 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
NVIDIA Kuputuhi ki te Atahanga #stylized#transform#realism

He waihanga kuputuhi-ki-ahua me te whakawhānui akiaki me tētahi aratau kōwhiringa whakataurite kaitono ā-kaitūhura

NVIDIA · Atahanga

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 88 / 4096

Whakaahuatanga kuputuhi o te atahanga putanga e hiahiatia ana.

image_size taunoa square_hd

Tautuhia ngā rahinga atahanga putanga; ka pupuri te whakawhāiti i ia tapa i waenga i te 512 me te 1280px, ā, me whakareatanga o te 16 ngā roa tapa.

taunoa 2

Te tepe huringa whakapai mō te whakaputa ina whakakāngia te aratau agentic.

taunoa 2

Te tatau kaitono atahanga mō ia iterenga o te koropiko agentic; ka whakatau e hia ngā atahanga ka whakataetae i te aromātai i mua i te tuku i te mea pai ki te tuhi anō i te tohutohu.

num_images taunoa 1

Te tatau atahanga e tonoa ana mō te whakaputanga.

Arā atu negative_prompt · output_format · num_inference_steps · guidance_scale · seed · agentic_early_stop · enable_safety_checker
0 / 1024

Te arataki tōraro e tohu ana i ngā tae, taonga, parahanga rānei kāore e hiahiatia ana kia karohia i te whakaputanga.

output_format taunoa jpeg

Te hōputu kōnae mō te atahanga ka puta.

taunoa 28

Te tatau hīkoi tango haruru, ka whakawhiti i te roa o te tukatuka mō te kounga pai ake ina whakapikihia te tatau.

taunoa 4

Te kaha o te arataki kore-whakarōpū.

Te kākano mō te whakaputa atahanga tukurua. Ka noho ōrite te atahanga putanga i ngā whakahaere anō, engari ka rerekē te kākano, te tohutohu, te putanga tauira rānei.

POST /run/nvidia/cosmos-3-super/text-to-image?wait=20 utu → $ 0.04
# 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/nvidia/cosmos-3-super/text-to-image?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"
  }'

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

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ō Cosmos 3 Super

Ka waihanga i ngā whakaahua 1 ki te 4 mai i tētahi `prompt` kia 4096 pūāhua te mōrahi. Ka herea ngā tapa o `image_size` ki te 512-1280 px. Mā `enable_agentic_generation` e whakaputa ētahi kaitono, e whakamahine hoki i te akiaki i waenga i ngā rauna, tae atu ki ngā hurihanga e 3. Kei reira hoki `negative_prompt`, `guidance_scale` tae atu ki te 20, `num_inference_steps` tae atu ki te 50, me te putanga jpeg, png rānei.

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
prompte hiahiatia ana
Momostring
≤ 4,096 pūāhua
Whakaahuatanga kuputuhi o te atahanga putanga e hiahiatia ana.
negative_promptkōwhiringa
Momostring
Taunoa
≤ 1,024 pūāhua
Te arataki tōraro e tohu ana i ngā tae, taonga, parahanga rānei kāore e hiahiatia ana kia karohia i te whakaputanga.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Te whakapai tohutohu i mua i te whakaputanga mā OpenRouter, e whakaputa ana i te whakaaturanga dense structured-JSON i whakamahia hei whakangungu i Cosmos3 ina whakakāngia. Ki te rahua, ka haere tonu te whakaputa atahanga me te tohutohu kāore i whakarerekētia.
enable_agentic_generationkōwhiringa
Momoboolean
Taunoafalse
Te koropiko whakapai tohutohu aunoa e whai ana kia piri ake ki te tono taketake. I ia huringa ka whakaputa i ngā kaitono atahanga maha, ka whakataurite, ā, ka whakahou i te tohutohu.
agentic_max_iterationskōwhiringa
Momointeger
Taunoa2
1 – 3
Te tepe huringa whakapai mō te whakaputa ina whakakāngia te aratau agentic.
agentic_samples_per_iterationkōwhiringa
Momointeger
Taunoa2
1 – 3
Te tatau kaitono atahanga mō ia iterenga o te koropiko agentic; ka whakatau e hia ngā atahanga ka whakataetae i te aromātai i mua i te tuku i te mea pai ki te tuhi anō i te tohutohu.
agentic_early_stopkōwhiringa
Momoboolean
Taunoatrue
Te whakahaere whakamutu wawe e kī ana he rawaka te taurite kaha i waenga i te atahanga me te tohutohu hei mutu me te kore iterenga anō.
image_sizekōwhiringa
Momoobject
Taunoasquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Tautuhia ngā rahinga atahanga putanga; ka pupuri te whakawhāiti i ia tapa i waenga i te 512 me te 1280px, ā, me whakareatanga o te 16 ngā roa tapa.
num_inference_stepskōwhiringa
Momointeger
Taunoa28
1 – 50
Te tatau hīkoi tango haruru, ka whakawhiti i te roa o te tukatuka mō te kounga pai ake ina whakapikihia te tatau.
guidance_scalekōwhiringa
Momonumber
Taunoa4
0 – 20
Te kaha o te arataki kore-whakarōpū.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 4
Te tatau atahanga e tonoa ana mō te whakaputanga.
seedkōwhiringa
Momointeger | null
Te kākano mō te whakaputa atahanga tukurua. Ka noho ōrite te atahanga putanga i ngā whakahaere anō, engari ka rerekē te kākano, te tohutohu, te putanga tauira rānei.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Te whakakā/whakaweto whakaōrite ihirangi mō te tāuru tohutohu me te putanga atahanga. Me whai mana ngā pūkete hei karo i te whakaōrite; ki te kore, he whakahauanga tonu ngā tirohanga. Ka whakakapia te atahanga kāore e haumaru ki te atahanga pango.
output_formatkōwhiringa
Momoenum
Taunoajpeg
jpegpng
Te hōputu kōnae mō te atahanga ka puta.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nvidia/cosmos-3-super/text-to-image",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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"
  }
}
Ō 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
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga i whakaputaina e te tauira.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
has_nsfw_concepts
array of booleanTūnga o te haki kaitaki haumaru mō ia atahanga kua whakaputaina.

Ētahi atu tauira: Kuputuhi ki te Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/nvidia/cosmos-3-super/text-to-image.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt