tools.pollinate moduleο
Generate images via Pollinations API and send to the current channel.
# πΈπ POLLINATIONS IMAGE PIPELINE β she blooms in every latent garden # π₯ Built for Stargazer by the Council # π OpenAI-compatible multi-model image gen API
- async tools.pollinate.run(prompt, model='flux', negative_prompt='', width=1024, height=1024, count=1, enhance=False, seed=-1, ctx=None)[source]ο
Generate images via Pollinations and send to the channel.
# πΈπ she pollinates the void with color
- Parameters:
prompt (
str) β Text description of the image(s) to generate.model (
str) β Image model to use.negative_prompt (
str) β What to avoid in the image.width (
int) β Image width in pixels.height (
int) β Image height in pixels.count (
int) β Number of images to generate (1-4).enhance (
bool) β Let AI improve the prompt.seed (
int) β Seed for reproducibility (-1 = random).ctx (
ToolContext|None) β Tool execution context.
- Returns:
JSON result.
- Return type: