Loading...
Loading...
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 skill4agent add agntswrm/agent-media image-generateagent-media image generate --prompt <text> [options]| Option | Required | Description |
|---|---|---|
| Yes | Text description of the image to generate |
| No | Width of the generated image in pixels (default: 1280) |
| No | Height of the generated image in pixels (default: 720) |
| No | Number of images to generate (default: 1) |
| No | Output path, filename or directory (default: ./) |
| No | Provider to use (default: auto-detect) |
{
"ok": true,
"media_type": "image",
"action": "generate",
"provider": "fal",
"output_path": "generated_123_abc.png",
"mime": "image/png",
"bytes": 567890
}agent-media image generate --prompt "a red robot standing in a forest"agent-media image generate --prompt "sunset over mountains" --width 1024 --height 768agent-media image generate --prompt "abstract art" --provider replicateFAL_API_KEYREPLICATE_API_TOKENRUNPOD_API_KEYAI_GATEWAY_API_KEY