generate_image
Turn text prompts into image files on your Mac using Draw Things, with configurable steps, size, and seed for reproducible results. The generated image is saved to disk and its file path is returned.
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
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for reproducibility (-1 for random) | |
| model | No | Model filename to use for generation (use list_models to see available models) | |
| steps | No | Number of inference steps (default: 20) | |
| width | No | Width of the generated image in pixels (default: 512) | |
| height | No | Height of the generated image in pixels (default: 512) | |
| prompt | Yes | Text description of the image to generate | |
| cfg_scale | No | Classifier-free guidance scale (default: 7.5) | |
| output_path | No | Custom file path to save the generated image | |
| negative_prompt | No | Elements to exclude from the generated image |