kie-external-api
Installation
SKILL.md
KIE.ai external API
Configuration
- Base URL:
https://api.kie.ai(orKIE_BASE_URL). - Auth: Bearer token. Set
KIE_API_KEYin.env. Every request sendsAuthorization: Bearer $KIE_API_KEY. - Never print API keys, commit
.env, or paste keys intoMASTER_CONTEXT.md.
If the key is missing or the API returns 401/403
- Editor-first (default): Ensure
.envexists (copy from.env.examplein the repo root). Ask the user to pasteKIE_API_KEYonly inside.envand save. Do not ask them to paste the key in chat unless they insist. - Chat-assisted: If they paste the key in chat, write
.envfor them, confirm "saved to.env" without repeating the key, and remind them that chat history may retain secrets — rotate the key in KIE if the chat could be shared.
Before the first call, confirm .gitignore excludes .env.
Find and manage keys: KIE Dashboard → API Key. Task logs: kie.ai/logs.
Read order
Related skills