OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add agntswrm/agent-media --skill image-generate
Generates an image from a text prompt using AI models. Use when you need to create images from descriptions, generate artwork, or produce visual content from text.
npx skills add agntswrm/agent-media --skill image-generate
Generates an image from a text prompt using AI image generation models.
| Option | Required | Description |
|---|---|---|
--prompt | Yes | Text description of the image to generate |
--width | No | Width of the generated image in pixels (default: 1280) |
--height | No | Height of the generated image in pixels (default: 720) |
--count | No | Number of images to generate (default: 1) |
--out | No | Output path, filename or directory (default: ./) |
--provider | No | Provider to use (default: auto-detect) |
Returns a JSON object with the generated image path:
Generate an image:
Generate with specific dimensions:
Generate using specific provider:
This action requires an external provider:
FAL_API_KEYREPLICATE_API_TOKENRUNPOD_API_KEYAI_GATEWAY_API_KEYThe local provider does not support image generation.
npx agent-media@latest image generate --prompt "a red robot standing in a forest"npx agent-media@latest image generate --prompt "sunset over mountains" --width 1024 --height 768npx agent-media@latest image generate --prompt "abstract art" --provider replicate