generate-image
ai/createImage Component: v0.29.0+ AI image generation.
# Configuration
| Field | Type | Description | Default Value |
|---|---|---|---|
| url | string | Base URL for OpenAI API | https://ai.gitee.com/v1 |
| key | string | OpenAI API key | |
| model | string | Model name | |
| prompt | string | Image generation prompt | |
| n | int | Number of images to generate | 1 |
| responseFormat | string | Response format (url/b64_json) | url |
| quality | string | Image quality (hd/standard) | standard |
| size | string | Image size (256x256/512x512/1024x1024/1792x1024/1024x1792) | 1024x1024 |
| style | string | Image style (vivid/natural) | vivid |
# Execution Result
Result replaces msg.Data and flows to next node.
# Configuration Example
{
"id": "s5",
"type": "ai/createImage",
"name": "Image Generation",
"debugMode": false,
"configuration": {
"key": "sk-xxx",
"model": "dall-e-3",
"url": "https://ai.gitee.com/v1"
}
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
Edit this page on GitHub (opens new window)
Last Updated: 2025/09/03, 10:09:04