Generate images from text descriptions seamlessly integrated with Cursor IDE. Create and save images effortlessly, providing multiple options for your creative needs.
Tools
use_description
列出所有可用的工具及其参数
generate_image
根据文本描述生成图片 Args: prompt: 图片的文本prompt描述,800字符长度限制,一个汉字算一个字符长度 file_name: 生成图片的文件名,含后辍名(不含路径,如果没有后缀则默认使用.jpg) save_folder: 图片保存绝对地址目录(必选) sample_strength: 生成图片的精细度(可选,范围0-1,默认0.5) width: 生成图片的宽度(可选,默认1024,最大1024) height: 生成图片的高度(可选,默认1024,最大1024) Returns: List: 包含生成结果的JSON字符串