Workspace/API & agents

Generate images & videos
right inside Claude Code

Send the message below to Claude Code and it sets everything up. Then ask for an image or a video in plain words; files are saved into your project.

Copy and send this to Claude Code

Set up AIGC Malaysia for me so I can generate images and videos from here.
1. Install the CLI: run `npm i -g https://app.aigc.com.my/downloads/aigc-cli.tgz`.
2. Ask me for my API key (I create it at https://app.aigc.com.my/workspace/account/api-keys). Store it as the AIGC_API_KEY environment variable for this project and never commit it.
3. Run `aigc whoami` to confirm it works, then `aigc models` to see models and prices.
4. Whenever I ask for an image or a video: run `aigc estimate ...` first and tell me the cost in credits. Only after I agree, run `aigc image "<prompt>" -o <file>` or `aigc video "<prompt>" --duration <seconds> -o <file> --yes`.
Run `aigc help` for every command and flag.
  1. 1
    Create an API key

    The key is shown once, so save it. You can set a monthly credit limit and revoke it any time.

    Create key
  2. 2
    Send the message to Claude Code

    It installs the aigc command and asks for your API key. Give it the key you just created.

  3. 3
    Start creating

    Just say "make a 9:16 poster for a coffee shop" or "make a 5-second rainy street video". It quotes the price first and orders only after you agree.

Four safeguards before any credits are spent

  • Every order is quoted first; anything over 100 credits needs your confirmation.
  • Each key can have a monthly credit limit, so a buggy script cannot drain your balance.
  • Orders carry a duplicate-protection ID, so a network retry never charges twice.
  • If a job fails or is cancelled, the frozen credits are refunded in full.

One-click connection (MCP) for ChatGPT, Claude on the web and Gemini is coming soon.

AIGC Malaysia — Avatar video · AI generation platform