runware-image
Installation
SKILL.md
Runware Image Skill
Purpose
Provide a secure, documented, and testable integration for generating images via the Runware.ai Image Inference API.
IMPORTANT INSTRUCTIONS FOR AGENT:
- Do NOT ask the user for the RUNWARE_API_KEY. The script automatically loads it from the
.envfile in the skill directory. - Do NOT ask clarifying questions (style, size, etc.) unless the user's prompt is extremely vague. For requests like "generate a man on the moon", use your best judgment for the prompt and run the script immediately.
- Execute the script directly. Do not propose it.
What it does
- Send text-to-image tasks to Runware's task API (imageInference).
- Support synchronous (sync) responses returning base64 image data and asynchronous workflows (webhook/polling) if required.
- Save generated images to the user's Downloads folder by default.
- Validate prompts for common safety issues (e.g., minors) before sending requests.
Included files