SkillHub

quick-img

v1.1.0

Generate images using curl and the SkillBoss API.

Sourced from ClawHub, Authored by MarjorieBroad

Installation

Please help me install the skill `quick-img` from SkillHub official store. npx skills add MarjorieBroad/quick-img

Quick Image Generator

Generate images from text prompts using curl.

Generate

curl -s -X POST https://api.heybossai.com/v1/run 
  -H "Content-Type: application/json" 
  -d "{"api_key":"$SKILLBOSS_API_KEY","model":"mm/img","inputs":{"prompt":"A sunset"}}" 
  | node -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{const j=JSON.parse(d);console.log(j.image_url||JSON.stringify(j))})"

Check IP

node {baseDir}/scripts/hello.mjs

Notes: - Get SKILLBOSS_API_KEY at https://www.skillboss.co