What problem does it solve?
It removes the risk of calling stale or hard-coded MuAPI model endpoints by querying the live model catalog first, and it prevents accidental billable API calls by requiring explicit confirmation before any paid image generation request.
Core Features & Use Cases
- Live Model Discovery: Query the current MuAPI catalog for text-to-image and image-to-image models with exact versioned endpoints.
- Confirmed Single Generation: Submit exactly one image generation POST with a mandatory --confirm-paid flag, then poll the prediction result endpoint with a bounded budget.
- Safe Output Download: Optionally download the first completed artifact over HTTPS without forwarding the API key to the output host.
- Use Case: An agent needs a product photo via the current flux-dev model; it lists image models, prepares a JSON params file with a prompt, and runs one confirmed generation that polls until completion.
Quick Start
Set the MUAPI_API_KEY environment variable, then ask the agent to list current MuAPI image models and generate one image from a JSON params file with paid confirmation.