media-generation

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

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/AmirEmad11/instabot --skill media-generation-amiremad11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-generation
Source: https://github.com/AmirEmad11/instabot/tree/main/.local/skills/media-generation
Command: npx skills add https://github.com/AmirEmad11/instabot --skill media-generation-amiremad11

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating custom visual content for applications normally requires design tools, stock photo subscriptions, or video editing software. This Skill generates AI images and videos from text descriptions and retrieves licensed stock images, all saved directly to your project. ## Core Features & Use Cases - AI Image Generation: Create up to 10 custom PNG images per call with control over aspect ratio, negative prompts, and background removal, synchronously or in the background. - AI Video Generation: Produce short video clips (4-8 seconds) at 720p or 1080p in landscape or portrait orientation. - Stock Image Retrieval: Fetch up to 10 licensed stock photos matching a description with orientation filtering. - Use Case: Building a landing page and need a hero banner, product illustrations, and a background video? Generate all of them from text prompts and have the files saved to your assets folder automatically. ## Quick Start Generate a 16:9 hero image of a mountain landscape at sunset and save it as hero.png in my 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 to generate AI videos from text descriptions?

Use generateVideo with a detailed prompt describing the scene. Videos are limited to 4, 6, or 8 seconds at 720p or 1080p resolution, in 16:9 landscape or 9:16 portrait orientation.

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

Use stockImage when you need authentic professional photography, real-world scenes, people, or business imagery. Use AI generation 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 capped at 8 seconds maximum and limited to 720p or 1080p resolution. Complex or highly specific prompts may not match exactly, and text rendered inside generated media is unreliable.