generateImage
Generate AI images from text descriptions using the Jimeng service. Create custom visuals by providing detailed prompts and optional negative prompts to exclude unwanted elements.
Instructions
调用即梦AI生成图像
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 生成图像的文本描述 | |
| req_key | No | 模型版本,默认值: jimeng_high_aes_general_v21_L | jimeng_high_aes_general_v21_L |
| seed | No | 随机种子,默认值:-1 | |
| negative_prompt | No | 负面提示词,描述不希望在图像中出现的内容 |
Input Schema (JSON Schema)
{
"properties": {
"negative_prompt": {
"description": "负面提示词,描述不希望在图像中出现的内容",
"type": "string"
},
"prompt": {
"description": "生成图像的文本描述",
"type": "string"
},
"req_key": {
"default": "jimeng_high_aes_general_v21_L",
"description": "模型版本,默认值: jimeng_high_aes_general_v21_L",
"type": "string"
},
"seed": {
"default": -1,
"description": "随机种子,默认值:-1",
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
}