New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

ai.image.generate

⚡ ACTION: Generate images from text prompts using Stable Diffusion — supports style presets (anime, cinematic, pixel-art, photographic...), aspect ratios, negative prompts. Returns base64 PNG data URI. Powered by Stability AI

SERVERApibase SOURCEapibase-mcp-client
High RISK CLASS
Category Execute
Parameters 41 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-whiteknightonhorse-apibase/ai.image.generate.md

What ai.image.generate does on Apibase

AI agents invoke ai.image.generate to trigger actions in Apibase. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
prompt string Yes Text prompt describing the image to generate (e.g. "a futuristic city at sunset, cyberpunk style, detailed")
aspect_ratio string — Image aspect ratio (default "1:1")
style_preset string — Style preset to guide generation
negative_prompt string — What to exclude from the image (e.g. "blurry, low quality, text, watermark")

Parameters from the server's own tool schema.

Why ai.image.generate is rated High

Triggers external AI image generation service; output depends on user-supplied prompt arguments.

From the tool's definition Generate images from text prompts using Stable Diffusion

Questions about ai.image.generate

What does the ai.image.generate tool do? +

⚡ ACTION: Generate images from text prompts using Stable Diffusion — supports style presets (anime, cinematic, pixel-art, photographic...), aspect ratios, negative prompts. Returns base64 PNG data URI. Powered by Stability AI. It is categorised as a Execute tool in the Apibase MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does ai.image.generate accept? +

ai.image.generate accepts 4 parameters: prompt, aspect_ratio, style_preset, negative_prompt. Required: prompt. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on ai.image.generate? +

Register the Apibase MCP server in PolicyLayer and add a rule for ai.image.generate: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.

What risk level is ai.image.generate? +

ai.image.generate is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit ai.image.generate? +

Yes. Add a rate_limit block to the ai.image.generate rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block ai.image.generate completely? +

Set action: deny in the PolicyLayer policy for ai.image.generate. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides ai.image.generate? +

ai.image.generate is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Apibase, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Apibase's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.