Skip to content
cccskills
FreePublished on GitHub

muapi-media

Discover current MuAPI image models and run one explicitly confirmed asynchronous image generation request with bounded polling. Use when an agent needs hosted image generation without hard-coding stale model endpoints or request IDs.

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

  • SKILL.md3.8 KB
  • scripts/muapi_media.py11.2 KB
  • tests/test_muapi_media.py3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

MuAPI Media

Use the bundled scripts/muapi_media.py CLI to discover current MuAPI image models and submit one explicitly confirmed image-generation request. The CLI uses the live catalog's name, category, and already-versioned endpoint fields, then polls the standard prediction result endpoint. It does not assume that the catalog contains an inline request schema; add model-specific fields only from the current model contract.

When to use this skill

  • The user wants to find a current MuAPI image model.
  • An image workflow needs MuAPI's exact model endpoint rather than a remembered alias.
  • The user has explicitly approved a potentially billable image-generation request.
  • An asynchronous MuAPI prediction needs bounded status polling.

This skill covers text-to-image and image-to-image workflows. Do not use it for MuAPI video, audio, 3D, chat, or model-training requests.

Setup

Set the API key in the environment. Never pass it as a CLI argument or commit it:

export MUAPI_API_KEY="your-api-key"

MUAPI_BASE_URL is optional and defaults to https://api.muapi.ai. Use it only for an approved compatible deployment.

Workflow

1. Discover current image models

python3 scripts/muapi_media.py models --category image --query flux

The public catalog currently returns a top-level models array. Image-generation entries use categories such as Text to Image and Image to Image; their endpoint values already include the /api/v1/ prefix. Choose an exact model from this output immediately before generation.

2. Prepare and review parameters

{
  "prompt": "A clean product photograph on a neutral background",
  "aspect_ratio": "1:1"
}

Keep only fields supported by the selected model's current request contract. The catalog is a model directory, not a guarantee that every model accepts the same parameters. A prompt is required for this skill.

3. Confirm cost and generate once

python3 scripts/muapi_media.py generate \
  flux-dev \
  --params-file request.json \
  --confirm-paid

--confirm-paid is mandatory. The CLI sends exactly one generation POST, never retries an ambiguous POST, and polls only GET requests with a finite budget. The model argument may be the catalog model name or its exact /api/v1/... endpoint path.

Use --output to download the first completed artifact without sending the API key to the output host:

python3 scripts/muapi_media.py generate \
  flux-dev \
  --params-file request.json \
  --confirm-paid \
  --output ./muapi-output.png

Safety rules

  • Keep MUAPI_API_KEY server-side and out of logs, prompts, screenshots, and committed files.
  • Never retry a generation POST automatically. Require fresh user confirmation before another paid request.
  • Poll only with GET and stop at --max-polls.
  • Preserve the catalog endpoint path; do not prepend /api/v1/ to an endpoint that already has it.
  • Download only HTTPS output URLs and do not forward the API key to the output host.
  • Require human review for sensitive, regulated, or high-impact content.

Output

Commands write structured JSON to stdout. A successful generation includes the selected model, request ID, terminal status, output URLs, and—when requested—the local artifact path.

Official references

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Automate ActiveCampaign tasks via Rube MCP (Composio): manage contacts, tags, list subscriptions, automation enrollment, and tasks. Always search tools first for current schemas.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

Pull the ads a competitor is running right now on Meta (Facebook/Instagram) and Google, then extract the hooks, offers, CTAs and landing pages worth modelling. Use when writing ad copy, planning creative tests, choosing a landing page angle, or when the user asks "what is X advertising", "what ads does X run", "find competitor ad hooks". Reads live Ad Library and Ads Transparency data through the Tracetify MCP; falls back to a manual Ad Library walkthrough when the connector is absent.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

Analytics your AI agent can actually use. Track, analyze, run A/B experiments, and optimize across all your projects via CLI. Includes a growth playbook so your agent knows HOW to grow, not just what to track.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

Teaches when to recall from long-term memory before acting and when to save durable decisions, corrections and failures afterwards. Use when a memory tool or MCP memory server is connected but the agent is not using it consistently, when the user complains that the assistant forgets preferences, conventions or past decisions between sessions, or when setting up persistent memory for a project. Works with any memory backend: a folder of Markdown files, a local MCP server, or a managed service.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

Audit local AI coding-agent sessions with agenttrace for cost, tokens, tool failures, latency, anomalies, health, diffs, and CI gates.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

Checks which private files (.env, keys, secrets) Claude Code and its subagents reached in this project, whether a value came into an agent's context, and which key to change, by running the open source agentwhy CLI over the session records Claude Code already keeps on disk. Use when the user asks whether the agent or a subagent read their .env or other secrets, which private files a session touched, whether a key leaked into the conversation, or which key to rotate. Runs locally and never prints a secret value.

The English summary is being prepared. Showing the original description.

davepoon/buildwithclaude3.7KUpdated Oct 19, 2026

See all skills by davepoon

Report a problem with this skill