generate_image
Turn text descriptions into images with CogView-4. Control size and quality, then save the output to a local path.
Instructions
Generate an image from text prompt using CogView-4 model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image size. Default: 1024x1024 | |
| prompt | Yes | Text description of the image to generate | |
| quality | No | Image quality. hd: higher quality but slower (20s), standard: faster (5-10s). Default: standard | |
| save_path | No | Local path to save the generated image |