RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

    • Extension Components Overview
    • filter

    • transform

    • external

    • ai

      • LLM
      • generate-image
        • Configuration
        • Execution Result
        • Configuration Example
    • ci

    • IoT

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

目录

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
Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
LLM
gitClone

← LLM gitClone→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式