Generate images using free APIs like Pollinations.ai. Use when the user asks to create, draw, generate, or make an image, picture, illustration, icon, logo, or diagram.
Generate images via URL:
GET https://image.pollinations.ai/prompt/{description}
Parameters (query string):
width: image width (default 1024)height: image height (default 1024)seed: random seed for reproducibilitymodel: flux, turbo (default: flux)nologo: true to remove watermarkenhance: true to enhance promptExample with http_request:
{
"method": "GET",
"url": "https://image.pollinations.ai/prompt/a%20cute%20cat%20in%20space?width=1024&height=1024&nologo=true"
}
The response is the image binary. To share in Discord, send the URL directly — Discord will embed it: