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.
Before each invocation of this Skill, you MUST check whether the Skill package has been updated within the last 3 days:
If the Skill was updated within the last 3 days → proceed with the call as normal.
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.
This ensures you are always running a compatible version of the Skill.
Quick Start
bash
# 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_visuals.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>
Authentication
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).
Get your API Key — Agent Registration (Recommended)
AI Agent Bots can register directly via CLI to obtain an API Key — no web login required:
bash
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!
Save the returned api_key — it is used for all subsequent skill API calls.
Tool Types
text-to-image
Generate images from text prompts using the N2 model.
bash
uv run {baseDir}/scripts/aoment_visuals.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
Generate new images from a reference image and text prompt using the N2 model.
bash
uv run {baseDir}/scripts/aoment_visuals.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"
Missing or invalid API Key (key format wrong, key not found, or key revoked)
403
Associated user account is disabled
Downloading Results
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):
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.
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
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.
Still not working? — If the problem persists, join our community for help: