Skip to main content
Let agents generate images, videos and audio with WaveAPI. To run Codex or Claude Code on WaveAPI text models, see Codex and Claude Code. Three ways to connect. Pick one per client: MCP and the skill call the same endpoints. Prices, validation and billing are the same as calling POST /v1/tasks directly.

Set the API key

Create an API key in the console and store it in the WAVEAPI_API_KEY environment variable. Do not put the key in commands, config files or chats. macOS (zsh):
launchctl setenv makes the variable visible to GUI apps such as Codex and Cursor; restart the app afterwards. For terminal use, also export WAVEAPI_API_KEY in ~/.zshrc.

Remote MCP

The Claude Code command uses single quotes, so ${WAVEAPI_API_KEY} is stored as written and read from the environment at run time. Test it with:

Tools

  • create_task accepts idempotency_key. Retrying with the same key and the same input does not create a second task.
  • create_task accepts wait_seconds (0–45). A task that finishes within that time returns its result directly.
  • get_task returns terminal, should_poll and next_poll_after_seconds. Result URLs expire at expires_at (Unix seconds) in result.
  • The cost fields cost and pre_consumed_cost are in quota. cost_usd and pre_consumed_cost_usd give the USD amounts.

Agent Skill

The skill ships a zero-dependency script that reads WAVEAPI_API_KEY; the client needs no MCP setup. See waveapi-media.

AI docs

  • Documentation index: https://docs.qingbo.dev/llms.txt
  • Append .md to any page URL for its Markdown source, e.g. https://docs.qingbo.dev/en/api-reference/video/seedance.md
  • For chat apps without web access, paste PROMPT.md at the start of the chat

Limits