Skip to content

Cosmos 3 Super

Integrate

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

Files like the example: $0.04 40 API credits your files are measured before the run Run it on this page

Get API key
NVIDIA Text to Image #stylized#transform#realism

Text-to-image generation with prompt expansion and an optional agentic candidate-comparison mode

NVIDIA · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 4096

Text description of the desired output image.

image_size default square_hd

Set the output image dimensions; clamping keeps each edge between 512 and 1280px, with edge lengths restricted to multiples of 16.

default 2

Refinement round limit for generation with agentic mode enabled.

default 2

Per-iteration image candidate count for the agentic loop, determining how many images compete in evaluation before the best proceeds to prompt rewriting.

num_images default 1

Image count requested for generation.

Advanced negative_prompt · output_format · num_inference_steps · guidance_scale · seed · agentic_early_stop · enable_safety_checker
0 / 1024

Negative guidance identifying unwanted colors, objects, or artifacts for generation to avoid.

output_format default jpeg

File format for the resulting image.

default 28

Denoising step count, trading longer processing for better quality as the count increases.

default 4

Strength of classifier-free guidance.

Seed for repeatable image generation. The output image remains unchanged across runs unless the seed, prompt, or model version changes.

POST /run/nvidia/cosmos-3-super/text-to-image?wait=20 quote → $0.04
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Cosmos 3 Super

Creates 1 to 4 images from a `prompt` of up to 4096 characters. `image_size` edges are clamped to 512-1280 px. `enable_agentic_generation` produces several candidates and refines the prompt between rounds, with up to 3 iterations. Also has `negative_prompt`, `guidance_scale` up to 20, `num_inference_steps` up to 50, and jpeg or png output.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 4,096 characters
Text description of the desired output image.
negative_promptoptional
Typestring
Default
≤ 1,024 characters
Negative guidance identifying unwanted colors, objects, or artifacts for generation to avoid.
enable_prompt_expansionoptional
Typeboolean
Defaultfalse
Pre-generation prompt enhancement through OpenRouter, producing the dense structured-JSON representation used to train Cosmos3 when enabled. If enhancement fails, image generation proceeds with the unmodified prompt.
enable_agentic_generationoptional
Typeboolean
Defaultfalse
Automatic prompt-refinement loop aimed at closer adherence to the original request. Each round generates multiple image candidates and compares them, with prompt revisions between rounds.
agentic_max_iterationsoptional
Typeinteger
Default2
1 – 3
Refinement round limit for generation with agentic mode enabled.
agentic_samples_per_iterationoptional
Typeinteger
Default2
1 – 3
Per-iteration image candidate count for the agentic loop, determining how many images compete in evaluation before the best proceeds to prompt rewriting.
agentic_early_stopoptional
Typeboolean
Defaulttrue
Early-stop control that treats a strong image-to-prompt match as sufficient to finish without further iterations.
image_sizeoptional
Typeobject
Defaultsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Set the output image dimensions; clamping keeps each edge between 512 and 1280px, with edge lengths restricted to multiples of 16.
num_inference_stepsoptional
Typeinteger
Default28
1 – 50
Denoising step count, trading longer processing for better quality as the count increases.
guidance_scaleoptional
Typenumber
Default4
0 – 20
Strength of classifier-free guidance.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 4
Image count requested for generation.
seedoptional
Typeinteger | null
Seed for repeatable image generation. The output image remains unchanged across runs unless the seed, prompt, or model version changes.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Content moderation switch covering both prompt input and image output. Accounts must be authorized to bypass moderation; otherwise checks remain mandatory regardless of this setting. Any image deemed unsafe is replaced with a black image.
output_formatoptional
Typeenum
Defaultjpeg
jpegpng
File format for the resulting image.
required Canonical name, also accepted

Output

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Images produced by the model.
seed
integerSeed value applied during generation.
has_nsfw_concepts
array of booleanSafety-checker flag status for each generated image.

More models: Text to Image

For AI agents: this page as Markdown is at https://doitong.com/developers/models/nvidia/cosmos-3-super/text-to-image.md. All models and guides: https://doitong.com/developers/llms.txt