← 返回 Skills 市场
regalzzz

Aoment Image Video

作者 RegalZzz · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
294
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install aoment-image-video
功能描述
Limited free access is available to model resources such as Nano Banana Pro, Nano Banana 2, and GPT Image 2 provided by Aoment AI for AI image, video, and HD...
使用说明 (SKILL.md)

aoment-image-video

AI generation service powered by Aoment AI. This skill exposes dedicated skill APIs and scripts for:

  • text-to-image
  • image-to-image
  • video generation
  • image HD repair/upscale

Download the latest package: https://www.aoment.com/downloads/aoment-image-video-skill.zip

Current Version

version: 1.1.0

Auto-Update Policy

Before each invocation, the Python scripts read the version field above and query:

GET https://www.aoment.com/api/skills/aoment-image-video/version

If the local version is behind the remote version, the script exits with:

{
  "success": false,
  "error": "update_required",
  "current_version": "1.0.0",
  "latest_version": "1.1.0",
  "message": "Skill version is outdated..."
}

If the version check fails because of a network problem, the script continues normally.

Quick Start

# 1. Register an Agent account and get your API Key
uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"

# 2. Generate an image with the default N2-Fast model
uv run {baseDir}/scripts/aoment_image_video.py -k \x3Cyour-api-key> -t text-to-image -p "a cute cat playing in a garden"

# 3. Repair/upscale an image
uv run {baseDir}/scripts/aoment_hd_repair.py -k \x3Cyour-api-key> --image ./input.png --resolution 4K

# 4. Check remaining quota
uv run {baseDir}/scripts/aoment_quota.py -k \x3Cyour-api-key>

Authentication

This skill requires an Agent API Key via:

Authorization: Bearer \x3Capi_key>

The API Key format is aoment_ followed by 32 hex characters.

Get your API Key - Agent Registration

AI Agent Bots can register directly via CLI. No web login is required:

uv run {baseDir}/scripts/aoment_register.py --nickname "MyBot"
Parameter Type Required Description
--nickname / -n string yes Agent display name, max 16 characters
--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_a1b2c3d4...",
    "nickname": "MyBot",
    "api_key": "aoment_a3f8e1b2c4d6e8f0a1b3c5d7e9f0a1b2"
  }
}

Save the returned api_key; it is used for all subsequent skill calls.

Tools

Available Models

Use the model ID exactly as shown in the --model parameter.

Image Models

Model ID Description
image-n2-fast Default image model. Faster N2-Fast image generation and editing, no watermark.
image-n2 N2 image generation and editing, fast, stricter single-reference image size limit, no watermark.
image-n1-fast Faster N1-Fast image generation and editing, no watermark.
image-n1 N1 image generation and editing, slower, looser single-reference image size limit, no watermark.
image-o2 Image generation and editing with stronger aesthetics, good Chinese-language rendering, newer knowledge data, no watermark, and currently limited clarity near 1.5K.

Tip: N-series models use Nano Banana Pro, N-Fast-series models use Nano Banana 2, and O-series models use GPT Image 2.

Video Models

Model ID Description
video-v1 Default and currently supported video generation model.

text-to-image

Generate images from a text prompt. The default model is image-n2-fast (N2-Fast).

uv run {baseDir}/scripts/aoment_image_video.py \
  --api-key \x3Cyour-api-key> \
  --tool-type text-to-image \
  --prompt "a cinematic robot painter in a bright studio" \
  --aspect-ratio 1:1 \
  --image-size 1K
Parameter Type Required Default Description
--api-key / -k string yes - Agent API Key
--tool-type / -t enum yes - text-to-image
--prompt / -p string yes - Text prompt
--model string no image-n2-fast Image model ID. Available values: image-n2-fast, image-n2, image-n1-fast, image-n1, image-o2
--aspect-ratio string no auto 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 1K, 2K, 4K

image-to-image

Generate a new image from a prompt and a reference image. The reference image can be a URL or base64 image data.

uv run {baseDir}/scripts/aoment_image_video.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"
Parameter Type Required Default Description
--api-key / -k string yes - Agent API Key
--tool-type / -t enum yes - image-to-image
--prompt / -p string yes - Transformation prompt
--reference-image string yes - Reference image as URL or base64 data
--model string no image-n2-fast Image model ID. Available values: image-n2-fast, image-n2, image-n1-fast, image-n1, image-o2
--aspect-ratio string no auto Output aspect ratio
--image-size enum no 1K 1K, 2K, 4K

video-generation

Generate a video from a prompt. The default and currently supported video model is video-v1.

uv run {baseDir}/scripts/aoment_image_video.py \
  --api-key \x3Cyour-api-key> \
  --tool-type video-generation \
  --prompt "sunset beach timelapse" \
  --orientation landscape \
  --resolution standard
Parameter Type Required Default Description
--api-key / -k string yes - Agent API Key
--tool-type / -t enum yes - video-generation
--prompt / -p string yes - Video prompt
--model string no video-v1 Video model ID. Available value: video-v1
--orientation enum no portrait portrait or landscape
--resolution enum no standard standard, hd, 4k
--mode string no standard Compatibility option; current backend uses standard mode
--reference-image string no - Reference image as URL or base64 data; can be passed up to 2 times

hd-repair

Repair and upscale an image. This is provided by a separate script:

uv run {baseDir}/scripts/aoment_hd_repair.py \
  --api-key \x3Cyour-api-key> \
  --image ./input.png \
  --resolution 4K
Parameter Type Required Default Description
--api-key / -k string yes - Agent API Key
--image / -i string yes - Local path, URL, or base64 image data
--resolution enum no 4K 2K, 4K, 8K
--model string no image-hd-repair Only image-hd-repair is supported

Quota

Query remaining daily generation quota:

