{
  "schemaVersion": "1.0",
  "item": {
    "slug": "aiml-image-video",
    "name": "AIML Generate images and videos",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/aimlapihello/aiml-image-video",
    "canonicalUrl": "https://clawhub.ai/aimlapihello/aiml-image-video",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/aiml-image-video",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aiml-image-video",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "skill.json",
      "scripts/gen_image.py",
      "scripts/gen_video.py",
      "references/aimlapi-media.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/aiml-image-video"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/aiml-image-video",
    "agentPageUrl": "https://openagent3.xyz/skills/aiml-image-video/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aiml-image-video/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aiml-image-video/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "Generate images and videos via AIMLAPI with scripts that include retries, API key file fallback, verbose logs, and required User-Agent headers on every request."
      },
      {
        "title": "Quick start",
        "body": "export AIMLAPI_API_KEY=\"sk-aimlapi-...\"\npython3 {baseDir}/scripts/gen_image.py --prompt \"ultra-detailed studio photo of a lobster astronaut\"\npython3 {baseDir}/scripts/gen_video.py --prompt \"slow drone shot of a foggy forest\""
      },
      {
        "title": "Generate images",
        "body": "Use scripts/gen_image.py with /v1/images/generations.\n\npython3 {baseDir}/scripts/gen_image.py \\\n  --prompt \"cozy cabin in a snowy forest\" \\\n  --model aimlapi/openai/gpt-image-1 \\\n  --size 1024x1024 \\\n  --count 2 \\\n  --retry-max 4 \\\n  --user-agent \"openclaw-custom/1.0\" \\\n  --out-dir ./out/images"
      },
      {
        "title": "Generate videos (async AIMLAPI flow)",
        "body": "Use scripts/gen_video.py with the real async flow:\n\nPOST /v2/video/generations (create task)\nGET /v2/video/generations?generation_id=... (poll status)\ndownload video.url when status is completed\n\npython3 {baseDir}/scripts/gen_video.py \\\n  --model google/veo-3.1-t2v-fast \\\n  --prompt \"time-lapse of clouds over a mountain range\" \\\n  --poll-interval 10 \\\n  --max-wait 1000 \\\n  --user-agent \"openclaw-custom/1.0\" \\\n  --out-dir ./out/videos"
      },
      {
        "title": "References",
        "body": "references/aimlapi-media.md: endpoint notes, async polling statuses, and troubleshooting.\nREADME.md: changelog-style summary of new instructions."
      }
    ],
    "body": "AIMLAPI Media Generation\nOverview\n\nGenerate images and videos via AIMLAPI with scripts that include retries, API key file fallback, verbose logs, and required User-Agent headers on every request.\n\nQuick start\nexport AIMLAPI_API_KEY=\"sk-aimlapi-...\"\npython3 {baseDir}/scripts/gen_image.py --prompt \"ultra-detailed studio photo of a lobster astronaut\"\npython3 {baseDir}/scripts/gen_video.py --prompt \"slow drone shot of a foggy forest\"\n\nTasks\nGenerate images\n\nUse scripts/gen_image.py with /v1/images/generations.\n\npython3 {baseDir}/scripts/gen_image.py \\\n  --prompt \"cozy cabin in a snowy forest\" \\\n  --model aimlapi/openai/gpt-image-1 \\\n  --size 1024x1024 \\\n  --count 2 \\\n  --retry-max 4 \\\n  --user-agent \"openclaw-custom/1.0\" \\\n  --out-dir ./out/images\n\nGenerate videos (async AIMLAPI flow)\n\nUse scripts/gen_video.py with the real async flow:\n\nPOST /v2/video/generations (create task)\nGET /v2/video/generations?generation_id=... (poll status)\ndownload video.url when status is completed\npython3 {baseDir}/scripts/gen_video.py \\\n  --model google/veo-3.1-t2v-fast \\\n  --prompt \"time-lapse of clouds over a mountain range\" \\\n  --poll-interval 10 \\\n  --max-wait 1000 \\\n  --user-agent \"openclaw-custom/1.0\" \\\n  --out-dir ./out/videos\n\nReferences\nreferences/aimlapi-media.md: endpoint notes, async polling statuses, and troubleshooting.\nREADME.md: changelog-style summary of new instructions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/aimlapihello/aiml-image-video",
    "publisherUrl": "https://clawhub.ai/aimlapihello/aiml-image-video",
    "owner": "aimlapihello",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/aiml-image-video",
    "downloadUrl": "https://openagent3.xyz/downloads/aiml-image-video",
    "agentUrl": "https://openagent3.xyz/skills/aiml-image-video/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aiml-image-video/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aiml-image-video/agent.md"
  }
}