Documentation
¶
Overview ¶
Package imagemcp is `magpie mcp image`: a stdio MCP server an agent is given, when it is picked for it in the Library, to make images with the model the Settings' Image generation names, and videos with the first video model the gateway has (gateway.AutoVideomaker), or with the model a call names, among those the gateway lists for it. It asks the gateway, which knows the providers, and saves what comes back in the project.
Index ¶
Constants ¶
const ( Folder = "generated-images" VideoFolder = "generated-videos" )
Folder is where images go in the project when no path is given, and VideoFolder where videos do.
Variables ¶
This section is empty.
Functions ¶
func Target ¶ added in v0.1.1596
Target is where the i-th of n files made from prompt, of extension ext, goes under dir: path as a file (numbered when n > 1) or a folder, else a name from the prompt in dir's generated-images/ (generated-videos/); never a file that is there. `magpie tool` saves what it is given by it.
func ToolTimeout ¶ added in v0.1.544
ToolTimeout is how long a job of this server may run: generate_video waits up to videoWait for its video, and a minute more. A call answers within answerWithin all the same; the agents whose config takes it (Codex, Goose) are still given it, as a call's ceiling.
Types ¶
This section is empty.