# Send AI Media Generation En to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "aisa-media-gen-en-skill",
    "name": "AI Media Generation En",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/bowen-dotcom/aisa-media-gen-en-skill",
    "canonicalUrl": "https://clawhub.ai/bowen-dotcom/aisa-media-gen-en-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/aisa-media-gen-en-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aisa-media-gen-en-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/media_gen_client.py"
    ],
    "downloadMode": "redirect",
    "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/aisa-media-gen-en-skill"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/aisa-media-gen-en-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/aisa-media-gen-en-skill",
    "agentUrl": "https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent.md"
  }
}
```
## Documentation

### OpenClaw Media Gen 🎬

Generate images and videos with one AIsa API key:

Image: gemini-3-pro-image-preview (Gemini GenerateContent)
Video: wan2.6-t2v (Qwen Wan 2.6 / Tongyi Wanxiang, async task)

API Reference: AIsa API Reference (all pages available at https://aisa.mintlify.app/llms.txt)

### Video Generation (WAN) - Cost Comparison

ResolutionAIsa (Contract)AIsa (Official)Bailian (Official)OpenRouter720P$0.06/sec~$0.08~$0.10❌1080P$0.09/sec~$0.12~$0.15❌Pro/Animate$0.108–0.156~$0.18~$0.25❌

Key Benefits:

25-40% cheaper than Bailian official pricing
OpenRouter doesn't support video - AIsa is the only unified API with video generation
Contract pricing available for production workloads
Single API key for both image and video generation

### Image Generation (Gemini)

"Generate a cyberpunk cityscape at night, neon lights, rainy, cinematic"

### Video Generation (Wan 2.6)

"Use a reference image to generate a 5-second shot: slow camera push-in, wind blowing hair, cinematic, shallow depth of field"

### Quick Start

export AISA_API_KEY="your-key"

### Endpoint

Base URL: https://api.aisa.one/v1
POST /models/{model}:generateContent

Documentation: google-gemini-chat (GenerateContent) at https://aisa.mintlify.app/api-reference/chat/chat-api/google-gemini-chat.md

### curl Example (returns inline_data for images)

curl -X POST "https://api.aisa.one/v1/models/gemini-3-pro-image-preview:generateContent" \\
  -H "Authorization: Bearer $AISA_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "contents":[
      {"role":"user","parts":[{"text":"A cute red panda, ultra-detailed, cinematic lighting"}]}
    ]
  }'

Note: Response may contain candidates[].parts[].inline_data (typically with base64 data and mime type); client script automatically parses and saves the file.

### Create Task

Base URL: https://api.aisa.one/apis/v1
POST /services/aigc/video-generation/video-synthesis
Header: X-DashScope-Async: enable (required for async)

Documentation: video-generation at https://aisa.mintlify.app/api-reference/aliyun/video/video-generation.md

curl -X POST "https://api.aisa.one/apis/v1/services/aigc/video-generation/video-synthesis" \\
  -H "Authorization: Bearer $AISA_API_KEY" \\
  -H "Content-Type: application/json" \\
  -H "X-DashScope-Async: enable" \\
  -d '{
    "model":"wan2.6-t2v",
    "input":{
      "prompt":"cinematic close-up, slow push-in, shallow depth of field",
      "img_url":"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/320px-Cat03.jpg"
    },
    "parameters":{
      "resolution":"720P",
      "duration":5,
      "shot_type":"single",
      "watermark":false
    }
  }'

### Poll Task Status

GET /services/aigc/tasks?task_id=...

Documentation: task at https://aisa.mintlify.app/api-reference/aliyun/video/task.md

curl "https://api.aisa.one/apis/v1/services/aigc/tasks?task_id=YOUR_TASK_ID" \\
  -H "Authorization: Bearer $AISA_API_KEY"

### Python Client

# Generate image (save to local file)
python3 {baseDir}/scripts/media_gen_client.py image \\
  --prompt "A cute red panda, cinematic lighting" \\
  --out "out.png"

# Create video task (requires img_url)
python3 {baseDir}/scripts/media_gen_client.py video-create \\
  --prompt "cinematic close-up, slow push-in" \\
  --img-url "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/320px-Cat03.jpg" \\
  --duration 5

# Poll task status
python3 {baseDir}/scripts/media_gen_client.py video-status --task-id YOUR_TASK_ID

# Wait until success (optional: print video_url on success)
python3 {baseDir}/scripts/media_gen_client.py video-wait --task-id YOUR_TASK_ID --poll 10 --timeout 600

# Wait until success and auto-download mp4
python3 {baseDir}/scripts/media_gen_client.py video-wait --task-id YOUR_TASK_ID --download --out out.mp4

### 💡 Use Cases

AI Agents: Automate visual content generation for social media, marketing materials
Content Creators: Generate custom images and videos programmatically
Developers: Build apps with multimodal generation capabilities
Businesses: Cost-effective alternative to Bailian with better pricing

### 🚀 Why AIsa for Media Generation?

Unified API: Single key for both images (Gemini) and videos (WAN)
Best Pricing: 25-40% cheaper than alternatives
Production Ready: Contract pricing and enterprise support available
No Competition: OpenRouter doesn't support video generation
Simple Integration: Python client with async task management built-in
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: bowen-dotcom
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/aisa-media-gen-en-skill)
- [Send to Agent page](https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/aisa-media-gen-en-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/aisa-media-gen-en-skill)