Request response from the model

Invokes inference using the model chat parameters. If uploading large images or audios, this POST should be used in conjunction with the NVCF API which allows for the upload of large assets.
You can find details on how to use NVCF Asset APIs here: https://docs.api.nvidia.com/cloud-functions/reference/createasset

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
messages
array of objects
required
length ≥ 1

A list of messages comprising the conversation so far.

Messages*
string
enum
required

The role of the message's author.

Allowed:
required

The contents of the message.

To pass images or audios (only with role=user):

- When content is a string, image or audio can be passed together with the text with HTML-style tags that wrap an image URL (<img src="{url}" />) or audio URL (<audio src="{url}" />), base64 encoded image or audio data, or an NVCF asset ID when the payload exceeds 200KB.

- When content is a list of objects, images can be passed as image_url, videos as video_url, and audios as audio_url or input_audio.

- Images can be PNG, JPG, JPEG, or WEBP. Videos can be MP4, MOV, or WEBM. Audios can be WAV or MP3.

For system and assistant roles, the object list format is not supported.

The system role can be used to inject prompts like /think or /no_think. Video and audio requests should use /no_think.

string
required
Defaults to nvidia/nemotron-3-nano-omni-30b-a3b-reasoning

The model to use.

1 to 65536

The maximum number of tokens that can be generated.

integer
-1 to 32768
Defaults to 16384

Maximum number of tokens the model is allowed to use for internal reasoning before the reasoning trace is forced to end. Use -1 to disable budget enforcement. This can also be provided via chat_template_kwargs.reasoning_budget for backwards compatibility.

-9223372036854776000 to 9223372036854776000

Changing the seed will produce a different response with similar characteristics. Fixing the seed will reproduce the same results if all other parameters are also kept constant.

If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE]

0 to 2

What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.

≤ 1

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both.

Headers
uuid
length ≤ 370

String of asset IDs separated by commas. Data is uploaded to AWS S3 using NVCF Asset APIs and associated with these asset IDs. If the size of an image or audio is more than 180KB, it needs to be uploaded to a presigned S3 URL bucket. The presigned URL allows for secure and temporary access to the S3 bucket for uploading the image or audio. Once the asset is requested, an asset ID is generated for it. Please include this asset ID in this header. Use uploaded images with <img src="data:image/png;asset_id,{asset_id}" /> and uploaded audios with <audio src="data:audio/wav;asset_id,{asset_id}" />.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/event-stream
country_code