muapi-social-pack

$npx mdskill add SamurAIGPT/Generative-Media-Skills/muapi-social-pack

Reframe and deliver hero images for Instagram, TikTok, Twitter/X, and YouTube Shorts

  • Identifies and uses social media aspect ratios to reformat a hero image.
  • Deploys AI-powered image editing with customizable captions and lighting preservation.
  • Automatically selects the most suitable platform based on aspect ratio for optimal sharing.
  • Returns reformatted images ready for posting across multiple platforms in parallel.

SKILL.md

.github/skills/muapi-social-packView on GitHub ↗
---
slug: muapi-social-pack
name: muapi-social-pack
version: "1.0.0"
description: Re-render a hero image into Instagram, TikTok, YouTube-shorts and Twitter/X aspect ratios.
acceptLicenseTerms: true
---


# Social Media Pack

**Re-render a hero image into Instagram, TikTok, YouTube-shorts and Twitter/X aspect ratios.**

## Inputs

| Name | Type | Required | Default | Description |
|:---|:---|:---|:---|:---|
| `source_image` | image_url | yes | — | URL of the hero image (or asset_id from this session). |
| `caption_idea` | text | no | — | Optional caption / overlay direction (kept short). |
| `formats` | list | no | 1:1, 9:16, 4:5, 16:9 | Aspect ratios to produce. |


## Steps

Use the plan to fan out one node per format.

1. For each requested aspect ratio in `{{formats}}`:
   - Call `muapi image edit` (model=nano-banana-2-edit) with the source image.
   - Prompt: "Reframe the composition to {{aspect_ratio}} for social media.
     Keep the subject centred and uncropped. Match the original lighting
     and palette. {{caption_idea_hint}}".
   - Where `{{caption_idea_hint}}` = "Leave headroom at the top for a
     caption: '<caption_idea>'." (only if caption_idea is non-empty).
2. All formats run in parallel (no inter-node dependencies).
3. Return one asset id per format, labelled with the platform it suits:
   - 1:1   → Instagram feed
   - 9:16  → TikTok / IG Reels / YT Shorts
   - 4:5   → Instagram portrait
   - 16:9  → Twitter / X / YouTube
   - 21:9  → cinematic banner

## Notes
- Don't generate fresh images — only reframe / re-edit the source.
- If the source already matches a format, skip that node and surface the
  original asset id for it.

## Trigger Keywords

`social pack`, `resize for social`, `cross-post`, `multi-platform`


---

## Notes for the Executing Agent

- 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.
- 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>`.
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.

More from SamurAIGPT/Generative-Media-Skills

SkillDescription
muapi-3d-logo-animationTransform a 2D logo into a premium 3D version and animate it with professional cinematic effects.
muapi-action-figure-generatorConvert a photo of a person into a custom 3D action figure, complete with collectible toy packaging.
muapi-ad-creativeGenerate a high-converting ad creative set — hero image, ad copy variations, and platform-optimized crops for Meta, Google Display, and LinkedIn.
muapi-ai-clippingTurn a long video into N viral-ready short clips with a single managed API call. Wraps muapi.ai's `/ai-clipping` endpoint, which handles transcription, highlight ranking through a virality framework (hook / emotional peak / opinion bomb / revelation / conflict / quotable / story peak / practical value), overlap dedupe, and vertical face-tracking auto-crop server-side. No local Whisper, no local LLM, no GPU.
muapi-ai-fight-sceneGenerate a high-cut-density action / fight scene by first composing a 16-cell storyboard image, then driving Seedance 2.0 image-to-video off that storyboard. Stacks GPT-Image-2 (character sheet + storyboard), Nano-Banana-2 (environment concept), and Seedance 2.0 i2v.
muapi-amazon-product-listingGenerate a complete Amazon product listing image set — hero image, lifestyle shot, infographic with features, and comparison/detail closeups optimized for Amazon standards.
muapi-animal-video-generatorCreate a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.
muapi-award-ceremony-videoGenerate a 15-second cinematic awards-ceremony video — a host announces a winner from the stage, a spotlight finds them in the crowd, they walk up to the podium, receive the award, and the LED display reveals their name and "THE BEST ACTOR".
muapi-blog-headerCreate a professional, eye-catching blog post header image sized for web (1200×628) with optional title composition guidance.
muapi-brand-kitGenerate a cohesive brand visual kit — logo concept, color palette moodboard, and typography pairing suggestions.