# Media Generation

> Media Generation Capability

- Skill: `lensetek/media-generation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lensetek/media-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lensetek/media-generation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lensetek (https://skillmd.com/u/lensetek)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lensetek/media-generation

---

# Media Generation Capability

## When to Use

Use this capability when a marketing workflow needs AI-assisted image or video generation, visual variation, image-to-image direction, storyboard-to-video prompting, product-shot concepts, or media-generation QA.

This is a technical execution capability, not a marketing agent. Creative strategy remains owned by the relevant specialist agent.

## Preferred Implementation

- Prefer approved APIs, SDKs, CLIs, or backend/server-side proxy routes.
- Use fal.ai only when the runtime has an approved server-side or local `FAL_KEY` environment variable.
- Keep provider choice explicit: model, endpoint, aspect ratio, duration, output count, safety settings, and estimated cost when available.
- Use browser UI or Computer Use only when no API, SDK, CLI, or connector path is available.

## Inputs

- Brand brief and visual identity constraints.
- Campaign objective and platform.
- Creative concept, image prompt, video prompt, or storyboard.
- Output format, aspect ratio, duration, and quantity.
- Usage rights, disclosure requirements, and forbidden visual elements.
- Approved runtime note confirming where provider credentials are stored.

## Outputs

- Media Generation Brief.
- Provider and model recommendation.
- Image or video prompt pack.
- Negative prompt and safety constraints.
- Aspect ratio, duration, and variation plan.
- Output review notes for brand fit, claims, rights, synthetic-media disclosure, and platform readiness.

## fal.ai Integration Notes

- fal.ai can be used as an optional media-generation provider for image and video workflows.
- Store real `FAL_KEY` values only in server-side, local runtime, CI, or secret-store environment variables.
- Do not put real `FAL_KEY` values in frontend code, `VITE_*`, `NEXT_PUBLIC_*`, browser JavaScript, static HTML, public assets, public docs, screenshots, logs, or prompts.
- For client-side applications, route calls through a backend/proxy that reads `FAL_KEY` from the server environment.
- Use placeholders such as `FAL_KEY=your_fal_key_here` only in examples.

## Handoff Guidance

- `growth-creative-agent` owns divergent concepts, hooks, and creative angles.
- `video-creative-director` owns scripts, storyboards, shot direction, and AI-ready video prompts.
- `brand-strategist` owns brand-fit and visual identity constraints.
- `ethics-compliance-reviewer` reviews synthetic media risk, claims, platform policy, and rights before publish-ready use.

## Security and Ethics

- Never ask the user to paste real API keys into chat or public templates.
- Do not generate deceptive deepfakes, impersonation assets, fake proof, fake testimonials, or misleading before-after visuals.
- Respect copyright, trademark, likeness, platform, and usage-right constraints.
- Disclose synthetic media when relevant to the platform, campaign, or audience expectation.

