media-generation

Generate AI images and videos and retrieve stock images from text descriptions.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/gopaljilab/Gupta-Portfolio --skill media-generation-gopaljilab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: media-generation
Source: https://github.com/gopaljilab/Gupta-Portfolio/tree/main/.local/skills/media-generation
Command: npx skills add https://github.com/gopaljilab/Gupta-Portfolio --skill media-generation-gopaljilab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating visual content for applications normally requires design tools, stock photo subscriptions, or manual asset sourcing. This Skill generates custom AI images and videos and retrieves licensed stock images directly from text prompts, saving assets to organized local directories. ## Core Features & Use Cases - AI Image Generation: Create up to 10 custom images per call with control over aspect ratio, negative prompts, and background removal, saved as PNG files. - AI Video Generation: Produce short video clips (4-8 seconds) in 720p or 1080p with landscape or portrait orientation. - Stock Image Retrieval: Fetch up to 10 licensed stock photos matching a description with orientation filtering. - Use Case: While building a landing page, generate a 16:9 hero image, a set of product illustrations with transparent backgrounds, and a short background video clip, all saved directly into your project's asset folders. ## Quick Start Generate a 16:9 hero image of a modern workspace at sunset and save it to my project's assets folder.

Frequently Asked Questions about media-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI images from a text prompt?▼

Call generateImage with an images array containing objects with a prompt and outputPath. The outputPath must end in .png, and you can generate up to 10 images per call with optional aspect ratio and negative prompt settings.

How do I generate a video from a text description?▼

Use generateVideo with a detailed prompt describing the scene. You can set aspectRatio to 16:9 or 9:16, resolution to 720p or 1080p, and durationSeconds to 4, 6, or 8 seconds.

When should I use stock images instead of AI-generated images?▼

Use stockImage when you need authentic professional photography of real-world scenes, people, or business settings. Use generateImage for custom illustrations, creative concepts, or visuals that do not exist in stock libraries.

Why does image generation fail with an outputPath error?▼

The outputPath must end in .png; extensions like .jpg, .jpeg, or .webp cause an error. Also ensure parameters are wrapped in an images array, since flat parameters trigger an images field required error.

What are the limitations of AI video generation?▼

Generated videos are limited to a maximum of 8 seconds and support only 16:9 or 9:16 aspect ratios at 720p or 1080p. Text rendered inside generated media is not reliably accurate.