Loading...
Loading...
Generates AI images using the BlockEden OpenAI proxy (DALL-E 3 / DALL-E 2 / gpt-image-1). Use this skill whenever the user wants to generate, create, draw, make, or produce an image, picture, photo, illustration, artwork, or visual — even if they don't say "DALL-E" or "BlockEden". Trigger on phrases like "generate an image of", "create a picture of", "make me an illustration", "draw a scene", "visualize this", "I want an image", or "generate based on this image/URL". Requires the BLOCKEDEN_ACCESS_KEY environment variable to be set.
npx skill4agent add kwoktung/skills image-gen-blockeden-openaiBLOCKEDEN_ACCESS_KEYPlease set theenvironment variable before using this skill.BLOCKEDEN_ACCESS_KEY
scripts/generate_image.pypython <skill_dir>/scripts/generate_image.py "<prompt>" [options]| Flag | Default | Choices | Notes |
|---|---|---|---|
| | any URI | Reference image URL to base generation on. Uses |
| | | Landscape: |
| | | |
| | | Model for text-only generation. Ignored when |
| | | DALL-E 3 only. |
| | any path | Directory where the PNG will be saved |
python /path/to/skill/scripts/generate_image.py \
"a cozy coffee shop on a rainy day, impressionist painting style" \
--size 1792x1024 \
--quality hd \
--style natural \
--output-dir ~/Desktoppython /path/to/skill/scripts/generate_image.py \
"same composition but set at night with neon lights" \
--reference-image "https://example.com/my-photo.jpg" \
--output-dir ~/Desktop{
"filepath": "/path/to/image_1234567890.png",
"revised_prompt": "...",
"model": "dall-e-3",
"size": "1024x1024",
"quality": "standard",
"style": "vivid"
}{
"filepath": "/path/to/image_1234567890.png",
"model": "gpt-image-1",
"reference_image": "https://example.com/my-photo.jpg",
"prompt": "same composition but set at night with neon lights"
}revised_prompt--reference-imagegpt-image-1--size--quality hd--style natural--style vivid--output-dir