generate_image
Generate AI images from text prompts. Returns a PNG URL with automatic $0.25 USDC payment on Base mainnet.
Instructions
Generate a standard AI image from a text prompt. Returns a PNG image URL. Costs $0.25 USDC on Base mainnet — paid automatically.
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 |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| aspect | No | Aspect ratio — 1:1 (default), 16:9, 9:16, 4:3 | |
| affiliate_id | No | Optional Pyrimid affiliate ID. Affiliate earns a commission from within the listed price — no extra cost to you. |