AI image and video generation service - supports text-to-image, image-to-image, and video generation. Automatic API key registration supported for limited-time free access.
将以下命令发送给 AI 助手,AI 将获取安装索引后完成安装:
curl …/skills/aoment-image-video/download,然后按照返回的 Markdown 文件清单完成 Aoment Image Video 的安装AI image and video generation service powered by Aoment AI. Supports three capabilities: text-to-image, image-to-image, and video generation. Automatic API key registration supported for limited-time free access.
Download the latest aoment-image-video Skill package: [https://www.aoment.com/downloads/aoment-image-video-skill.zip](https://www.aoment.com/downloads/aoment-image-video-skill.zip)
version: 1.0.0
Before each invocation of this Skill, the Python script will check whether your local Skill package is up to date:
1. The script reads the version field from this section of SKILL.md (located at ../SKILL.md relative to the script).
2. It queries the remote version API: GET {api_base}/api/skills/aoment-image-video/version (5-second timeout).
3. It compares the local version with the remote latest version (semver comparison).
Behavior:
update_required JSON error with the current version and latest version, then exit with code 1. You must download and install the latest Skill package before retrying.
Update required output example:
{
"success": false,
"error": "update_required",
"current_version": "1.0.0",
"latest_version": "1.1.0",
"message": "Skill 版本过旧(当前 1.0.0,最新 1.1.0),请下载最新版本后重试。"
}
To update, download the latest Skill package from the link above and replace the local files.
# 1. Register an Agent account and get your API Key
uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"
# 2. Generate an image
uv run {baseDir}/scripts/aoment_image_video.py -k <your-api-key> -t text-to-image -p "a cute cat playing in a garden"
# 3. Check remaining quota
uv run {baseDir}/scripts/aoment_quota.py -k <your-api-key>
This skill requires an Agent API Key for authentication. All API requests must include a valid key via the Authorization: Bearer <api_key> header.
The API Key format is aoment_ followed by 32 hex characters (e.g. aoment_a3f8e1b2c4d6e8f0a1b3c5d7e9f0a1b2).
AI Agent Bots can register directly via CLI to obtain an API Key — no web login required:
uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"
> 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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| --nickname / -n | string | yes | Agent display name (max 16 characters). Make it fun and distinctive! |
| --api-base | string | no | API base URL (default: https://www.aoment.com) |
Or register via API directly:
curl -X POST https://www.aoment.com/api/skills/aoment-image-video/register-agent \
-H "Content-Type: application/json" \
-d '{"nickname": "MyBot"}'
Registration Response:
{
"success": true,
"data": {
"username": "agent_a1b2c3d4e5f6...",
"nickname": "MyBot",
"api_key": "aoment_a3f8e1b2c4d6e8f0a1b3c5d7e9f0a1b2"
}
}
Save the returned api_key — it is used for all subsequent skill API calls.
Generate images from text prompts using the N2 model.
uv run {baseDir}/scripts/aoment_image_video.py --api-key <your-api-key> --tool-type text-to-image --prompt "a cute cat playing in a garden" --aspect-ratio 1:1 --image-size 1K
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| --api-key / -k | string | yes | - | Agent API Key |
| --tool-type / -t | string | yes | - | Must be text-to-image |
| --prompt / -p | string | yes | - | Text prompt describing the desired image |
| --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 |
| --image-size | enum | no | 1K | Resolution: 1K, 2K, 4K |
Generate new images from a reference image and text prompt using the N2 model.
uv run {baseDir}/scripts/aoment_image_video.py --api-key <your-api-key> --tool-type image-to-image --prompt "change the background to a beach" --reference-image "https://example.com/photo.jpg"
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| --api-key / -k | string | yes | - | Agent API Key |
| --tool-type / -t | string | yes | - | Must be image-to-image |
| --prompt / -p | string | yes | - | Text prompt describing the desired transformation |
| --reference-image | string | yes | - | Reference image as Base64 data or URL |
| --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 |
| --image-size | enum | no | 1K | Resolution: 1K, 2K, 4K |
Generate videos from text prompts using the V1 model.
uv run {baseDir}/scripts/aoment_image_video.py --api-key <your-api-key> --tool-type video-generation --prompt "sunset beach timelapse" --orientation landscape
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| --api-key / -k | string | yes | - | Agent API Key |
| --tool-type / -t | string | yes | - | Must be video-generation |
| --prompt / -p | string | yes | - | Text prompt describing the desired video |
| --orientation | enum | no | portrait | Video orientation: portrait (vertical), landscape (horizontal) |
| --resolution | enum | no | standard | Resolution: standard, hd, 4k |
| --mode | enum | no | standard | Generation mode: standard, relaxed |
| --reference-image | string | no | - | Reference image as Base64 data or URL (can be specified up to 2 times for first/last frame) |
#### Video Parameter Constraints
landscape orientation
relaxed mode
Query the remaining available generation count and daily quota for your API Key.
uv run {baseDir}/scripts/aoment_quota.py --api-key <your-api-key>
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| --api-key / -k | string | yes | Agent API Key |
> 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:
> - Discord: [https://discord.gg/3BMzRd7bJx](https://discord.gg/3BMzRd7bJx)
> - QQ Group: 474397920 ([Join via link](https://qm.qq.com/q/9VGyXeMfUk))
Results are printed as JSON to stdout.
{
"success": true,
"tool_type": "text-to-image",
"data": {
"image_url": "https://cos.ap-xxx.myqcloud.com/..."
}
}
{
"success": true,
"tool_type": "video-generation",
"data": {
"video_url": "https://cos.ap-xxx.myqcloud.com/..."
}
}
{
"success": true,
"data": {
"remaining": 12,
"quota": 15,
"used": 3
}
}
{
"success": false,
"error": "error description"
}
| HTTP Status | Cause |
|-------------|-------|
| 401 | Missing or invalid API Key (key format wrong, key not found, or key revoked) |
| 403 | Associated user account is disabled |
> IMPORTANT: About returned URLs
>
> 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.).
>
> 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.
>
> Example of a complete signed URL (use the full URL including all query parameters):
>
> 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
On success, extract the URL from the JSON output and download with curl:
# Download image
curl -L -o output.jpg "$(uv run {baseDir}/scripts/aoment_image_video.py -k <your-api-key> -t text-to-image -p 'prompt' | python3 -c "import sys,json; print(json.load(sys.stdin)['data']['image_url'])")"
# Or in two steps:
# 1. Generate
uv run {baseDir}/scripts/aoment_image_video.py -k <your-api-key> -t text-to-image -p "prompt" > result.json
# 2. Download (image)
curl -L -o output.jpg "$(python3 -c "import sys,json; print(json.load(open('result.json'))['data']['image_url'])")"
# 2. Download (video)
curl -L -o output.mp4 "$(python3 -c "import sys,json; print(json.load(open('result.json'))['data']['video_url'])")"
If you encounter errors when calling the API:
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.
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-image-video-skill.zip](https://www.aoment.com/downloads/aoment-image-video-skill.zip)
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.
4. Still not working? — If the problem persists, join our community for help:
- Discord: [https://discord.gg/3BMzRd7bJx](https://discord.gg/3BMzRd7bJx)
- QQ Group: 474397920 ([Join via link](https://qm.qq.com/q/9VGyXeMfUk))
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.