generate_image
Create images from text descriptions using Stable Diffusion on Mac. Save generated images to disk with customizable parameters like dimensions and model selection.
Instructions
Generate an image from a text prompt using the Draw Things app. The image will be saved to disk and the file path returned.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| negative_prompt | No | Elements to exclude from the generated image | |
| width | No | Width of the generated image in pixels (default: 512) | |
| height | No | Height of the generated image in pixels (default: 512) | |
| steps | No | Number of inference steps (default: 20) | |
| cfg_scale | No | Classifier-free guidance scale (default: 7.5) | |
| seed | No | Random seed for reproducibility (-1 for random) | |
| model | No | Model filename to use for generation (use list_models to see available models) | |
| output_path | No | Custom file path to save the generated image |