Skip to main content
Glama

iRAG MCP Server

by kuai0901

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

NameRequiredDescriptionDefault
guidanceNo指导密度值(仅flux.1-schnell模型支持),默认为3.5
modelNo使用的模型,默认为irag-1.0irag-1.0
nNo生成图片数量,默认为1
promptYes图片生成提示词,描述要生成的图片内容
refer_imageNo参考图片URL(可选)
seedNo随机种子(仅flux.1-schnell模型支持)
sizeNo图片尺寸,默认为1024x10241024x1024
stepsNo采样步数(仅flux.1-schnell模型支持)

Input Schema (JSON Schema)

{ "properties": { "guidance": { "default": 3.5, "description": "指导密度值(仅flux.1-schnell模型支持),默认为3.5", "maximum": 30, "minimum": 0, "type": "number" }, "model": { "default": "irag-1.0", "description": "使用的模型,默认为irag-1.0", "enum": [ "irag-1.0", "flux.1-schnell" ], "type": "string" }, "n": { "default": 1, "description": "生成图片数量,默认为1", "maximum": 4, "minimum": 1, "type": "integer" }, "prompt": { "description": "图片生成提示词,描述要生成的图片内容", "type": "string" }, "refer_image": { "description": "参考图片URL(可选)", "format": "uri", "type": "string" }, "seed": { "description": "随机种子(仅flux.1-schnell模型支持)", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "size": { "default": "1024x1024", "description": "图片尺寸,默认为1024x1024", "enum": [ "512x512", "768x768", "1024x768", "1024x1024", "1536x1536", "2048x1152", "2048x1536", "2048x2048", "576x1024", "1152x2048" ], "type": "string" }, "steps": { "description": "采样步数(仅flux.1-schnell模型支持)", "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [ "prompt" ], "type": "object" }
Install Server

Other Tools from iRAG MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kuai0901/irag-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server