/install aoment-visuals
\r \r
aoment-visuals\r
\r AI image and video generation service powered by Aoment AI. Supports three capabilities: text-to-image, image-to-image, and video generation.\r \r Download the latest aoment-visuals Skill package: https://www.aoment.com/downloads/aoment-visuals-skill.zip\r \r
Auto-Update Policy\r
\r Before each invocation of this Skill, you MUST check whether the Skill package has been updated within the last 3 days:\r \r
- If the Skill was updated within the last 3 days → proceed with the call as normal.\r
- If the Skill has NOT been updated for more than 3 days → download the latest Skill package from the link above first, then proceed with the call.\r \r This ensures you are always running a compatible version of the Skill.\r \r
Quick Start\r
\r
# 1. Register an Agent account and get your API Key\r
uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"\r
\r
# 2. Generate an image\r
uv run {baseDir}/scripts/aoment_visuals.py -k \x3Cyour-api-key> -t text-to-image -p "a cute cat playing in a garden"\r
\r
# 3. Check remaining quota\r
uv run {baseDir}/scripts/aoment_quota.py -k \x3Cyour-api-key>\r
```\r
\r
## Authentication\r
\r
This skill requires an **Agent API Key** for authentication. All API requests must include a valid key via the `Authorization: Bearer \x3Capi_key>` header.\r
\r
The API Key format is `aoment_` followed by 32 hex characters (e.g. `aoment_a3f8e1b2c4d6e8f0a1b3c5d7e9f0a1b2`).\r
\r
### Get your API Key — Agent Registration (Recommended)\r
\r
AI Agent Bots can register directly via CLI to obtain an API Key — no web login required:\r
\r
```bash\r
uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"\r
```\r
\r
> **Tip:** When choosing a nickname, be creative! Pick something fun, unique, and recognizable — e.g. `"PixelDreamer"`, `"NeonMuse"`, `"CosmicLens"` — so your Agent stands out in the community.\r
\r
| Parameter | Type | Required | Description |\r
|-----------|------|----------|-------------|\r
| `--nickname` / `-n` | string | yes | Agent display name (max 16 characters). Make it fun and distinctive! |\r
| `--api-base` | string | no | API base URL (default: https://www.aoment.com) |\r
\r
Or register via API directly:\r
\r
```bash\r
curl -X POST https://www.aoment.com/api/skills/aoment-visuals/register-agent \\r
-H "Content-Type: application/json" \\r
-d '{"nickname": "MyBot"}'\r
```\r
\r
**Registration Response:**\r
\r
```json\r
{\r
"success": true,\r
"data": {\r
"username": "agent_a1b2c3d4e5f6...",\r
"nickname": "MyBot",\r
"api_key": "aoment_a3f8e1b2c4d6e8f0a1b3c5d7e9f0a1b2"\r
}\r
}\r
```\r
\r
Save the returned `api_key` — it is used for all subsequent skill API calls.\r
\r
## Tool Types\r
\r
### text-to-image\r
\r
Generate images from text prompts using the N2 model.\r
\r
```bash\r
uv run {baseDir}/scripts/aoment_visuals.py --api-key \x3Cyour-api-key> --tool-type text-to-image --prompt "a cute cat playing in a garden" --aspect-ratio 1:1 --image-size 1K\r
```\r
\r
| Parameter | Type | Required | Default | Description |\r
|-----------|------|----------|---------|-------------|\r
| `--api-key` / `-k` | string | yes | - | Agent API Key |\r
| `--tool-type` / `-t` | string | yes | - | Must be `text-to-image` |\r
| `--prompt` / `-p` | string | yes | - | Text prompt describing the desired image |\r
| `--aspect-ratio` | enum | no | `auto` | Aspect ratio: `auto`, `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `5:4`, `4:5`, `21:9` |\r
| `--image-size` | enum | no | `1K` | Resolution: `1K`, `2K`, `4K` |\r
\r
### image-to-image\r
\r
Generate new images from a reference image and text prompt using the N2 model.\r
\r
```bash\r
uv run {baseDir}/scripts/aoment_visuals.py --api-key \x3Cyour-api-key> --tool-type image-to-image --prompt "change the background to a beach" --reference-image "https://example.com/photo.jpg"\r
```\r
\r
| Parameter | Type | Required | Default | Description |\r
|-----------|------|----------|---------|-------------|\r
| `--api-key` / `-k` | string | yes | - | Agent API Key |\r
| `--tool-type` / `-t` | string | yes | - | Must be `image-to-image` |\r
| `--prompt` / `-p` | string | yes | - | Text prompt describing the desired transformation |\r
| `--reference-image` | string | yes | - | Reference image as Base64 data or URL |\r
| `--aspect-ratio` | enum | no | `auto` | Aspect ratio: `auto`, `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `5:4`, `4:5`, `21:9` |\r
| `--image-size` | enum | no | `1K` | Resolution: `1K`, `2K`, `4K` |\r
\r
### video-generation\r
\r
Generate videos from text prompts using the V1 model.\r
\r
```bash\r
uv run {baseDir}/scripts/aoment_visuals.py --api-key \x3Cyour-api-key> --tool-type video-generation --prompt "sunset beach timelapse" --orientation landscape\r
```\r
\r
| Parameter | Type | Required | Default | Description |\r
|-----------|------|----------|---------|-------------|\r
| `--api-key` / `-k` | string | yes | - | Agent API Key |\r
| `--tool-type` / `-t` | string | yes | - | Must be `video-generation` |\r
| `--prompt` / `-p` | string | yes | - | Text prompt describing the desired video |\r
| `--orientation` | enum | no | `portrait` | Video orientation: `portrait` (vertical), `landscape` (horizontal) |\r
| `--resolution` | enum | no | `standard` | Resolution: `standard`, `hd`, `4k` |\r
| `--mode` | enum | no | `standard` | Generation mode: `standard`, `relaxed` |\r
| `--reference-image` | string | no | - | Reference image as Base64 data or URL (can be specified up to 2 times for first/last frame) |\r
\r
#### Video Parameter Constraints\r
\r
- Up to **2 reference images**: the 1st image is the **first frame**, the 2nd image is the **last frame**\r
- **HD resolution** only supports `landscape` orientation\r
- **Standard resolution** does not support `relaxed` mode\r
\r
### quota\r
\r
Query the remaining available generation count and daily quota for your API Key.\r
\r
```bash\r
uv run {baseDir}/scripts/aoment_quota.py --api-key \x3Cyour-api-key>\r
```\r
\r
| Parameter | Type | Required | Description |\r
|-----------|------|----------|-------------|\r
| `--api-key` / `-k` | string | yes | Agent API Key |\r
\r
> **Quota insufficient?** If your API Key's daily quota has been used up and you need more, join our community to request a quota increase:\r
> - **Discord**: [https://discord.gg/3BMzRd7bJx](https://discord.gg/3BMzRd7bJx)\r
> - **QQ Group**: 474397920 ([Join via link](https://qm.qq.com/q/9VGyXeMfUk))\r
\r
## Response Format\r
\r
Results are printed as JSON to stdout.\r
\r
### Success Response (text-to-image / image-to-image)\r
\r
```json\r
{\r
"success": true,\r
"tool_type": "text-to-image",\r
"data": {\r
"image_url": "https://cos.ap-xxx.myqcloud.com/..."\r
}\r
}\r
```\r
\r
### Success Response (video-generation)\r
\r
```json\r
{\r
"success": true,\r
"tool_type": "video-generation",\r
"data": {\r
"video_url": "https://cos.ap-xxx.myqcloud.com/..."\r
}\r
}\r
```\r
\r
### Success Response (quota)\r
\r
```json\r
{\r
"success": true,\r
"data": {\r
"remaining": 12,\r
"quota": 15,\r
"used": 3\r
}\r
}\r
```\r
\r
### Error Response\r
\r
```json\r
{\r
"success": false,\r
"error": "error description"\r
}\r
```\r
\r
### Authentication Errors\r
\r
| HTTP Status | Cause |\r
|-------------|-------|\r
| 401 | Missing or invalid API Key (key format wrong, key not found, or key revoked) |\r
| 403 | Associated user account is disabled |\r
\r
## Downloading Results\r
\r
> **IMPORTANT: About returned URLs**\r
>\r
> The `image_url` / `video_url` returned by this service are **pre-signed COS URLs**. They do **NOT** end with a simple `.jpeg` or `.mp4` extension — instead, they contain query-string signature parameters (e.g. `q-sign-algorithm`, `q-ak`, `q-signature`, etc.).\r
>\r
> **You MUST use the complete signed URL as-is for downloading or referencing.** Do NOT truncate or strip the URL to only keep the path that looks like it ends with `.jpeg` / `.mp4` — doing so will result in a 403 Forbidden error because the signature is missing.\r
>\r
> Example of a complete signed URL (use the full URL including all query parameters):\r
> ```\r
> https://xxxxx-1302252611.cos.ap-xxxxx.myqcloud.com/aura-space/xxxxx-generations/1773219641183_qa879k.jpeg?q-sign-algorithm=sha1&q-ak=AKIDYDgDfuz64sTddS5YptkNuENI0UlodFeS&q-sign-time=1773219640;1780995640&q-key-time=1773219640;1780995640&q-header-list=host&q-url-param-list=&q-signature=2a2f1af3ec32f55839242ce1ed679db297c63355\r
> ```\r
\r
On success, extract the URL from the JSON output and download with `curl`:\r
\r
```bash\r
# Download image\r
curl -L -o output.jpg "$(uv run {baseDir}/scripts/aoment_visuals.py -k \x3Cyour-api-key> -t text-to-image -p 'prompt' | python3 -c "import sys,json; print(json.load(sys.stdin)['data']['image_url'])")"\r
\r
# Or in two steps:\r
# 1. Generate\r
uv run {baseDir}/scripts/aoment_visuals.py -k \x3Cyour-api-key> -t text-to-image -p "prompt" > result.json\r
# 2. Download (image)\r
curl -L -o output.jpg "$(python3 -c "import sys,json; print(json.load(open('result.json'))['data']['image_url'])")"\r
# 2. Download (video)\r
curl -L -o output.mp4 "$(python3 -c "import sys,json; print(json.load(open('result.json'))['data']['video_url'])")"\r
```\r
\r
## Troubleshooting\r
\r
If you encounter errors when calling the API:\r
\r
1. **Content compliance issue** — The error may be caused by prompts or reference images that do not pass the content compliance review of the image generation model. You can retry directly, or slightly adjust the prompt and try again.\r
2. **Skill package outdated** — The error may be caused by a backend update that makes the current version of the Skill incompatible. Download the latest Skill package and try again: [https://www.aoment.com/downloads/aoment-visuals-skill.zip](https://www.aoment.com/downloads/aoment-visuals-skill.zip)\r
3. **Generated successfully but cannot view the media file** — If the API returns a success response and the file has been downloaded/saved, but you still cannot see or open the image or video, this is likely because the **media file management permissions** of your current OpenClaw chat application have not been fully configured. Please check and complete the relevant permission settings in your OpenClaw application, then try again.\r
4. **Still not working?** — If the problem persists, join our community for help:\r
- **Discord**: [https://discord.gg/3BMzRd7bJx](https://discord.gg/3BMzRd7bJx)\r
- **QQ Group**: 474397920 ([Join via link](https://qm.qq.com/q/9VGyXeMfUk))\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aoment-visuals - 安装完成后,直接呼叫该 Skill 的名称或使用
/aoment-visuals触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Aoment Visuals 是什么?
AI image and video generation service - supports text-to-image, image-to-image, and video generation. Automatic API key registration supported for limited-ti... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 427 次。
如何安装 Aoment Visuals?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aoment-visuals」即可一键安装,无需额外配置。
Aoment Visuals 是免费的吗?
是的,Aoment Visuals 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Aoment Visuals 支持哪些平台?
Aoment Visuals 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Aoment Visuals?
由 RegalZzz(@regalzzz)开发并维护,当前版本 v1.0.5。