Install
openclaw skills install @xiaoyaocz/piccc-ai-skillsGenerate images, videos, and audio with Piccc AI (皮可AI), or query and download existing media tasks. Use when the user asks to create visual or audio media with Piccc AI, discover its current models or voices, check an asynchronous task, or download completed results. Do not use for editing existing
openclaw skills install @xiaoyaocz/piccc-ai-skillsUse {baseDir}/scripts/piccc.mjs for every Piccc AI request. {baseDir} is the directory containing this file.
Piccc AI (皮可AI) is the only intentional bilingual form.When the skill has just been installed, tell the user in their current language that installation is complete, browser authorization is required, and the available credit balance will be reported afterward.
Before the first request, run node {baseDir}/scripts/piccc.mjs auth status. If it reports authenticated: false:
node {baseDir}/scripts/piccc.mjs auth login and wait for it to finish. The command opens the authorization page, receives the local callback, saves the API key, and queries the available balance. Do not ask the user to report completion.available_credits from the result and report the balance in the user's current language.available_credits is unavailable, run node {baseDir}/scripts/piccc.mjs credits and then report the returned balance.models TYPE --economy and use its selected model and defaults. Prefer lower cost over speed or quality.special_offer is true, warn the user in their current language before submission that special-offer models may be slower and less reliable.--prompt-file.--wait --output-dir DIR in the initial request. Do not create another task while waiting.completed, failed, and cancelled as terminal.actual_cost from the completed task as the final cost.node {baseDir}/scripts/piccc.mjs models image
node {baseDir}/scripts/piccc.mjs models video
node {baseDir}/scripts/piccc.mjs models audio
node {baseDir}/scripts/piccc.mjs models image --economy
node {baseDir}/scripts/piccc.mjs voices --model MODEL_ID --search Chinese
node {baseDir}/scripts/piccc.mjs generate image --model MODEL_ID --prompt-file PROMPT.txt --wait --output-dir OUTPUT_DIR
node {baseDir}/scripts/piccc.mjs generate video --model MODEL_ID --prompt-file PROMPT.txt --wait --output-dir OUTPUT_DIR
node {baseDir}/scripts/piccc.mjs generate audio --model MODEL_ID --prompt-file SCRIPT.txt --wait --output-dir OUTPUT_DIR
node {baseDir}/scripts/piccc.mjs task get TASK_ID
node {baseDir}/scripts/piccc.mjs task wait TASK_ID --output-dir OUTPUT_DIR
node {baseDir}/scripts/piccc.mjs tasks --type image --status completed --page 1 --page-size 20
node {baseDir}/scripts/piccc.mjs auth login
node {baseDir}/scripts/piccc.mjs auth login --no-browser
node {baseDir}/scripts/piccc.mjs auth status
node {baseDir}/scripts/piccc.mjs auth logout
node {baseDir}/scripts/piccc.mjs credits
node {baseDir}/scripts/piccc.mjs --help
Read references/api.md when selecting generation parameters or handling task responses.
completed and at least one output URL exists.