# Send Sora Video Generation 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sora",
    "name": "Sora Video Generation",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/PauldeLavallaz/sora",
    "canonicalUrl": "https://clawhub.ai/PauldeLavallaz/sora",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sora",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sora",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/generate_video.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "sora",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T17:12:41.126Z",
      "expiresAt": "2026-05-07T17:12:41.126Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sora",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sora",
        "contentDisposition": "attachment; filename=\"sora-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sora"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sora"
    },
    "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/sora",
    "downloadUrl": "https://openagent3.xyz/downloads/sora",
    "agentUrl": "https://openagent3.xyz/skills/sora/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sora/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sora/agent.md"
  }
}
```
## Documentation

### Sora Video Generation

Generate videos using OpenAI's Sora API.

### API Reference

Endpoint: POST https://api.openai.com/v1/videos

### Parameters

ParameterValuesDescriptionpromptstringText description of the video (required)input_referencefileOptional image that guides generationmodelsora-2, sora-2-proModel to use (default: sora-2)seconds4, 8, 12Video duration (default: 4)size720x1280, 1280x720, 1024x1792, 1792x1024Output resolution

### Important Notes

Image dimensions must match video size exactly - the script auto-resizes
Video generation takes 1-3 minutes typically
Videos expire after ~1 hour - download immediately

### Usage

# Basic text-to-video
uv run ~/.clawdbot/skills/sora/scripts/generate_video.py \\
  --prompt "A cat playing piano" \\
  --filename "output.mp4"

# Image-to-video (auto-resizes image)
uv run ~/.clawdbot/skills/sora/scripts/generate_video.py \\
  --prompt "Slow dolly shot, steam rising, warm lighting" \\
  --filename "output.mp4" \\
  --input-image "reference.png" \\
  --seconds 8 \\
  --size 720x1280

# With specific model
uv run ~/.clawdbot/skills/sora/scripts/generate_video.py \\
  --prompt "Cinematic scene" \\
  --filename "output.mp4" \\
  --model sora-2-pro \\
  --seconds 12

### Script Parameters

FlagDescriptionDefault--prompt, -pVideo description (required)---filename, -fOutput file path (required)---input-image, -iReference image pathNone--seconds, -sDuration: 4, 8, or 128--size, -szResolution720x1280--model, -msora-2 or sora-2-prosora-2--api-key, -kOpenAI API keyenv var--poll-intervalCheck status every N seconds10

### API Key

Set OPENAI_API_KEY environment variable or pass --api-key.

### Good prompts include:

Camera movement: dolly, pan, zoom, tracking shot
Motion description: swirling, rising, falling, shifting
Lighting: golden hour, candlelight, dramatic rim lighting
Atmosphere: steam, particles, bokeh, haze
Mood/style: cinematic, commercial, lifestyle, editorial

### Example prompts:

Food commercial:

Slow dolly shot of gourmet dish, soft morning sunlight streaming through window, 
subtle steam rising, warm cozy atmosphere, premium food commercial aesthetic

Lifestyle:

Golden hour light slowly shifting across mountains, gentle breeze rustling leaves, 
serene morning atmosphere, premium lifestyle commercial

Product shot:

Cinematic close-up, dramatic lighting with warm highlights, 
slow reveal, luxury commercial style

### Workflow: Image → Video

Generate image with Nano Banana Pro (or use existing)
Pass image as --input-image to Sora
Write prompt describing desired motion/atmosphere
Script auto-resizes image to match video dimensions

### Output

Videos saved as MP4
Typical file size: 1.5-3MB for 8 seconds
Resolution matches --size parameter
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: PauldeLavallaz
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T17:12:41.126Z
- Expires at: 2026-05-07T17:12:41.126Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sora)
- [Send to Agent page](https://openagent3.xyz/skills/sora/agent)
- [JSON manifest](https://openagent3.xyz/skills/sora/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sora/agent.md)
- [Download page](https://openagent3.xyz/downloads/sora)