generate_image_ai
Creates an image from a prompt using a selected BitPull image model, saves the result to a file, and returns its path for use in your workflow.
Instructions
Generate an image with a proprietary image model offered by BitPull (see list_ai_models, modality "image"). Saves it to a file and returns the path. Requests to these models pass through the BitPull server to the AI provider (Anthropic, OpenAI, Google…): they are NOT end-to-end encrypted. Do not send secrets or personal data the user has not agreed to share. Paid in BitPull credits.
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "generate_image_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| model | Yes | ||
| prompt | Yes |