MCP server and embeddable library for image and video generation using multiple providers (Google Gemini, OpenAI, BFL FLUX, Reve)
Two tools with complete input schemas and detailed descriptions. Tool names follow verb_noun pattern (generate_image, generate_video). Descriptions are comprehensive (150-250 chars) and explain WHAT, WHEN, and constraints. Parameters are well-typed with enums and descriptions. Output is structured JSON. However, output schemas are not formally documented in the code, only inferred from response construction. Error handling is minimal; no recovery guidance for common failures (e.g., 'model not found', 'API key missing'). Security is good: API keys injected via environment, not parameters. Composition is clean: two focused tools, no overlapping responsibilities.
Generate images using multiple providers (Google Gemini, OpenAI, BFL FLUX, Reve). Images are saved to disk and the file paths are returned. Transparent output (background: "transparent") requires an OpenAI gpt-image model; the other providers reject it with an error instead of returning an opaque image.
Generate a short video clip with audio using Google Gemini Omni. The mp4 is saved to disk and its path is returned along with an interactionId that can be passed back as previousInteractionId to extend the clip. Text written in the prompt is rendered legibly on screen.
Output schemas not formally documented. Response structure is inferred from code (JSON with model, savedFiles, settings, optional description). LLMs cannot reliably parse undocumented outputs.
No error recovery guidance. If an API key is missing, model is unavailable, or file I/O fails, the tool returns a raw error. LLMs cannot self-correct without actionable error messages.
generate_image parameter 'aspectRatio' is typed as enum but the handler casts it as 'aspectRatio as "1:1"', suggesting only one value is actually supported despite the schema listing 8 options. This mismatch will confuse LLMs.
No pagination or result limits documented. If generate_image returns multiple files or generate_video returns large metadata, no guidance on how to handle large responses.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 68 | 2026-07-28+ | v2 |
Tool descriptions mention provider-specific constraints (e.g., 'transparent requires OpenAI gpt-image') but do not explain what happens if the constraint is violated. LLMs need explicit error guidance.