Generate Image (Stability AI)
ai.image.generateGenerate images from text prompts with style presets, aspect ratios, and negative prompts. Returns base64 PNG data URI via Stability AI.
Instructions
⚡ 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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt describing the image to generate (e.g. "a futuristic city at sunset, cyberpunk style, detailed") | |
| negative_prompt | No | What to exclude from the image (e.g. "blurry, low quality, text, watermark") | |
| aspect_ratio | No | Image aspect ratio (default "1:1") | |
| style_preset | No | Style preset to guide generation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |