算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
muapi-product-ad-cinematic【设计与创意】Cinematic 5–10s product ad from a product photo + brand brief.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Cinematic 5–10s product ad from a product photo + brand brief.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
product_image | image_url | yes | — | URL of the product photo (must already be uploaded). |
brand_brief | text | yes | — | Mood / style direction (e.g. "luxury minimal", "playful"). |
duration_sec | int | no | 6 | Final video length in seconds (5–10). |
This skill has TWO phases separated by a user pick. Submit them as two separate the plan calls — never bundle downstream steps into the first plan.
Submit ONE the plan containing only:
muapi image generate nodes
(model=nano-banana-2, aspect_ratio=16:9 by default).
product_image if the model supports image
conditioning; otherwise describe the product in detail.After the plan executes, end your turn with a brief message listing the 4 asset_ids and asking the user which one to take forward (e.g. "Pick a hero (asset_1, asset_2, asset_3, or asset_4)?"). Wait.
Once the user replies with their pick, submit a SECOND the plan:
enhance_image (operation=upscale).muapi video from-image (model=kling-v3.0-standard-image-to-video,
duration={{duration_sec}}, prompt="slow cinematic push-in, soft
volumetric light, subtle product micro-rotation"). Reference the
upscale's URL with $nX.url.muapi audio create (kind=music) — runs in parallel
with the upscale/animate. Style derived from brand_brief (luxury →
"ambient cinematic, warm strings, slow tempo, instrumental"). Duration
≈ video length.product ad, commercial, cinematic ad, product video
muapi CLI commands. Use muapi auth configure first if MUAPI_API_KEY is unset.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>.{{input_name}} placeholders with the user's actual inputs before issuing each call.