Generate Image
AI-generatedSummary
Generate an image from a required text prompt using the selected Pollinations model. Optionally set dimensions, a seed, watermark removal, prompt enhancement, or safe mode; the generated image is returned as binary data with request and response metadata.
Inputs
- Prompt (required) — Text prompt used to generate the image.
- Model — Image model to use: Flux (default), Turbo, GPT Image, Kontext, Seedream, Nanobanana, or Nanobanana Pro.
- Options — Optional width and height in pixels (default 1024 each; UI range 64–2048), seed (0 means random), and toggles for removing the Pollinations watermark, enhancing the prompt, or enabling safe mode. False toggles are omitted from the request.
Output shape
One output item per input item, each containing binary image data and a JSON metadata object.
Binary data is under
binary.dataand is labeledimage/png. JSON includes the request URL and parameters, response status, content type and length when available, request duration, and timestamp. A seed of 0 is omitted from the request and recorded as null in metadata.