NVIDIA Image Generation
generate_imageGenerate images using NVIDIA's image generation API with a safe dry-run mode to prevent accidental credit usage.
Instructions
Generate an image through NVIDIA's OpenAI-compatible image generation API. Defaults to dry_run=true to avoid accidental credit usage.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No | 1024x1024 | |
| force | No | ||
| model | No | black-forest-labs/flux.2-klein-4b | |
| prompt | Yes | Image prompt. | |
| dry_run | No | ||
| output_path | No | Output path. Relative paths are resolved from this repository. |