Skip to content
English

Skills

HiAPI Skills are local add-ons for agent runtimes. Each Skill focuses on one model or one stable workflow, so an agent can complete a repeated task with a short instruction.

  • Use Remote MCP when you want to connect HiAPI tools in chat.
  • Use Skills when you want a local one-click capability for a specific model, such as GPT Image 2, Seedance 2.0, or HappyHorse 1.0.
SkillModelBest forRepository
GPT Image 2 Skillgpt-image-2Posters, illustrations, cover images, social graphics, and other text-to-image assetsGitHub
Seedance 2.0 Video Skillseedance-2-0Text-to-video, image-to-video, cinematic clips, product videos, and storyboardsGitHub
HappyHorse 1.0 Video Skillhappyhorse-1-0Short videos, ad storyboards, and social media video assets from text promptsGitHub

After installation, the agent can call the selected model directly and save the generated result through the Skill scripts.

  1. Get a HiAPI API key

    Go to HiAPI Dashboard -> API Keys and create or copy an API key.

  2. Choose and install a Skill

    OpenClaw can install the target repository directly:

    Terminal window
    # GPT Image 2
    openclaw skills add https://github.com/HiAPIAI/hiapi-gpt-image-2-skill
    # Seedance 2.0 Video
    openclaw skills add https://github.com/HiAPIAI/hiapi-seedance-2-0-video-skill
    # HappyHorse 1.0 Video
    openclaw skills add https://github.com/HiAPIAI/hiapi-happyhorse-1-0-video-skill

    For Codex, clone the selected repository into the local skills directory:

    Terminal window
    mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
    # GPT Image 2
    rm -rf "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-gpt-image-2"
    git clone https://github.com/HiAPIAI/hiapi-gpt-image-2-skill.git "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-gpt-image-2"
    # Seedance 2.0 Video
    rm -rf "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-seedance-2-0-video"
    git clone https://github.com/HiAPIAI/hiapi-seedance-2-0-video-skill.git "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-seedance-2-0-video"
    # HappyHorse 1.0 Video
    rm -rf "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-happyhorse-1-0-video"
    git clone https://github.com/HiAPIAI/hiapi-happyhorse-1-0-video-skill.git "${CODEX_HOME:-$HOME/.codex}/skills/hiapi-happyhorse-1-0-video"

    Run npm test inside the installed skill repository when you want to verify the package.

  3. Set your API key

    Set the environment variables in the terminal that runs your agent:

    Terminal window
    export HIAPI_API_KEY="YOUR_HIAPI_API_KEY"
    export HIAPI_BASE_URL="https://api.hiapi.ai"
  4. Restart the agent

    Restart Codex, Claude Code, OpenCode, OpenClaw, or the agent runtime you installed the Skill into.

  5. Ask the agent to generate

    Use $hiapi-gpt-image-2 to generate a 16:9 image of a sunset over the sea.
    Use $hiapi-seedance-2-0-video to animate this product photo into a 5-second cinematic clip.
    Use $hiapi-happyhorse-1-0-video to generate a 5-second 1080p wuxia rooftop scene.

If you want an agent to install a Skill for you, give it the matching agent notes:

https://github.com/HiAPIAI/hiapi-gpt-image-2-skill/blob/main/llms-install.md
https://github.com/HiAPIAI/hiapi-seedance-2-0-video-skill/blob/main/llms-install.md
https://github.com/HiAPIAI/hiapi-happyhorse-1-0-video-skill/blob/main/llms-install.md

The agent should clone the selected repository into its skills directory, set HIAPI_API_KEY, restart if needed, and read SKILL.md before generation.

ProblemWhat to do
HIAPI_API_KEY is requiredCreate an API key, then set the HIAPI_API_KEY environment variable as shown above
401 or 403Check whether the API key is valid
402, balance, credits, or quota errorAdd credits or check billing in the HiAPI dashboard
429Wait and retry, or reduce concurrent generations
No output fileAsk the agent to run it again and check the terminal error message or returned result