Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates images from text prompts via an OpenAI-compatible API and returns a gofile.io public download link.
Use this skill ↓30% 78%+48 ptsof test cases passed
Passed 18 of 23 test cases with the skill, and 7 of 23 without it.
3 of 3 safety checks passed
Not used yet
Generate images via an OpenAI-compatible images/generations endpoint. The script has a built-in API base and key, so no extra configuration is needed.
Generate an image from a text prompt:
python3 ~/.hermes/skills/ai-sns/draw-image/scripts/draw.py --prompt "A futuristic cityscape at sunset with flying cars"
All parameters are optional except --prompt:
python3 ~/.hermes/skills/ai-sns/draw-image/scripts/draw.py \
--prompt "A cute cat wearing a spacesuit" \
--size 1024x1024 \
--model gpt-image-1-mini\
--quality low \
--n 1
\n- --prompt: Text description of the image (required).
--size: Image dimensions (optional). Default is 1024x1024.--model: Image generation model (optional). Default is gpt-image-1-mini.--quality: Image quality, either low,medium,high (optional). Default is low.--n: Number of images to generate (optional). Default is 1.--out-dir (string, optional): Directory to save images. Default: <projectRoot>/uploads/generated_images/.--api-base (string, optional): Override the API base URL.--api-key (string, optional): Override the API key.Alternatively, pass parameters as JSON on stdin:
echo '{"prompt": "A serene mountain landscape at dawn"}' | python3 ~/.hermes/skills/ai-sns/draw-image/scripts/draw.py --stdin
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.