uv run {baseDir}/scripts/aoment_quota.py --api-key \x3Cyour-api-key>
Parameter Type Required Description
--api-key / -k string yes Agent API Key

If your daily quota is used up and you need more, join the community:

Response Format

All scripts print JSON to stdout.

Successful text-to-image or image-to-image:

{
  "success": true,
  "tool_type": "text-to-image",
  "data": {
    "image_url": "https://cos.example.com/result.jpg?..."
  }
}

Successful video generation:

{
  "success": true,
  "tool_type": "video-generation",
  "data": {
    "video_url": "https://cos.example.com/result.mp4?..."
  }
}

Successful HD repair:

{
  "success": true,
  "tool_type": "hd-repair",
  "data": {
    "image_url": "https://cos.example.com/hd-repair-result.png?..."
  }
}

Successful quota query:

{
  "success": true,
  "data": {
    "remaining": 12,
    "quota": 15,
    "used": 3
  }
}

Error response:

{
  "success": false,
  "error": "error description"
}

Downloading Results

Returned image_url and video_url values are pre-signed COS URLs. Use the complete URL exactly as returned, including all query parameters. Do not strip the query string.

Example:

uv run {baseDir}/scripts/aoment_image_video.py \
  -k \x3Cyour-api-key> \
  -t text-to-image \
  -p "prompt" > result.json

curl -L -o output.jpg "$(python3 -c "import json; print(json.load(open('result.json'))['data']['image_url'])")"

Troubleshooting

  1. If a request fails because of content policy, revise the prompt or reference image and retry.
  2. If the script returns update_required, download and install the latest skill package.
  3. If a generated URL cannot be opened, make sure your application preserves the full signed URL.
  4. For help, join the Discord or QQ community listed above.
安全使用建议
This package is coherent for an image/video client: it requires you to supply or obtain an Agent API key and then calls https://www.aoment.com endpoints for generation, repair, quota, and registration. Before installing or using with real credentials: 1) verify you trust aoment.com (the package's source/homepage is unknown); 2) test with a throwaway/limited API key first; 3) be aware each invocation may make network requests (including a version check to /api/skills/aoment-image-video/version); 4) note the small naming mismatch in the SKILL.md vs. scripts for the returned API key ("api_key" vs "apiKey") which may require manual extraction or adaptation; and 5) review the license and confirm it matches your usage requirements. If you need higher assurance, ask the publisher for a canonical homepage or API spec and confirm the JSON field names the API actually returns.
功能分析
Type: OpenClaw Skill Name: aoment-image-video Version: 1.1.0 The skill bundle provides a legitimate interface for AI image and video generation services via the Aoment AI API. The Python scripts (aoment_image_video.py, aoment_hd_repair.py, aoment_register.py, and aoment_quota.py) implement standard API interactions using the requests library, including image uploading and status checking. While the scripts include a version-check mechanism that exits if the local version is outdated, this behavior is clearly documented in SKILL.md and does not involve automatic execution of remote code or unauthorized data exfiltration. All network traffic is directed to the official domain (www.aoment.com).
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name and description match the included Python scripts: text-to-image, image-to-image, video generation, HD repair, quota query and agent registration. The scripts only call https://www.aoment.com API endpoints — no unrelated cloud provider credentials or system-level access are requested.
Instruction Scope
SKILL.md instructs the agent to run the included CLI scripts and provide an Agent API key. The scripts read the local SKILL.md to check version, accept images as files/URLs/base64, and make network calls to the documented endpoints. They do not read other system files or unexpected environment variables.
Install Mechanism
There is no install spec (instruction-only) which minimizes install-time risk, but the skill ships four Python scripts in the bundle. The scripts have normal dependencies (requests). No remote code is downloaded or executed automatically by the scripts; the SKILL.md contains a download link but the scripts only perform a version check and do not auto-download code.
Credentials
The skill requests no environment variables and requires the user to supply an Agent API key via CLI. This is proportionate. Minor inconsistency: SKILL.md example registration response uses key name "api_key" while scripts/aoment_register.py expects a camelCase "apiKey" field — this may cause confusion or missing API key extraction depending on the actual API response format.
Persistence & Privilege
always is false and the skill does not write or modify global agent configuration. It only reads SKILL.md locally for a version string and exits if out-of-date; it does not enable itself or change other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aoment-image-video
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aoment-image-video 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
**Summary:** Version 1.1.0 adds HD image repair/upscale support and updates documentation for expanded model and tool coverage. - Added a new script: `scripts/aoment_hd_repair.py` for image HD repair/upscale. - Expanded SKILL.md documentation to include usage and parameters for the new HD repair tool. - Updated model descriptions and available tool types. - Refreshed getting started and usage examples to reflect new capabilities.
v1.0.0
- Initial release of the aoment-image-video skill (version 1.0.0) - Renamed the skill from aoment-visuals to aoment-image-video - Replaced script: added scripts/aoment_image_video.py, removed scripts/aoment_visuals.py - Updated documentation with a new auto-update/version check policy and instructions - All previous features for text-to-image, image-to-image, and video-generation are retained
v1.0.5
Automatic API key registration supported for limited-time free access
元数据
Slug aoment-image-video
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Aoment Image Video 是什么?

Limited free access is available to model resources such as Nano Banana Pro, Nano Banana 2, and GPT Image 2 provided by Aoment AI for AI image, video, and HD... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 294 次。

如何安装 Aoment Image Video?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aoment-image-video」即可一键安装,无需额外配置。

Aoment Image Video 是免费的吗?

是的,Aoment Image Video 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Aoment Image Video 支持哪些平台?

Aoment Image Video 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aoment Image Video?

由 RegalZzz(@regalzzz)开发并维护,当前版本 v1.1.0。

💬 留言讨论