kie-external-api

Installation
SKILL.md

KIE.ai external API

Configuration

  • Base URL: https://api.kie.ai (or KIE_BASE_URL).
  • Auth: Bearer token. Set KIE_API_KEY in .env. Every request sends Authorization: Bearer $KIE_API_KEY.
  • Never print API keys, commit .env, or paste keys into MASTER_CONTEXT.md.

If the key is missing or the API returns 401/403

  1. Editor-first (default): Ensure .env exists (copy from .env.example in the repo root). Ask the user to paste KIE_API_KEY only inside .env and save. Do not ask them to paste the key in chat unless they insist.
  2. Chat-assisted: If they paste the key in chat, write .env for 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

More from krusemediallc/claude-code-ai-ad-builder-kie-ai

Installs
1
GitHub Stars
10
First Seen
5 days ago