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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "image-generate" with this command: npx skills add agntswrm/agent-media/agntswrm-agent-media-image-generate

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

OptionRequiredDescription
--promptYesText description of the image to generate
--widthNoWidth of the generated image in pixels (default: 1280)
--heightNoHeight of the generated image in pixels (default: 720)
--countNoNumber of images to generate (default: 1)
--outNoOutput path, filename or directory (default: ./)
--providerNoProvider 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

image-remove-background

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

audio-transcribe

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

video-generate

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

image-edit

No summary provided by upstream source.

Repository SourceNeeds Review