generate_image
Create images from text descriptions using Stable Diffusion technology. Configure performance settings, aspect ratios, and select from hundreds of styles to generate custom visuals.
Instructions
Generate an image using Fooocus Stable Diffusion API.
Args:
prompt: Text description of the image to generate
performance: Performance setting (Speed, Quality, Extreme Speed)
custom_styles: Comma-separated list of custom styles (optional, will auto-select if not provided)
aspect_ratio: Image aspect ratio (default: 1024*1024)
Returns:
Dictionary containing generation result with image URLs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| performance | No | Speed | |
| custom_styles | No | ||
| aspect_ratio | No | 1024*1024 |