ai.image.generate
Create custom images from text descriptions using Stable Diffusion. Specify style presets, aspect ratios, and negative prompts to generate base64 PNG images for various applications.
Instructions
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 |