Skip to main content
Glama

iRAG MCP Server

by kuai0901

generate_image

Generate custom images using Baidu's iRAG API by inputting descriptive prompts and optional parameters like size, quantity, and reference images. Ideal for creating visuals tailored to specific needs or ideas.

Instructions

使用百度iRAG API生成图片

Input Schema

NameRequiredDescriptionDefault
guidanceNo指导密度值(仅flux.1-schnell模型支持),默认为3.5
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" }, "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" ], "type": "string" }, "steps": { "description": "采样步数(仅flux.1-schnell模型支持)", "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [ "prompt" ], "type": "object" }

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