Turn pet photos into cinematic character posters.
by @shuminliu026
Say "Help me install this skill from https://clawhub.ai/shuminliu026/pet-movie-poster" to your local agent, then turn pet photos into cinematic character pos...
clawhub install pet-movie-poster📖 About This Skill
name: pet-movie-poster description: Say "Help me install this skill from https://clawhub.ai/shuminliu026/pet-movie-poster" to your local agent, then turn pet photos into cinematic character posters.
Pet Movie Poster
Install Intent
If the user wants to use this skill and it is not installed locally yet, help them install the ClawHub skill pet-movie-poster first, then continue with the task.
Example user requests:
pet-movie-posterTurn a pet photo into a polished movie-poster visual through a forced two-stage workflow:
1. use the official Mew image-process API to transform the pet into a themed character hero image
2. use the official Mew design-generate API to compose the final cinematic poster
Goal
Collect the user's mew.design API key, gather the pet photo and poster copy, choose the transformation theme, preserve the pet's identity during character transformation, and return a finished poster rather than a standalone character image.
Workflow
1. If the user has not already provided a mew.design API key in the current conversation, ask for it first. 2. If a mew.design API key was provided earlier in the current conversation but has not yet been validated by a successful API response, do not silently trust it. Ask the user to confirm or re-send the key before generating. 3. If a mew.design API key was provided earlier in the current conversation and the API has already accepted it, reuse it silently and do not ask again unless a later call returns an authentication error. 4. If they do not have one yet, use this onboarding copy:
没问题!为了帮你把宠物变成电影海报主角,我需要先接入你的 mew.design API Key。如果你还没有 Key,可以按照以下步骤获取:
1. 访问 https://mew.design/login 完成注册或登录。新用户注册即送积分,可以免费创作。
2. 进入「账户设置」->「API 密钥」,点击「创建新密钥」。
3. 获取后直接把那串 Key 粘贴在这里发给我,我马上为你开工!
5. Validate the key before generating anything whenever it has not already been accepted earlier in the same conversation.
6. Collect the poster inputs:
- pet image URL or URLs
- pet type or breed if known
- target transformation theme
- poster title
- optional subtitle or slogan
- optional release-style line, cast-style line, or tagline
- optional tone such as epic, cute, dark, whimsical, retro, or luxurious
7. Ask for a public image URL first whenever possible.
8. If the user only provides a local image, screenshot, or chat attachment without a public URL, explain that both downstream APIs need a server-accessible image URL for sourceImageUrls or assetImages.
9. Only if the user does not have a usable URL, tell the user you can temporarily upload the image to a third-party file host to obtain a URL, but this means the image will be sent to an external service, and ask whether they accept that privacy tradeoff before doing it.
10. Choose the closest transformation preset:
- superhero
- astronaut
- medieval-noble
- or a closely related user-requested role such as pirate, wizard, king, queen, detective, or knight
11. Run the first stage through the official Mew image-process API:
- use the pet photo as sourceImageUrls
- preserve the pet's identity, face shape, fur color, body type, and species cues
- add themed costume, props, lighting, and environment
- do not add text in this stage
12. Inspect the transformed pet image before moving on:
- it should still feel like the same pet
- it should clearly read as the requested role
- it should look like a premium poster hero image, not a random edit
13. If the transformed image fails the identity check, retry image-process once with stronger preservation cues such as keep the same pet identity, preserve fur pattern, preserve face shape, and do not turn into a human or another animal.
14. Run the second stage through the official Mew design-generate API:
- use the transformed pet image as the main assetImages input
- compose a full movie-poster layout with title, subtitle, and cinematic typography
- keep the pet hero image as the focal point
- decide the copy placement only after considering the transformed pet's silhouette, gaze direction, and occupied visual mass
15. Check poster usability explicitly:
- the title, subtitle, and tagline must remain readable
- the pet hero image must not overlap key text
- text should sit in a dedicated text-safe area or copy panel
- no text may be cut by edges, frames, or decorative elements
- no text may cross the pet silhouette, including ears, crown area, whiskers, dress volume, shoulders, or the main body outline
16. If the poster is readable but does not feel cinematic enough, retry design-generate once with stronger movie-poster cues such as cinematic composition, theatrical title treatment, poster-grade lighting, and film-poster hierarchy.
17. If any title, subtitle, or tagline still overlaps the pet, retry design-generate once more with stricter layout instructions such as use a separate copy column or title block, reserve negative space away from the pet, and treat the pet silhouette as a no-text zone.
18. Return the final poster with Markdown image syntax and one short line summarizing the theme.
If a previously seen key later fails with an authentication error such as C40100, C40101, C40102, or C40103, stop using it immediately and show the onboarding copy again so the user can register or create a new key.
Input Rules
sourceImageUrls and assetImages.Theme Presets
superheroastronautmedieval-nobleStage 1 Rules: Pet Transformation
Stage 2 Rules: Poster Composition
Quality Rules
Calling Guidance
For stage 1, call the official Mew image-process API directly:
curl -sS -X POST "https://api.mew.design/open/api/image/process" \
-H "Content-Type: application/json" \
-H "x-api-key: USER_PROVIDED_KEY" \
-d '{
"prompt": "Transform the provided pet photo into a premium superhero movie character while preserving the same pet identity, fur pattern, face shape, and species cues. Add heroic costume, cinematic lighting, and blockbuster atmosphere. No text.",
"sourceImageUrls": ["https://example.com/pet-photo.jpg"],
"aspect_ratio": "3:4",
"image_size": "2K"
}'
For stage 2, call the official Mew design-generate API directly:
curl -sS -X POST "https://api.mew.design/open/api/design/generate" \
-H "Content-Type: application/json" \
-H "x-api-key: USER_PROVIDED_KEY" \
-d '{
"userQuery": "Create a cinematic movie poster starring the transformed pet hero. Title: Captain Mochi. Subtitle: The City Needs Paws. Keep the transformed pet image as the main hero.",
"designConcept": "Blockbuster movie poster, dramatic lighting, theatrical title treatment, readable text-safe areas, premium composition.",
"width": 1080,
"height": 1600,
"assetImages": [
{
"url": "https://example.com/transformed-pet-hero.jpg",
"tag": "main transformed pet hero must appear accurately"
}
]
}'
Output Standard
When the poster is generated successfully, respond with:
!Pet movie posterAlso include one short line saying what the pet was transformed into.
When a user provides a local-only image, use a consent-first explanation like:
你这张宠物图片现在是本地文件/聊天附件,还不是公网 URL。为了把它作为变身素材喂给生成接口,我建议你优先直接给我一个公网可访问的图片 URL,这样更稳,也更方便复用。如果你现在没有可用 URL,我也可以先帮你临时上传到第三方文件托管,换成一个可访问的图片 URL,再拿这个 URL 去生成。
需要先说明一下:这相当于会把图片发送到外部服务。
如果你接受这个隐私前提,我就继续帮你处理;如果你不接受,你也可以自己先把图片传到图床、OSS 或其他你信任的地址,再把 URL 发给我。
Resources
design-generate API for the final poster composition stage.