Pollinations icon

Pollinations

Generate images, videos, text, audio, and music using Pollinations.ai

Image → Image Generation

AI-generated

Summary

Generate an image from a text prompt via Pollinations AI

Inputs

  • prompt (required) — Text description of the image to generate
  • model — AI model to use for image generation. Choose from the list, or specify an ID using an expression.
  • width — Image width in pixels (16-2048)
  • height — Image height in pixels (16-2048)
  • additionalOptions — Additional generation options

Output shape

Returns binary image data and a JSON object with the generation details.

The JSON object includes prompt, model, width, height, and any additional options spread from the operation parameters. Binary data contains the generated image with inferred MIME type.

Links

Discussion