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.
How do I install this agent skill?
npx skills add https://github.com/agntswrm/agent-media --skill image-generateIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a secure wrapper for the 'agent-media' command-line interface, enabling image generation via external providers. It correctly specifies the necessary API keys and lacks any suspicious code or patterns.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Image Generate
Generates an image from a text prompt using AI image generation models.
Command
npx agent-media@latest image generate --prompt <text> [options]
Inputs
| 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) |
Output
Returns a JSON object with the generated image path:
{
"ok": true,
"media_type": "image",
"action": "generate",
"provider": "fal",
"output_path": "generated_123_abc.png",
"mime": "image/png",
"bytes": 567890
}
Examples
Generate an image:
npx agent-media@latest image generate --prompt "a red robot standing in a forest"
Generate with specific dimensions:
npx agent-media@latest image generate --prompt "sunset over mountains" --width 1024 --height 768
Generate using specific provider:
npx agent-media@latest image generate --prompt "abstract art" --provider replicate
Providers
This action requires an external provider:
- fal - Requires
FAL_API_KEY - replicate - Requires
REPLICATE_API_TOKEN - runpod - Requires
RUNPOD_API_KEY - ai-gateway - Requires
AI_GATEWAY_API_KEY
The local provider does not support image generation.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/agntswrm/agent-media/image-generate">View image-generate on skillZs</a>