ai-sns/draw image
Generate an image from a text prompt using the default OpenAI-like LLM config (gpt-image-1-mini or compatible image generation API). The image is uploaded to the gofile.io public file sharing service and ONLY the public download page URL is returned.
npx skills add https://github.com/ai-sns/ai-sns --skill Draw Image
Generate images via the OpenAI-compatible images/generations endpoint using the default LLM configuration.
This skill accepts a JSON object as input params.
prompt (string, required)size (string, optional)1024x10241024x1024, 1792x1024, 1024x1792model (string, optional)gpt-image-1-miniquality (string, optional)low, medium, high. Default: lown (integer, optional)1read_skill with skill_key: "draw_image" to read this document.run_doc_skill with skill_key: "draw_image" and params.Example:
{
"skill_key": "draw_image",
"prompt": "A futuristic cityscape at sunset with flying cars",
"size": "1024x1024"
}
The runner prints a JSON object to stdout with:
ok (bool): Whether the generation and upload succeeded.download_page (string): The public gofile.io download page URL of the generated image. Only this URL is returned as the result. Open this URL in a browser to download the generated image.note (string): A short hint explaining that download_page is used to download the generated image.error (string): Error message on failure.Example success output:
{
"ok": true,
"download_page": "https://gofile.io/d/WcWZKt",
"note": "Use this URL to download the generated image."
}
Take ai-sns/draw image from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.