NVIDIA NIM 接口
13 个节点
本页内容 13
配置 Bria AI
函数Configures the Bria AI model for text-to-image generation.
配置 Bria AI -> BriaAIConfiguration
宽高比: 文本
CFG 系数: 整数
反向提示词: 文本
输出格式: 文本
种子: 整数
台阶数: 整数BriaAIConfiguration ConfigureBriaAI(
string aspectRatio = "1:1",
int cfgScale = 5,
string negativePrompt = "",
string outputFormat = "jpeg",
int seed = 0,
int steps = 50)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 宽高比 | 文本 | 1:1 | |
| CFG 系数 | 整数 | 5 | |
| 反向提示词 | 文本 | — | |
| 输出格式 | 文本 | jpeg | |
| 种子 | 整数 | 0 | |
| 台阶数 | 整数 | 50 |
返回
| 结果 | BriaAIConfiguration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 DeepSeek
函数Configures the DeepSeek R1 model with default parameters.
配置 DeepSeek -> DeepSeekConfiguration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否
频率惩罚: 低精度数字
存在惩罚: 低精度数字DeepSeekConfiguration ConfigureDeepSeek(
float temperature = 0.6f,
float topP = 0.7f,
int maxTokens = 4096,
bool stream = false,
float frequencyPenalty = 0f,
float presencePenalty = 0f)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.6 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 4096 | |
| 流式输出 | 真否 | False | |
| 频率惩罚 | 低精度数字 | 0 | |
| 存在惩罚 | 低精度数字 | 0 |
返回
| 结果 | DeepSeekConfiguration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Fuyu-8B
函数Configures the Fuyu8B multi-modal model with customizable parameters.
配置 Fuyu-8B -> Fuyu8bConfiguration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否Fuyu8bConfiguration ConfigureFuyu8B(
float temperature = 0.2f,
float topP = 0.7f,
int maxTokens = 1024,
bool stream = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.2 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 1024 | |
| 流式输出 | 真否 | False |
返回
| 结果 | Fuyu8bConfiguration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Gemma-2B
函数Configures the Google Gemma 2B model with default parameters.
配置 Gemma-2B -> Gemma2bConfiguration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否
频率惩罚: 低精度数字
存在惩罚: 低精度数字Gemma2bConfiguration ConfigureGemma2B(
float temperature = 0.6f,
float topP = 0.7f,
int maxTokens = 4096,
bool stream = false,
float frequencyPenalty = 0f,
float presencePenalty = 0f)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.6 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 4096 | |
| 流式输出 | 真否 | False | |
| 频率惩罚 | 低精度数字 | 0 | |
| 存在惩罚 | 低精度数字 | 0 |
返回
| 结果 | Gemma2bConfiguration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Kosmos-2
函数Configures the Kosmos 2 model with default parameters.
配置 Kosmos-2 -> Kosmos2Configuration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否Kosmos2Configuration ConfigureKosmos2(
float temperature = 0.2f,
float topP = 0.7f,
int maxTokens = 1024,
bool stream = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.2 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 1024 | |
| 流式输出 | 真否 | False |
返回
| 结果 | Kosmos2Configuration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Llama 3
函数Configures the LLaMA3 model with customizable parameters.
配置 Llama 3 -> Llama3Configuration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否
频率惩罚: 低精度数字
存在惩罚: 低精度数字Llama3Configuration ConfigureLlama3(
float temperature = 0.6f,
float topP = 0.7f,
int maxTokens = 4096,
bool stream = false,
float frequencyPenalty = 0f,
float presencePenalty = 0f)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.6 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 4096 | |
| 流式输出 | 真否 | False | |
| 频率惩罚 | 低精度数字 | 0 | |
| 存在惩罚 | 低精度数字 | 0 |
返回
| 结果 | Llama3Configuration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Mistral-7B
函数Configures the Mistral7B model with customizable parameters.
配置 Mistral-7B -> Mistral7bConfiguration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否
频率惩罚: 低精度数字
存在惩罚: 低精度数字Mistral7bConfiguration ConfigureMistral7B(
float temperature = 0.3f,
float topP = 1f,
int maxTokens = 1024,
bool stream = false,
float frequencyPenalty = 0f,
float presencePenalty = 0f)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.3 | |
| Top P 采样 | 低精度数字 | 1 | |
| 最大令牌数 | 整数 | 1024 | |
| 流式输出 | 真否 | False | |
| 频率惩罚 | 低精度数字 | 0 | |
| 存在惩罚 | 低精度数字 | 0 |
返回
| 结果 | Mistral7bConfiguration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 NIM
函数Configures the NVIDIA NIM API by providing the necessary API key and model selection.
重载 1/2
配置 NIM -> NIM Configuration
API 密钥: 文本
模型: NIM Allowed ModelsNIMConfiguration ConfigureNIM(
string apiKey,
NIMConfiguration.NIMAllowedModels model = NIMAllowedModels.LLaMA3_70B_Instruct)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| API 密钥 | 文本 | — | The API key used to authenticate with the NIM API. |
| 模型 | NIM Allowed Models | Llama 3 70B Instruct | Model selection with default parameters. |
返回
| 结果 | NIM Configuration |
重载 2/2
配置 NIM -> NIM Configuration
API 密钥: 文本
模型: NIMConfiguration.NIMModelConfigurationNIMConfiguration ConfigureNIM(
string apiKey,
NIMConfiguration.NIMModelConfiguration model)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| API 密钥 | 文本 | — | The API key used to authenticate with the NIM API. |
| 模型 | NIMConfiguration.NIMModelConfiguration | — | The NIM model configuration used for inference. |
返回
| 结果 | NIM Configuration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 Phi-3
函数Configures the Phi3 model with customizable parameters.
配置 Phi-3 -> Phi3Configuration
温度: 低精度数字
Top P 采样: 低精度数字
最大令牌数: 整数
流式输出: 真否
频率惩罚: 低精度数字
存在惩罚: 低精度数字Phi3Configuration ConfigurePhi3(
float temperature = 0.6f,
float topP = 0.7f,
int maxTokens = 4096,
bool stream = false,
float frequencyPenalty = 0f,
float presencePenalty = 0f)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 温度 | 低精度数字 | 0.6 | |
| Top P 采样 | 低精度数字 | 0.7 | |
| 最大令牌数 | 整数 | 4096 | |
| 流式输出 | 真否 | False | |
| 频率惩罚 | 低精度数字 | 0 | |
| 存在惩罚 | 低精度数字 | 0 |
返回
| 结果 | Phi3Configuration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
配置 SD3
函数Configures the SD3 (Stable Diffusion 3) model for text-to-image generation.
配置 SD3 -> SD3Configuration
宽高比: 文本
CFG 系数: 整数
反向提示词: 文本
输出格式: 文本
种子: 整数
台阶数: 整数SD3Configuration ConfigureSD3(
string aspectRatio = "1:1",
int cfgScale = 5,
string negativePrompt = "",
string outputFormat = "jpeg",
int seed = 0,
int steps = 50)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 宽高比 | 文本 | 1:1 | |
| CFG 系数 | 整数 | 5 | |
| 反向提示词 | 文本 | — | |
| 输出格式 | 文本 | jpeg | |
| 种子 | 整数 | 0 | |
| 台阶数 | 整数 | 50 |
返回
| 结果 | SD3Configuration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
NIM 图文生成文本
函数Calls the NVIDIA NIM API to generate a text response from an image/text input.
NIM 图文生成文本 -> 文本
输入文本: 文本
输入图像: Pixel Image
配置: NIM Configurationstring NimImageTextToText(
string inputText,
PixelImage inputImage,
NIMConfiguration configuration)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 输入文本 | 文本 | — | |
| 输入图像 | Pixel Image | — | |
| 配置 | NIM Configuration | — | Configuration with API key. |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
NIM 文本生成
函数Calls the NVIDIA NIM API to generate text.
NIM 文本生成(输入: 文本, 配置: NIM Configuration) -> 文本
string NimTextGeneration(
string input,
NIMConfiguration configuration)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 输入 | 文本 | — | User input prompt. |
| 配置 | NIM Configuration | — | Configuration with API key. |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI
NIM 文本生成图像
函数Calls the NVIDIA NIM API to generate an image from a text description.
NIM 文本生成图像 -> Pixel Image
输入: 文本
配置: NIM ConfigurationPixelImage NimTextToImage(
string input,
NIMConfiguration configuration)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 输入 | 文本 | — | User input prompt. |
| 配置 | NIM Configuration | — | Configuration with API key. |
返回
| 结果 | Pixel Image |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- NVIDIA NIM 接口
- 所属包
- 生成式 AI