cue-ai 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -3
- package/README.md +148 -170
- package/bin/cue-learnings +30 -4
- package/bin/cue-review-progress +0 -0
- package/bin/cue-review-watch +0 -0
- package/dist/cue.js +4328 -3108
- package/package.json +1 -1
- package/plugins/cue/commands/cue-switch.md +1 -1
- package/plugins/cue/commands/cue.md +1 -1
- package/profiles/backend/profile.yaml +4 -0
- package/profiles/browser/profile.yaml +4 -0
- package/profiles/career/profile.yaml +2 -13
- package/profiles/commerce/profile.yaml +0 -2
- package/profiles/coolify/profile.yaml +0 -1
- package/profiles/core/profile.yaml +78 -11
- package/profiles/dash-merge-test/profile.yaml +6 -1
- package/profiles/designer/profile.yaml +9 -1
- package/profiles/dropshipping/profile.yaml +69 -0
- package/profiles/frontend/profile.yaml +4 -0
- package/profiles/google-ads/profile.yaml +34 -0
- package/profiles/google-analytics/profile.yaml +34 -0
- package/profiles/google-drive/profile.yaml +34 -0
- package/profiles/gstack/profile.yaml +117 -29
- package/profiles/marketing/profile.yaml +0 -1
- package/profiles/media/README.md +70 -0
- package/profiles/media/profile.yaml +104 -0
- package/profiles/nano-banana/profile.yaml +52 -0
- package/profiles/ops/profile.yaml +1 -2
- package/profiles/secops/profile.yaml +3 -0
- package/profiles/skill-writer/profile.yaml +15 -0
- package/profiles/video/profile.yaml +3 -0
- package/profiles/web-frontend-base/profile.yaml +6 -0
- package/profiles/webshop/profile.yaml +0 -1
- package/profiles/webshop-google/profile.yaml +1 -0
- package/profiles/x-growth-bot/profile.yaml +2 -0
- package/resources/icons/generate-icons.py +2 -128
- package/resources/mcps/configs/claude.sanitized.json +88 -20
- package/resources/mcps/configs/claude_runtime.sanitized.json +40 -1
- package/resources/mcps/configs/codex.sanitized.json +29 -0
- package/resources/skills/skills/career/job-hunter/LICENSE +21 -0
- package/resources/skills/skills/career/job-hunter/README.md +323 -0
- package/resources/skills/skills/career/job-hunter/SKILL.md +91 -0
- package/resources/skills/skills/career/job-hunter/agents/README.md +96 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-assessment-prep.md +195 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-ats-scan.md +155 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-bias-audit.md +224 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-cover-letter.md +69 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-decode-jd.md +117 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-fit-score.md +183 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-linkedin-audit.md +74 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-linkedin-scrape.md +255 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-portfolio-brief.md +123 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-reality-check.md +164 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-reference-prep.md +150 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-rejection-analysis.md +172 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-resume.md +70 -0
- package/resources/skills/skills/career/job-hunter/agents/apply-skills-gap-filler.md +109 -0
- package/resources/skills/skills/career/job-hunter/agents/career-internal.md +94 -0
- package/resources/skills/skills/career/job-hunter/agents/career-linkedin-content.md +173 -0
- package/resources/skills/skills/career/job-hunter/agents/career-linkedin-scanner.md +262 -0
- package/resources/skills/skills/career/job-hunter/agents/career-network-message.md +108 -0
- package/resources/skills/skills/career/job-hunter/agents/career-promote.md +102 -0
- package/resources/skills/skills/career/job-hunter/agents/career-review.md +71 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-debrief.md +117 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-mock.md +171 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-panel-decoder.md +152 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-prep.md +184 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-question-bank.md +133 -0
- package/resources/skills/skills/career/job-hunter/agents/interview-research.md +148 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-compare.md +117 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-counteroffer.md +144 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-deadline-manager.md +148 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-negotiate.md +126 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-schedule.md +99 -0
- package/resources/skills/skills/career/job-hunter/agents/offer-thankyou.md +80 -0
- package/resources/skills/skills/career/job-hunter/agents/search-company-research.md +146 -0
- package/resources/skills/skills/career/job-hunter/agents/search-follow-up.md +129 -0
- package/resources/skills/skills/career/job-hunter/agents/search-ghost-job-detector.md +152 -0
- package/resources/skills/skills/career/job-hunter/agents/search-inbox-scan.md +193 -0
- package/resources/skills/skills/career/job-hunter/agents/search-interview-scorecard.md +164 -0
- package/resources/skills/skills/career/job-hunter/agents/search-jobs.md +149 -0
- package/resources/skills/skills/career/job-hunter/agents/search-momentum-check.md +194 -0
- package/resources/skills/skills/career/job-hunter/agents/search-outreach.md +85 -0
- package/resources/skills/skills/career/job-hunter/agents/search-referral-finder.md +124 -0
- package/resources/skills/skills/career/job-hunter/agents/search-salary.md +96 -0
- package/resources/skills/skills/career/job-hunter/agents/search-send-email.md +109 -0
- package/resources/skills/skills/career/job-hunter/agents/search-tracker-update.md +127 -0
- package/resources/skills/skills/career/job-hunter/inputs/README.md +26 -0
- package/resources/skills/skills/career/job-hunter/inputs/apply-linkedin-url.txt +8 -0
- package/resources/skills/skills/career/job-hunter/inputs/interview-context.md +24 -0
- package/resources/skills/skills/career/job-hunter/inputs/job-description.md +20 -0
- package/resources/skills/skills/career/job-hunter/inputs/job-search-criteria.md +36 -0
- package/resources/skills/skills/career/job-hunter/inputs/my-linkedin.md +24 -0
- package/resources/skills/skills/career/job-hunter/inputs/my-resume.md +28 -0
- package/resources/skills/skills/career/job-hunter/inputs/search-outreach-target.md +24 -0
- package/resources/skills/skills/career/job-hunter/rules/README.md +37 -0
- package/resources/skills/skills/career/job-hunter/rules/writing-rules.md +81 -0
- package/resources/skills/skills/design/banana/SKILL.md +375 -0
- package/resources/skills/skills/design/banana/references/cost-tracking.md +47 -0
- package/resources/skills/skills/design/banana/references/gemini-models.md +236 -0
- package/resources/skills/skills/design/banana/references/mcp-tools.md +145 -0
- package/resources/skills/skills/design/banana/references/post-processing.md +192 -0
- package/resources/skills/skills/design/banana/references/presets.md +69 -0
- package/resources/skills/skills/design/banana/references/prompt-engineering.md +481 -0
- package/resources/skills/skills/design/banana/scripts/batch.py +97 -0
- package/resources/skills/skills/design/banana/scripts/cost_tracker.py +191 -0
- package/resources/skills/skills/design/banana/scripts/edit.py +159 -0
- package/resources/skills/skills/design/banana/scripts/generate.py +168 -0
- package/resources/skills/skills/design/banana/scripts/presets.py +154 -0
- package/resources/skills/skills/design/banana/scripts/setup_mcp.py +151 -0
- package/resources/skills/skills/design/banana/scripts/validate_setup.py +133 -0
- package/resources/skills/skills/gstack/ship/SKILL.md +13 -0
- package/resources/skills/skills/media/3d-logo-animation/SKILL.md +59 -0
- package/resources/skills/skills/media/action-figure-generator/SKILL.md +48 -0
- package/resources/skills/skills/media/ad-creative/SKILL.md +79 -0
- package/resources/skills/skills/media/ai-clipping/SKILL.md +194 -0
- package/resources/skills/skills/media/ai-clipping/scripts/run-ai-clipping.sh +200 -0
- package/resources/skills/skills/media/ai-fight-scene/SKILL.md +132 -0
- package/resources/skills/skills/media/amazon-product-listing/SKILL.md +68 -0
- package/resources/skills/skills/media/animal-video-generator/SKILL.md +59 -0
- package/resources/skills/skills/media/award-ceremony-video/SKILL.md +87 -0
- package/resources/skills/skills/media/blog-header/SKILL.md +61 -0
- package/resources/skills/skills/media/brand-kit/SKILL.md +72 -0
- package/resources/skills/skills/media/brochures/SKILL.md +65 -0
- package/resources/skills/skills/media/cartoon-dance-animation/SKILL.md +62 -0
- package/resources/skills/skills/media/character-story-video/SKILL.md +84 -0
- package/resources/skills/skills/media/chibi-collage-effect/SKILL.md +63 -0
- package/resources/skills/skills/media/cinema-director/SKILL.md +93 -0
- package/resources/skills/skills/media/cinema-director/scripts/generate-film.sh +78 -0
- package/resources/skills/skills/media/color-analysis-board/SKILL.md +71 -0
- package/resources/skills/skills/media/core-edit/SKILL.md +48 -0
- package/resources/skills/skills/media/core-edit/edit-image.sh +54 -0
- package/resources/skills/skills/media/core-edit/enhance-image.sh +191 -0
- package/resources/skills/skills/media/core-edit/lipsync.sh +144 -0
- package/resources/skills/skills/media/core-edit/video-effects.sh +193 -0
- package/resources/skills/skills/media/core-media/SKILL.md +49 -0
- package/resources/skills/skills/media/core-media/create-music.sh +169 -0
- package/resources/skills/skills/media/core-media/generate-image.sh +161 -0
- package/resources/skills/skills/media/core-media/generate-video.sh +137 -0
- package/resources/skills/skills/media/core-media/image-to-video.sh +228 -0
- package/resources/skills/skills/media/core-media/schema_data.json +18708 -0
- package/resources/skills/skills/media/core-media/upload.sh +41 -0
- package/resources/skills/skills/media/core-platform/SKILL.md +41 -0
- package/resources/skills/skills/media/core-platform/check-result.sh +37 -0
- package/resources/skills/skills/media/core-platform/setup.sh +31 -0
- package/resources/skills/skills/media/couple-grid-creator/SKILL.md +47 -0
- package/resources/skills/skills/media/design-guide/SKILL.md +73 -0
- package/resources/skills/skills/media/drone-style-video/SKILL.md +61 -0
- package/resources/skills/skills/media/fashion-try-on/SKILL.md +61 -0
- package/resources/skills/skills/media/floor-plan-rendering/SKILL.md +56 -0
- package/resources/skills/skills/media/freeze-effect-video/SKILL.md +100 -0
- package/resources/skills/skills/media/giant-product-showcase/SKILL.md +61 -0
- package/resources/skills/skills/media/instagram-post/SKILL.md +58 -0
- package/resources/skills/skills/media/interior-design/SKILL.md +61 -0
- package/resources/skills/skills/media/interior-design-visualizer/SKILL.md +57 -0
- package/resources/skills/skills/media/jewelry-product-video/SKILL.md +61 -0
- package/resources/skills/skills/media/kdenlive/SKILL.md +106 -0
- package/resources/skills/skills/media/kdenlive/scripts/assemble.sh +57 -0
- package/resources/skills/skills/media/kdenlive/scripts/common.sh +30 -0
- package/resources/skills/skills/media/kdenlive/scripts/inspect.sh +19 -0
- package/resources/skills/skills/media/kdenlive/scripts/reframe.sh +22 -0
- package/resources/skills/skills/media/kdenlive/scripts/render.sh +16 -0
- package/resources/skills/skills/media/kdenlive/scripts/title-card.sh +25 -0
- package/resources/skills/skills/media/keyboard-art-maker/SKILL.md +44 -0
- package/resources/skills/skills/media/logo-branding/SKILL.md +70 -0
- package/resources/skills/skills/media/logo-creator/SKILL.md +80 -0
- package/resources/skills/skills/media/logo-creator/scripts/create-logo.sh +38 -0
- package/resources/skills/skills/media/logo-generator/SKILL.md +56 -0
- package/resources/skills/skills/media/multi-angle-reshoot/SKILL.md +70 -0
- package/resources/skills/skills/media/multi-angle-shots/SKILL.md +73 -0
- package/resources/skills/skills/media/music-video/SKILL.md +61 -0
- package/resources/skills/skills/media/nano-banana/SKILL.md +80 -0
- package/resources/skills/skills/media/nano-banana/scripts/generate-nano-art.sh +54 -0
- package/resources/skills/skills/media/one-shot-video/SKILL.md +56 -0
- package/resources/skills/skills/media/photo-pack-generator/SKILL.md +205 -0
- package/resources/skills/skills/media/photo-pack-generator/scripts/generate-pack.sh +241 -0
- package/resources/skills/skills/media/product-ad-cinematic/SKILL.md +78 -0
- package/resources/skills/skills/media/product-campaign/SKILL.md +76 -0
- package/resources/skills/skills/media/product-showcase-video/SKILL.md +60 -0
- package/resources/skills/skills/media/product-video-ad-maker/SKILL.md +59 -0
- package/resources/skills/skills/media/rednote-cover/SKILL.md +57 -0
- package/resources/skills/skills/media/seedance-2/SKILL.md +632 -0
- package/resources/skills/skills/media/seedance-2/scripts/generate-seedance.sh +701 -0
- package/resources/skills/skills/media/selfie-with-celebrities/SKILL.md +64 -0
- package/resources/skills/skills/media/social-media-video/SKILL.md +277 -0
- package/resources/skills/skills/media/social-media-video/scripts/run-social-video.sh +316 -0
- package/resources/skills/skills/media/social-pack/SKILL.md +58 -0
- package/resources/skills/skills/media/storyboard/SKILL.md +57 -0
- package/resources/skills/skills/media/storyboard-to-cooking-video/SKILL.md +143 -0
- package/resources/skills/skills/media/talking-baby-video/SKILL.md +57 -0
- package/resources/skills/skills/media/ugc-ads-workflow/SKILL.md +70 -0
- package/resources/skills/skills/media/ugc-lifestyle-try-on/SKILL.md +65 -0
- package/resources/skills/skills/media/ugc-video-factory/SKILL.md +134 -0
- package/resources/skills/skills/media/ui-design/SKILL.md +81 -0
- package/resources/skills/skills/media/ui-design/scripts/generate-mockup.sh +49 -0
- package/resources/skills/skills/media/url-to-design/SKILL.md +61 -0
- package/resources/skills/skills/media/workflow/SKILL.md +197 -0
- package/resources/skills/skills/media/workflow/scripts/discover-workflow.sh +18 -0
- package/resources/skills/skills/media/workflow/scripts/generate-workflow.sh +33 -0
- package/resources/skills/skills/media/workflow/scripts/interactive-run.sh +16 -0
- package/resources/skills/skills/media/workflow/scripts/list-workflows.sh +20 -0
- package/resources/skills/skills/media/workflow/scripts/run-workflow.sh +34 -0
- package/resources/skills/skills/media/youtube-shorts/SKILL.md +173 -0
- package/resources/skills/skills/media/youtube-shorts/scripts/run-youtube-shorts.sh +141 -0
- package/resources/skills/skills/media/youtube-thumbnail/SKILL.md +66 -0
- package/resources/skills/skills/meta/cue-developer/references/architecture.md +2 -2
- package/resources/skills/skills/meta/cue-usage/SKILL.md +1 -1
- package/resources/skills/skills/meta/profile-fit-monitor/SKILL.md +2 -2
- package/resources/skills/skills/meta/profile-optimizer/SKILL.md +1 -1
- package/resources/skills/skills/meta/profile-suggest/SKILL.md +7 -7
- package/resources/skills/skills/meta/profile-summon/SKILL.md +159 -0
- package/resources/skills/skills/meta/profile-summon/evals/evals.json +53 -0
- package/resources/skills/skills/meta/save-profile/SKILL.md +1 -1
- package/resources/skills/skills/meta/skill-reviewer/SKILL.md +3 -0
- package/resources/skills/skills/meta/skill-reviewer/references/tdd-for-skills.md +55 -0
- package/resources/skills/skills/research/find-skills/SKILL.md +1 -1
- package/resources/skills/skills/review/code-review-deep/SKILL.md +20 -0
- package/resources/skills/skills/security/trivy-scan/SKILL.md +139 -0
- package/resources/skills/skills/security/trivy-scan/scripts/ensure-trivy.sh +21 -0
- package/resources/skills/skills/tools/ccusage/SKILL.md +142 -0
- package/src/commands/_index.ts +8 -0
- package/src/commands/ai.ts +2 -2
- package/src/commands/auto-detect.test.ts +74 -0
- package/src/commands/auto-detect.ts +9 -7
- package/src/commands/cli.test.ts +20 -4
- package/src/commands/cli.ts +36 -20
- package/src/commands/create-profile.ts +2 -2
- package/src/commands/debug.ts +2 -2
- package/src/commands/discover.ts +14 -4
- package/src/commands/export-docker.ts +1 -1
- package/src/commands/features-batch1.test.ts +1 -1
- package/src/commands/gates.ts +1 -1
- package/src/commands/import-profile.ts +1 -1
- package/src/commands/init.ts +15 -11
- package/src/commands/install.test.ts +192 -0
- package/src/commands/install.ts +610 -0
- package/src/commands/launch-handoff.e2e.test.ts +33 -1
- package/src/commands/launch.e2e.test.ts +15 -10
- package/src/commands/launch.ts +73 -116
- package/src/commands/materialize.ts +2 -2
- package/src/commands/prune.ts +1 -1
- package/src/commands/security-audit.ts +1 -1
- package/src/commands/shell.ts +7 -7
- package/src/commands/skill-report.ts +1 -1
- package/src/commands/skills.ts +3 -3
- package/src/commands/snapshot.ts +2 -2
- package/src/commands/summon.test.ts +116 -0
- package/src/commands/summon.ts +338 -0
- package/src/commands/trigger-gaps.ts +1 -1
- package/src/commands/use.ts +47 -3
- package/src/commands/watch-live.ts +5 -5
- package/src/commands/watch.ts +8 -8
- package/src/index.ts +2 -0
- package/src/lib/active-sessions.test.ts +3 -3
- package/src/lib/active-sessions.ts +4 -4
- package/src/lib/auto-detect.test.ts +172 -8
- package/src/lib/auto-detect.ts +191 -136
- package/src/lib/codex-persona-parity.test.ts +58 -0
- package/src/lib/companion-detect.test.ts +43 -1
- package/src/lib/companion-detect.ts +35 -0
- package/src/lib/credentials-sync.test.ts +121 -1
- package/src/lib/credentials-sync.ts +95 -1
- package/src/lib/cwd-resolver.test.ts +8 -8
- package/src/lib/cwd-resolver.ts +2 -2
- package/src/lib/dashboard-merge.test.ts +9 -4
- package/src/lib/dashboard-server.ts +1 -1
- package/src/lib/picker.test.ts +1 -1
- package/src/lib/picker.ts +5 -5
- package/src/lib/profile-merge.test.ts +8 -0
- package/src/lib/profile-names.test.ts +3 -3
- package/src/lib/runtime-install.ts +166 -0
- package/src/lib/runtime-materializer.test.ts +137 -0
- package/src/lib/runtime-materializer.ts +105 -2
- package/src/lib/skill-router.test.ts +38 -0
- package/src/lib/skill-router.ts +65 -4
- package/profiles/eu-tender-research/README.md +0 -48
- package/profiles/eu-tender-research/logo.png +0 -0
- package/profiles/eu-tender-research/profile.yaml +0 -108
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# muapi.ai File Upload
|
|
3
|
+
# Usage: ./upload.sh --file /path/to/file.jpg
|
|
4
|
+
# Returns: CDN URL
|
|
5
|
+
|
|
6
|
+
set -e
|
|
7
|
+
|
|
8
|
+
FILE=""
|
|
9
|
+
JSON_ONLY=false
|
|
10
|
+
JQ_EXPR=".url"
|
|
11
|
+
|
|
12
|
+
while [[ $# -gt 0 ]]; do
|
|
13
|
+
case $1 in
|
|
14
|
+
--file|-f) FILE="$2"; shift 2 ;;
|
|
15
|
+
--json) JSON_ONLY=true; JQ_EXPR=""; shift ;;
|
|
16
|
+
--jq) JQ_EXPR="$2"; shift 2 ;;
|
|
17
|
+
--help|-h)
|
|
18
|
+
echo "Usage: ./upload.sh --file /path/to/file.jpg"
|
|
19
|
+
echo "Returns the CDN URL of the uploaded file."
|
|
20
|
+
exit 0 ;;
|
|
21
|
+
*) shift ;;
|
|
22
|
+
esac
|
|
23
|
+
done
|
|
24
|
+
|
|
25
|
+
if [ -z "$FILE" ]; then echo "Error: --file is required" >&2; exit 1; fi
|
|
26
|
+
|
|
27
|
+
if [ -f ".env" ]; then source .env 2>/dev/null || true; fi
|
|
28
|
+
if [ -z "$MUAPI_KEY" ]; then echo "Error: MUAPI_KEY not set" >&2; exit 1; fi
|
|
29
|
+
|
|
30
|
+
MUAPI_BASE="https://api.muapi.ai/api/v1"
|
|
31
|
+
|
|
32
|
+
[ "$JSON_ONLY" = false ] && echo "Uploading $(basename "$FILE")..." >&2
|
|
33
|
+
RESP=$(curl -s -X POST "${MUAPI_BASE}/upload_file" -H "x-api-key: $MUAPI_KEY" -F "file=@${FILE}")
|
|
34
|
+
|
|
35
|
+
if [ "$JSON_ONLY" = true ]; then
|
|
36
|
+
echo "$RESP"
|
|
37
|
+
elif [ -n "$JQ_EXPR" ]; then
|
|
38
|
+
echo "$RESP" | jq -r "$JQ_EXPR"
|
|
39
|
+
else
|
|
40
|
+
echo "$RESP" | jq -r ".url // empty"
|
|
41
|
+
fi
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muapi-platform
|
|
3
|
+
version: 0.1.0
|
|
4
|
+
description: Setup and utility scripts for muapi.ai — configure API keys, test connectivity, and poll for async generation results
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# ⚙️ MuAPI Platform Utilities
|
|
8
|
+
|
|
9
|
+
**Setup and polling utilities for the muapi.ai platform.**
|
|
10
|
+
|
|
11
|
+
Configure your API key, verify connectivity, and poll for async generation results.
|
|
12
|
+
|
|
13
|
+
## Available Scripts
|
|
14
|
+
|
|
15
|
+
| Script | Description |
|
|
16
|
+
| :--- | :--- |
|
|
17
|
+
| `setup.sh` | Configure API key, show config, test key validity |
|
|
18
|
+
| `check-result.sh` | Poll for async generation results by request ID |
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Save your API key
|
|
24
|
+
bash setup.sh --add-key "YOUR_MUAPI_KEY"
|
|
25
|
+
|
|
26
|
+
# Show current configuration
|
|
27
|
+
bash setup.sh --show-config
|
|
28
|
+
|
|
29
|
+
# Test API key validity
|
|
30
|
+
bash setup.sh --test
|
|
31
|
+
|
|
32
|
+
# Poll for a result (waits for completion)
|
|
33
|
+
bash check-result.sh --id "your-request-id"
|
|
34
|
+
|
|
35
|
+
# Check once without polling
|
|
36
|
+
bash check-result.sh --id "your-request-id" --once
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Requirements
|
|
40
|
+
|
|
41
|
+
- `curl`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# muapi.ai Check Prediction Result
|
|
3
|
+
# Usage: ./check-result.sh --id REQUEST_ID [--once] [--timeout 600] [--json] [--jq EXPR]
|
|
4
|
+
|
|
5
|
+
set -e
|
|
6
|
+
|
|
7
|
+
REQUEST_ID=""
|
|
8
|
+
ONCE=false
|
|
9
|
+
TIMEOUT=600
|
|
10
|
+
JSON_ONLY=false
|
|
11
|
+
JQ_EXPR=""
|
|
12
|
+
|
|
13
|
+
while [[ $# -gt 0 ]]; do
|
|
14
|
+
case $1 in
|
|
15
|
+
--id) REQUEST_ID="$2"; shift 2 ;;
|
|
16
|
+
--once) ONCE=true; shift ;;
|
|
17
|
+
--timeout) TIMEOUT="$2"; shift 2 ;;
|
|
18
|
+
--json) JSON_ONLY=true; shift ;;
|
|
19
|
+
--jq) JQ_EXPR="$2"; shift 2 ;;
|
|
20
|
+
--help|-h)
|
|
21
|
+
echo "Usage: ./check-result.sh --id REQUEST_ID [--once] [--timeout N] [--json] [--jq EXPR]"
|
|
22
|
+
exit 0 ;;
|
|
23
|
+
*) shift ;;
|
|
24
|
+
esac
|
|
25
|
+
done
|
|
26
|
+
|
|
27
|
+
if [ -z "$REQUEST_ID" ]; then echo "Error: --id is required" >&2; exit 1; fi
|
|
28
|
+
|
|
29
|
+
ARGS=()
|
|
30
|
+
[ "$JSON_ONLY" = true ] && ARGS+=(--output-json)
|
|
31
|
+
[ -n "$JQ_EXPR" ] && ARGS+=(--jq "$JQ_EXPR")
|
|
32
|
+
|
|
33
|
+
if [ "$ONCE" = true ]; then
|
|
34
|
+
muapi predict result "$REQUEST_ID" "${ARGS[@]}"
|
|
35
|
+
else
|
|
36
|
+
muapi predict wait "$REQUEST_ID" --timeout "$TIMEOUT" "${ARGS[@]}"
|
|
37
|
+
fi
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# muapi.ai Platform Setup
|
|
3
|
+
# Usage: ./setup.sh --add-key [KEY] | --show-config | --test
|
|
4
|
+
|
|
5
|
+
set -e
|
|
6
|
+
|
|
7
|
+
case "${1:-}" in
|
|
8
|
+
--add-key)
|
|
9
|
+
if [ -n "${2:-}" ]; then
|
|
10
|
+
MUAPI_API_KEY="$2" muapi auth configure --api-key "$2"
|
|
11
|
+
else
|
|
12
|
+
muapi auth configure
|
|
13
|
+
fi ;;
|
|
14
|
+
|
|
15
|
+
--show-config)
|
|
16
|
+
muapi auth whoami ;;
|
|
17
|
+
|
|
18
|
+
--test)
|
|
19
|
+
muapi auth whoami > /dev/null && echo "API key is valid!" ;;
|
|
20
|
+
|
|
21
|
+
--help|-h)
|
|
22
|
+
echo "muapi.ai Platform Setup"
|
|
23
|
+
echo ""
|
|
24
|
+
echo "Usage:"
|
|
25
|
+
echo " ./setup.sh --add-key [KEY] Save API key"
|
|
26
|
+
echo " ./setup.sh --show-config Show current configuration"
|
|
27
|
+
echo " ./setup.sh --test Test API key validity" ;;
|
|
28
|
+
|
|
29
|
+
*)
|
|
30
|
+
echo "Usage: ./setup.sh --add-key [KEY] | --show-config | --test" ;;
|
|
31
|
+
esac
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-couple-grid-creator
|
|
3
|
+
name: muapi-couple-grid-creator
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Create a stylized 6-box grid featuring a couple in various romantic poses and outfits, with each pose framed inside a unique cardboard box packaging.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Couple Grid Creator
|
|
11
|
+
|
|
12
|
+
**Create a stylized 6-box grid featuring a couple in various romantic poses and outfits, with each pose framed inside a unique cardboard box packaging.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `couple_image` | image_url | yes | — | A clear photo of the couple to maintain identity. |
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Steps
|
|
22
|
+
|
|
23
|
+
### Phase A — Multi-Pose Grid Generation
|
|
24
|
+
|
|
25
|
+
If `{{couple_image}}` is not provided, ask the user to upload a photo of the couple.
|
|
26
|
+
|
|
27
|
+
Once the photo is available, submit the plan with ONE step to generate the stylized grid:
|
|
28
|
+
|
|
29
|
+
1. **Grid Generation** — `muapi image edit` (model=`qwen-image-edit-plus`):
|
|
30
|
+
- Reference Image: `{{couple_image}}`
|
|
31
|
+
- Prompt: `Convert the above image into an 8k portrait of both faces. Both faces should be clearly visible inside separate packaging: brown square hollow cardboard boxes. There should be 6 big boxes fully occupying the frame in a grid layout. In each box, the couple's faces should be visible, striking different decent romantic poses. Each box should feature a different costume for the couple to differentiate the scenes, with both wearing decent western wear. The background inside each box should be solid black. Maintain strict identity consistency for both the man and the woman from the reference image. Cinematic tone, sharp focus, professional photography.`
|
|
32
|
+
- Aspect ratio: 1:1 or 4:5
|
|
33
|
+
|
|
34
|
+
Present the generated 6-box couple grid to the user.
|
|
35
|
+
|
|
36
|
+
## Trigger Keywords
|
|
37
|
+
|
|
38
|
+
`couple grid`, `romantic grid`, `packaging grid`, `couple photo box`, `stylized couple portrait`
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Notes for the Executing Agent
|
|
44
|
+
|
|
45
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
46
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
47
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-design-guide
|
|
3
|
+
name: muapi-design-guide
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Create a comprehensive brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Brand Design Guide
|
|
11
|
+
|
|
12
|
+
**Create a comprehensive brand design guide — color palette, typography pairings, UI component previews, and visual identity rules with example mockups.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `brand_name` | text | yes | — | The brand or product name. |
|
|
19
|
+
| `industry` | text | yes | — | Industry/niche (e.g. "fintech startup", "organic skincare", "luxury hotel chain"). |
|
|
20
|
+
| `style_direction` | text | no | modern, minimal, premium | Design aesthetic (e.g. "bold and playful", "corporate and trustworthy", "dark luxury"). |
|
|
21
|
+
| `primary_color` | text | no | — | Optional brand primary color (hex code or color name, e.g. "#3898EC" or "deep navy"). |
|
|
22
|
+
| `existing_logo` | image_url | no | — | Optional existing logo to extract brand cues from. |
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Steps
|
|
26
|
+
|
|
27
|
+
This skill runs THREE parallel generation phases, all in a single the plan.
|
|
28
|
+
|
|
29
|
+
### Phase A — Color & Typography Reference Card
|
|
30
|
+
|
|
31
|
+
1. **Color palette card** — `muapi image generate` (model=`bytedance-seedream-v4.5`):
|
|
32
|
+
- Prompt: `Clean design guide color palette card for {{brand_name}} — {{style_direction}} style brand for {{industry}}. Shows 5 swatches: primary, secondary, accent, background, text. Each swatch labeled with hex code. Modern design reference card, white background, editorial typography, flat design.`
|
|
33
|
+
- If `{{primary_color}}` is given, include it: `primary color is {{primary_color}}`
|
|
34
|
+
- Aspect ratio: 16:9
|
|
35
|
+
|
|
36
|
+
2. **Typography pairing preview** — `muapi image generate` (model=`bytedance-seedream-v4.5`):
|
|
37
|
+
- Prompt: `Brand typography pairing sheet for {{brand_name}} — {{style_direction}}. Shows heading font (large, bold), subheading font (medium), body font (small regular), and caption font. Includes font names, sizes, and usage rules. Clean white background, professional design reference.`
|
|
38
|
+
- Aspect ratio: 16:9
|
|
39
|
+
|
|
40
|
+
### Phase B — UI Component Preview
|
|
41
|
+
|
|
42
|
+
3. **UI components mockup** — `muapi image generate` (model=`gpt4o-text-to-image`):
|
|
43
|
+
- Prompt: `{{brand_name}} brand design system UI kit — {{style_direction}} for {{industry}}. Shows: primary button, secondary button, input field, card component, badge/tag, icon set sample. Consistent brand colors and fonts. Professional design spec sheet, light mode, high detail, Figma-style component documentation.`
|
|
44
|
+
- Aspect ratio: 4:3
|
|
45
|
+
|
|
46
|
+
### Phase C — Brand Application Mockup
|
|
47
|
+
|
|
48
|
+
4. **Real-world mockup** — `muapi image generate` (model=`nano-banana-pro`):
|
|
49
|
+
- Prompt: `{{brand_name}} brand identity applied to real-world mockups — {{style_direction}} style for {{industry}}. Shows business card, letterhead, and mobile app icon all with consistent brand identity. Professional brand presentation, clean background, photorealistic mockups.`
|
|
50
|
+
- If `{{existing_logo}}` provided, use `muapi image edit` (model=`nano-banana-pro-edit`) with it as reference.
|
|
51
|
+
- Aspect ratio: 4:3
|
|
52
|
+
|
|
53
|
+
After all assets generate:
|
|
54
|
+
- Present all 4 assets together as a cohesive design guide
|
|
55
|
+
- Provide a written text summary with: suggested font stack, hex codes, spacing rules, and do/don't guidelines
|
|
56
|
+
- Offer to generate a social media template or logo next
|
|
57
|
+
|
|
58
|
+
## Notes
|
|
59
|
+
- All prompts should reinforce {{style_direction}} consistently across all phases.
|
|
60
|
+
- If {{primary_color}} is blank, derive one from the {{industry}} and {{style_direction}} context.
|
|
61
|
+
|
|
62
|
+
## Trigger Keywords
|
|
63
|
+
|
|
64
|
+
`design guide`, `brand guide`, `style guide`, `design system`, `brand identity`, `visual identity`, `brand colors`, `typography`
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Notes for the Executing Agent
|
|
70
|
+
|
|
71
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
72
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
73
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-drone-style-video
|
|
3
|
+
name: muapi-drone-style-video
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Generate aerial drone-perspective footage — sweeping bird's-eye views, orbit shots, and flyover sequences for landscapes, architecture, and events.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Drone-Style Video
|
|
11
|
+
|
|
12
|
+
**Generate aerial drone-perspective footage — sweeping bird's-eye views, orbit shots, and flyover sequences for landscapes, architecture, and events.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `location_or_subject` | text | yes | — | What to shoot from above (e.g. "mountain valley at sunrise", "luxury villa by the ocean", "crowded city intersection"). |
|
|
19
|
+
| `shot_type` | text | no | reveal | Camera movement style — 'reveal' (ascend & reveal), 'orbit' (circle subject), 'flyover' (pass over), 'top-down' (bird's eye static). |
|
|
20
|
+
| `style` | text | no | golden hour, cinematic, 4K, ultra-detailed | Visual atmosphere (e.g. "dramatic storm clouds", "misty morning", "blue hour city lights"). |
|
|
21
|
+
| `aspect_ratio` | text | no | 16:9 | Output aspect ratio. |
|
|
22
|
+
| `reference_image` | image_url | no | — | Optional aerial/location reference image. |
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Steps
|
|
26
|
+
|
|
27
|
+
### Phase A — Generate Drone Footage
|
|
28
|
+
|
|
29
|
+
Submit the plan with ONE step:
|
|
30
|
+
|
|
31
|
+
1. **Aerial video** — If `{{reference_image}}` is provided, use `muapi video generate` (model=`veo3.1-image-to-video`); otherwise use `muapi video generate` (model=`veo3.1-text-to-video`).
|
|
32
|
+
- Build prompt based on `{{shot_type}}`:
|
|
33
|
+
- **reveal**: `Drone camera starts low, slowly ascends and reveals {{location_or_subject}}, sweeping wide aerial perspective, {{style}}`
|
|
34
|
+
- **orbit**: `Drone camera orbits {{location_or_subject}} in a smooth circular arc, 360-degree aerial rotation, {{style}}`
|
|
35
|
+
- **flyover**: `Drone camera flies low and fast over {{location_or_subject}}, tracking forward momentum, depth of field, {{style}}`
|
|
36
|
+
- **top-down**: `Perfect overhead bird's eye view of {{location_or_subject}}, drone looking straight down, minimal distortion, {{style}}`
|
|
37
|
+
- Append to all prompts: `DJI-quality drone footage, stabilized gimbal, no shake, cinematic color grade, photorealistic`
|
|
38
|
+
- Aspect ratio: `{{aspect_ratio}}`
|
|
39
|
+
|
|
40
|
+
After generation, offer:
|
|
41
|
+
- A different shot type variation
|
|
42
|
+
- Adding wind/ambient audio via `mmaudio-v2-video-to-video`
|
|
43
|
+
- Upscaling via `ai-video-upscaler-pro`
|
|
44
|
+
|
|
45
|
+
## Notes
|
|
46
|
+
- For architecture, emphasize "slow orbit to reveal full building facade".
|
|
47
|
+
- For landscapes, use "magic hour lighting" for the best results.
|
|
48
|
+
- `veo3.1-text-to-video` produces the best physics and camera motion for aerial scenes.
|
|
49
|
+
|
|
50
|
+
## Trigger Keywords
|
|
51
|
+
|
|
52
|
+
`drone`, `aerial`, `bird's eye`, `flyover`, `aerial shot`, `drone footage`, `top down`, `overhead video`
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Notes for the Executing Agent
|
|
58
|
+
|
|
59
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
60
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
61
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-fashion-try-on
|
|
3
|
+
name: muapi-fashion-try-on
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Virtually try on different outfits by combining a person's photo and a clothing item, then optionally generate a professional fashion model video.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Fashion Try-On
|
|
11
|
+
|
|
12
|
+
**Virtually try on different outfits by combining a person's photo and a clothing item, then optionally generate a professional fashion model video.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `person_image` | image_url | yes | — | A photo of the person or model who will try on the clothes. |
|
|
19
|
+
| `clothing_image` | image_url | yes | — | A photo of the clothing item to try on. |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
|
|
24
|
+
### Phase A — Virtual Try-On
|
|
25
|
+
|
|
26
|
+
If `{{person_image}}` or `{{clothing_image}}` is not provided, ask the user to upload them.
|
|
27
|
+
|
|
28
|
+
Once both images are available, submit the plan with ONE step to perform the try-on:
|
|
29
|
+
|
|
30
|
+
1. **Fashion Try-On** — `muapi image edit` (model=`qwen-image-edit-2511`):
|
|
31
|
+
- Reference Images: Use both `{{person_image}}` and `{{clothing_image}}`.
|
|
32
|
+
- Prompt: `A high-quality fashion photograph of the person from the first reference image wearing the exact clothing item from the second reference image. The fit should be natural and realistic, maintaining the person's pose and the clothing's texture and patterns. Soft studio lighting, neutral background, professional fashion photography style.`
|
|
33
|
+
- Aspect ratio: 1:1 or 4:5
|
|
34
|
+
|
|
35
|
+
Present the resulting fashion photo to the user for approval.
|
|
36
|
+
|
|
37
|
+
### Phase B — Fashion Video Generation (Optional)
|
|
38
|
+
|
|
39
|
+
After the image is generated, ask the user if they would like to create a professional fashion video of the model wearing the outfit.
|
|
40
|
+
|
|
41
|
+
If requested, submit the plan with ONE step:
|
|
42
|
+
|
|
43
|
+
1. **Fashion Video Generation** — `muapi video from-image` (model=`seedance-v1.5-pro-i2v-fast`):
|
|
44
|
+
- Reference Image: The try-on image generated in Phase A.
|
|
45
|
+
- Prompt: `Shot type of Three-Quarter Length Shot. [Push in] as model gracefully places hand on hip, shifts weight to one side, tilts head slightly with soft smile, and gently adjusts hair with fingertips, creating elegant movement and confidence.`
|
|
46
|
+
- Aspect ratio: 9:16 or 4:5
|
|
47
|
+
|
|
48
|
+
After generation, present the final fashion video.
|
|
49
|
+
|
|
50
|
+
## Trigger Keywords
|
|
51
|
+
|
|
52
|
+
`fashion try on`, `virtual fitting room`, `try on clothes`, `model fashion`, `clothing preview`
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Notes for the Executing Agent
|
|
58
|
+
|
|
59
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
60
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
61
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-floor-plan-rendering
|
|
3
|
+
name: muapi-floor-plan-rendering
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Design a 2D floor plan and convert it into a realistic, high-quality 3D architectural rendering.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Floor Plan Rendering
|
|
11
|
+
|
|
12
|
+
**Design a 2D floor plan and convert it into a realistic, high-quality 3D architectural rendering.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `floor_plan_description` | text | yes | — | Description of the floor plan (e.g. "a modern 2-bedroom apartment with a balcony and open kitchen"). |
|
|
19
|
+
| `base_plan_image` | image_url | no | — | Optional 2D floor plan image to use as a starting point. |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
|
|
24
|
+
### Phase A — 2D Floor Plan Design
|
|
25
|
+
|
|
26
|
+
If `{{base_plan_image}}` is not provided, submit the plan with ONE step to create the 2D blueprint:
|
|
27
|
+
|
|
28
|
+
1. **Floor Plan Generation** — `muapi image generate` (model=`nano-banana-2`):
|
|
29
|
+
- Prompt: `A professional, clean 2D architectural floor plan of {{floor_plan_description}}. Top-down view, technical drawing style, white background, black lines, labeled rooms (Living Room, Kitchen, Bedroom, etc.), high contrast, minimalist design.`
|
|
30
|
+
- Aspect ratio: 4:3 or 1:1
|
|
31
|
+
|
|
32
|
+
Present the 2D plan to the user for approval.
|
|
33
|
+
|
|
34
|
+
### Phase B — 3D Rendering
|
|
35
|
+
|
|
36
|
+
Once the 2D plan is ready, submit the plan to convert it into a realistic 3D visualization:
|
|
37
|
+
|
|
38
|
+
1. **3D Conversion** — `muapi image edit` (model=`nano-banana-2-edit`):
|
|
39
|
+
- Reference Image: The 2D plan from Phase A.
|
|
40
|
+
- Prompt: `A stunning, realistic 3D isometric cutaway rendering of the architectural floor plan. Photorealistic textures, warm wooden flooring, modern furniture, soft natural sunlight coming from windows, realistic shadows. High-end architectural visualization, cinematic look, 8k resolution, clean white studio background.`
|
|
41
|
+
- Aspect ratio: 4:3 or 1:1
|
|
42
|
+
|
|
43
|
+
After generation, present the final 3D rendering to the user.
|
|
44
|
+
|
|
45
|
+
## Trigger Keywords
|
|
46
|
+
|
|
47
|
+
`3d floor plan`, `architectural rendering`, `2d to 3d plan`, `house design`, `interior plan`
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Notes for the Executing Agent
|
|
53
|
+
|
|
54
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
55
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
56
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-freeze-effect-video
|
|
3
|
+
name: muapi-freeze-effect-video
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Generate a cinematic "freeze effect" video where time stops mid-scene, the subject walks through the frozen world, then time resumes with a snap.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Freeze Effect Video
|
|
11
|
+
|
|
12
|
+
**Generate a cinematic "freeze effect" video where time stops mid-scene, the subject walks through the frozen world, then time resumes with a snap.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `photo` | image_url | yes | — | Reference photo of the main character (face/body) whose appearance must remain consistent across all shots. |
|
|
19
|
+
| `scene` | text | no | a packed, dimly lit sports bar with neon accents, blurred TVs showing a championship celebration | The setting where time will freeze (e.g. "a busy nightclub", "a wedding reception", "a stadium crowd"). |
|
|
20
|
+
| `freeze_moment` | text | no | golden arcs of beer suspended midair, popcorn floating motionless, people frozen mid-cheer | The signature frozen visual — what hangs in the air when time stops. |
|
|
21
|
+
| `closing_line` | text | no | perfect | A short word/phrase the character whispers before resuming time. |
|
|
22
|
+
| `aspect_ratio` | text | no | 16:9 | Output aspect ratio — "16:9" for cinematic, "9:16" for vertical/social. |
|
|
23
|
+
| `duration` | text | no | 15 | Target duration in seconds (10 or 15 recommended). |
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Steps
|
|
27
|
+
|
|
28
|
+
### Phase A — Generate the Freeze Effect Video
|
|
29
|
+
|
|
30
|
+
Submit the plan with ONE step:
|
|
31
|
+
|
|
32
|
+
1. **Freeze effect video** — `muapi video from-image` (model=`seedance-v2.0-i2v`, quality=`high`, generate_audio=`true`):
|
|
33
|
+
- Reference image: `{{photo}}`
|
|
34
|
+
- Aspect ratio: `{{aspect_ratio}}`
|
|
35
|
+
- Duration: `{{duration}}`
|
|
36
|
+
- Resolution: `720p`
|
|
37
|
+
- Prompt:
|
|
38
|
+
```
|
|
39
|
+
Ultra-realistic, shot on Arri Alexa Mini, 35mm lens, {{scene}}, volumetric haze, dynamic hard shadows, shallow depth of field.
|
|
40
|
+
|
|
41
|
+
Main Character:
|
|
42
|
+
The person from @image1. Facial features and body proportions remain consistent across all shots.
|
|
43
|
+
|
|
44
|
+
[0:00–0:03]
|
|
45
|
+
{{scene}}. Time flows normally.
|
|
46
|
+
Steadicam frontal medium shot tracking the person walking confidently through the crowd.
|
|
47
|
+
The crowd erupts in euphoria around them.
|
|
48
|
+
As the person walks, they raise their right hand and snap.
|
|
49
|
+
|
|
50
|
+
[0:03–0:06]
|
|
51
|
+
At the snap, a subtle spherical shockwave bursts from their fingertips — air distortion and light refraction ripple outward.
|
|
52
|
+
Everything freezes mid-motion.
|
|
53
|
+
{{freeze_moment}}.
|
|
54
|
+
Neon light catches dust and liquid in the air.
|
|
55
|
+
Absolute silence.
|
|
56
|
+
|
|
57
|
+
[0:06–0:09]
|
|
58
|
+
Only the person moves.
|
|
59
|
+
Soft, echoing footsteps.
|
|
60
|
+
Camera tracks backward as they walk through the frozen scene, observing calmly.
|
|
61
|
+
They reach out and pluck a single suspended detail from the air.
|
|
62
|
+
|
|
63
|
+
[0:09–0:11]
|
|
64
|
+
They stop in front of a frozen onlooker, face locked in an ecstatic expression.
|
|
65
|
+
The person tilts their head, gently observes.
|
|
66
|
+
Softly: "{{closing_line}}".
|
|
67
|
+
|
|
68
|
+
[0:11–0:15]
|
|
69
|
+
They turn, face the camera, smirk, and snap again.
|
|
70
|
+
A stronger reverse shockwave ripples outward.
|
|
71
|
+
Motion instantly resumes — sounds explode back, people land mid-jump.
|
|
72
|
+
The person walks away as the camera pushes through the celebrating crowd.
|
|
73
|
+
|
|
74
|
+
Fade to black.
|
|
75
|
+
|
|
76
|
+
Sound Design:
|
|
77
|
+
Deafening ambient celebration → snap → deep shockwave/bass drop → absolute silence → footsteps → soft whisper → snap → reverse shockwave → deafening celebration returns.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
After generation, present the video to the user.
|
|
81
|
+
|
|
82
|
+
## Notes
|
|
83
|
+
- The character's identity is anchored by `@image1` — the reference photo must clearly show the main subject's face.
|
|
84
|
+
- For best results, choose a `scene` with crowd energy and lots of small objects (liquid, confetti, sparks) that can plausibly "freeze" in midair.
|
|
85
|
+
- If the model rejects realistic human likeness, switch to the Global tier model (`seedance-2-image-to-video-fast`) which allows looser identity matching.
|
|
86
|
+
- For vertical/social delivery, set `aspect_ratio=9:16` and keep `duration=10` for tighter pacing.
|
|
87
|
+
- Always keep `generate_audio=true` — the snap → silence → snap audio arc is the signature of this effect and should not be muted.
|
|
88
|
+
|
|
89
|
+
## Trigger Keywords
|
|
90
|
+
|
|
91
|
+
`freeze effect`, `time freeze video`, `time stop video`, `snap freeze`, `frozen world`, `bullet time crowd`, `time stand still`, `pause time effect`
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Notes for the Executing Agent
|
|
97
|
+
|
|
98
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
99
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
100
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: muapi-giant-product-showcase
|
|
3
|
+
name: muapi-giant-product-showcase
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: Create a dramatic "Giant Product" visual where a regular item is showcased as a massive, building-sized object next to a person, then optionally animate the scene.
|
|
6
|
+
acceptLicenseTerms: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Giant Product Showcase
|
|
11
|
+
|
|
12
|
+
**Create a dramatic "Giant Product" visual where a regular item is showcased as a massive, building-sized object next to a person, then optionally animate the scene.**
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
| Name | Type | Required | Default | Description |
|
|
17
|
+
|:---|:---|:---|:---|:---|
|
|
18
|
+
| `product_image` | image_url | yes | — | A clear image of the product to be made giant. |
|
|
19
|
+
| `person_description` | text | no | a stylishly dressed man | Description of the person standing next to the giant product. |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Steps
|
|
23
|
+
|
|
24
|
+
### Phase A — Giant Product Visualization
|
|
25
|
+
|
|
26
|
+
If `{{product_image}}` is not provided, ask the user to upload a photo of the product.
|
|
27
|
+
|
|
28
|
+
Once the photo is available, submit the plan with ONE step to create the giant product scene:
|
|
29
|
+
|
|
30
|
+
1. **Scene Generation** — `muapi image edit` (model=`nano-banana-2-edit`):
|
|
31
|
+
- Reference Image: `{{product_image}}`
|
|
32
|
+
- Prompt: `A professional commercial photograph featuring a massive, giant-sized version of the product from the reference image. The product is the size of a person and is standing on a clean, modern floor. Next to the giant product, {{person_description}} is leaning against it or standing nearby, highlighting the enormous scale. High-end product photography, soft studio lighting, realistic reflections, 8k resolution.`
|
|
33
|
+
- Aspect ratio: 3:4 or 4:5
|
|
34
|
+
|
|
35
|
+
Present the generated giant product image to the user for approval.
|
|
36
|
+
|
|
37
|
+
### Phase B — Animation (Optional)
|
|
38
|
+
|
|
39
|
+
After the image is generated, ask the user if they would like to animate the scene into a cinematic showcase video.
|
|
40
|
+
|
|
41
|
+
If requested, submit the plan with ONE step:
|
|
42
|
+
|
|
43
|
+
1. **Video Generation** — `muapi video from-image` (model=`veo3.1-fast-image-to-video`):
|
|
44
|
+
- Reference Image: The giant product image from Phase A.
|
|
45
|
+
- Prompt: `Cinematic slow-motion camera movement around the giant product. The person next to it moves naturally, looking at the camera or adjusting their pose. Dynamic lighting, high-quality textures, professional commercial vibe.`
|
|
46
|
+
- Aspect ratio: 9:16 or 4:5
|
|
47
|
+
|
|
48
|
+
After generation, present the final product showcase video.
|
|
49
|
+
|
|
50
|
+
## Trigger Keywords
|
|
51
|
+
|
|
52
|
+
`giant product`, `massive object`, `product showcase`, `scale comparison`, `product animation`
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Notes for the Executing Agent
|
|
58
|
+
|
|
59
|
+
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
|
|
60
|
+
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
|
|
61
|
+
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
|