Generate an image
generate_imageGenerate one image with an uncensored image model on OpenUncensored (ids and prices per image in list_models, e.g. z-image-turbo) and return it, with the model and provider that made it and the cost in USD charged to the account. Adult content is allowed; minors, real people without their consent and non consensual imagery are refused.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Default 1024x1024. | |
| model | Yes | Image model id from list_models, e.g. z-image-turbo | |
| prompt | Yes | What the image should show. | |
| api_key | No | Defaults to the key in the MCP config. | |
| negative_prompt | No | Optional: what to keep out of the image. |