What you need
- A Kaien API key with access to an image model.
- Codex, Claude Code, Cursor, or another supported agent tool.
- A local project directory where generated images can be saved.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Codex, Claude Code, or Cursor to generate and save images through Kaien API.
npx skills add https://kaienapi.com/docs/en/skill.md -g
export KAIEN_API_KEY="your_api_key"
export KAIEN_BASE_URL="https://kaienapi.com/v1"
Create a square product image of a silver camera on a clean studio background and save the final PNG in ./output/camera.png.
Use the first image for the product shape and the second image for the background style. Save a 4:5 PNG in ./output.