본문으로 건너뛰기
Skillpedia
에이전트48k · #5254

muapi-media

하는 일

이 에이전트는 MuAPI를 사용해 이미지와 영상을 만듭니다. 여러분에게 가장 적합한 모델을 선택하고, API 키를 안전하게 다루며, 결과물을 내려받습니다.

사용하는 경우

  • ✓MuAPI로 이미지나 영상을 만들어 달라고 명시적으로 요청할 때.
  • ✓이미 미디어 워크플로를 사용 중이고 MuAPI를 통합해야 할 때.
  • ✓워크플로를 바꾸지 않고 미디어 생성 모델을 비교하거나 전환하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/muapi-media/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/muapi-media/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“MuAPI를 사용해 파티 모자를 쓴 고양이 이미지를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

먼저 MuAPI에서 사용 가능한 이미지/영상 모델을 확인합니다. 그다음 선택한 모델에 대한 구체적인 지침을 가져와 요청을 제출합니다. 마지막으로 이미지나 영상이 준비될 때까지 확인(polling)하여 내려받을 수 있게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

MuAPI Media

Overview

Use MuAPI's unified asynchronous API for image and video generation when a workflow needs model choice without a separate integration for every provider. The catalog and each model's input schema are authoritative; this skill does not guess fields, bundle an SDK, or hide a billable generation request. For a capability overview, see the MuAPI AI video API.

When to Use This Skill

  • Use when the user explicitly asks to generate an image or video with MuAPI.
  • Use when an existing media workflow needs a hosted asynchronous API and can send an authorized HTTPS request.
  • Use when the user needs to compare or switch among current media models without changing the surrounding submit-and-poll workflow.
  • Do not use this skill for text chat or for a provider whose current schema has not been fetched and checked.

Preconditions

  1. Confirm that the user is authorized to send the prompt and any reference media to a third-party service.
  2. Explain that generation may be billable and obtain approval immediately before the generation request.
  3. Require MUAPI_API_KEY in the environment. Never ask the user to paste it into chat, source files, command history, or logs.
  4. Confirm the requested media type, output location, and whether the user wants a single generation or an explicitly approved batch.

API Contract

Operation Method and endpoint
List current models GET https://api.muapi.ai/api/v1/models
Read one model's schema GET https://api.muapi.ai/api/v1/models/{model}
Submit a generation POST https://api.muapi.ai/{catalog endpoint}
Poll a prediction GET https://api.muapi.ai/api/v1/predictions/{request_id}/result

Generation and prediction requests use:

x-api-key: $MUAPI_API_KEY
Content-Type: application/json

The catalog returns a model name, category, endpoint, and other metadata. The endpoint value already includes /api/v1/; append it to https://api.muapi.ai without adding a second version prefix. Model input and output fields vary, so read the selected model's schema immediately before preparing a request.

How It Works

1. Discover and validate a model

Use a temporary directory for response files and keep credentials out of every file. The catalog lookup is read-only:

workdir=$(mktemp -d "${TMPDIR:-/tmp}/muapi-media.XXXXXX")

curl --fail --silent --show-error \
  --header "Accept: application/json" \
  "https://api.muapi.ai/api/v1/models" \
  --output "$workdir/models.json"

jq -r '
  .models[]
  | select(((.category // "") | ascii_downcase | test("image|video|audio|3d")))
  | [.name, .category, .endpoint]
  | @tsv
' "$workdir/models.json"

Select a model from the current catalog, then fetch its detailed schema. Do not copy a payload from a different model just because the names look similar:

export MUAPI_MODEL="<model name from the catalog>"

curl --fail --silent --show-error \
  --header "Accept: application/json" \
  "https://api.muapi.ai/api/v1/models/${MUAPI_MODEL}" \
  --output "$workdir/model.json"

jq '.input_schema.schemas.input_data' "$workdir/model.json"

Check required fields, types, enum values, size limits, and the output schema. If the model requires an image or video input, use the exact documented field and an authorized HTTPS input URL; do not invent an upload contract.

2. Prepare one reviewed request

Set the key only in the environment and stop before submission if it is absent:

test -n "${MUAPI_API_KEY:-}" || {
  echo "Set MUAPI_API_KEY before generation." >&2
  exit 1
}

export MUAPI_PROMPT="A small paper boat crossing a calm pond at sunrise, steady camera"

# Add only fields confirmed by model.json. This example uses a prompt field;
# many models also require duration, resolution, aspect ratio, or an input URL.
jq -n \
  --arg prompt "$MUAPI_PROMPT" \
  '{prompt: $prompt}' \
  > "$workdir/request.json"

Review the model, requested parameters, destination, and estimated cost with the user. Do not put MUAPI_API_KEY in request.json.

3. Submit exactly once

Resolve the catalog endpoint and make one POST. Do not automatically retry a generation POST after a timeout: the original task may have been accepted.

model_endpoint=$(jq -er --arg name "$MUAPI_MODEL" '
  .models[]
  | select(.name == $name)
  | .endpoint
  | select(type == "string" and startswith("/api/v1/"))

…
자주 묻는 질문

이것을 사용하는 데 비용이 드나요?

미디어 생성은 과금되는 서비스일 수 있습니다. 생성 요청을 진행하기 전에 가격을 확인하는 것이 중요합니다.

MuAPI는 어떤 모델을 쓸지 어떻게 아나요?

MuAPI는 모델 목록(카탈로그)을 관리합니다. 이 에이전트는 그 카탈로그를 참고해 요청에 가장 적합한 모델을 찾습니다.

API 키는 어디에 저장되나요?

API 키는 시스템의 환경 변수에 설정되며, 여러분에게 직접 공유되거나 눈에 보이는 장소에 저장되지 않습니다.

상세 정보

작성자의 원본 설명

Generate images and videos with MuAPI's schema-driven asynchronous media API while protecting keys, polling, and output downloads.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5254
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