wanyra_generate_image
Generate an image from a text prompt with any Wanyra image model and optional size settings. Create visuals through the OpenAI-compatible API using your WANYRA_API_KEY.
Instructions
Generate an image using any Wanyra image model via POST /v1/images/generations. Requires WANYRA_API_KEY.
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": "wanyra_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Optional size e.g. 1024x1024. | |
| model | Yes | Image model ID (query with wanyra_list_models endpoint="image"). | |
| prompt | Yes | Image generation prompt. |