Generate Asset

Generate a single media asset — image, video, audio, or 3D. Use when the user wants one output from a clear prompt. Calls muapi_select to pick the best model, then muapi_generate.

gabrielmoreira Updated 17 repo stars

File contents

Generate Asset

Use this skill for single-asset generation tasks.

Step 1 — Discover

Call muapi_select with the user's intent and kind:

muapi_select(intent="<user's prompt>", kind="<image|video|audio|3d>", tier="<best|balanced|fast>", limit=3)

Pick the top-ranked model from the result.

Step 2 — Generate

Call muapi_generate with the chosen model:

muapi_generate(
    prompt="<refined prompt>",
    kind="<kind>",
    model="<name from muapi_select>",
    tier="<best|balanced|fast>",
)

For edits, enhancements, image-to-video, or lipsync — pass input_asset_url too.

Step 3 — Return

Report the asset URL to the user. Include: model used, kind, and any relevant parameters.

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/SamurAIGPT@muapi-cli/integrations/langchain/examples/creative-agent/skills/generate-asset commit 33b293b287

Frequently asked questions

npx skillmds@latest add gabrielmoreira/generate-asset