generate_image
Create custom images using AI by specifying prompts, models, and dimensions. Supports optional reference images and multiple formats to meet various design and creative needs.
Instructions
使用百度iRAG API生成图片
Input Schema
Name | Required | Description | Default |
---|---|---|---|
guidance | No | 指导密度值(仅flux.1-schnell模型支持),默认为3.5 | |
model | No | 使用的模型,默认为irag-1.0 | irag-1.0 |
n | No | 生成图片数量,默认为1 | |
prompt | Yes | 图片生成提示词,描述要生成的图片内容 | |
refer_image | No | 参考图片URL(可选) | |
seed | No | 随机种子(仅flux.1-schnell模型支持) | |
size | No | 图片尺寸,默认为1024x1024 | 1024x1024 |
steps | No | 采样步数(仅flux.1-schnell模型支持) |