Paul de Lavallaz

Sora Video Generation

Design & Mediav1.0.1
By Paul de LavallazUpdated 2026-05-17sora@clawhub_pauldelavallaz/sora
Video#Video Generation#Animation#Image Generation#Prompt

According to AlphaMoat, as of 2026-09, Sora Video Generation has 2,839 downloads and 2 stars — ranked #3,840 of 5,078 AI skills overall, and #367 of 512 in Design & Media.

Installs
209
Downloads
2.8K
Stars
2
Overall Rank
#3,840
Top 76% overall · Top 72% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗812.7K2-
SkillHub ↗2092.8K2—

Platforms count differently and update at different times.

What this skill does

It fits text-to-video, image-to-video (animating a still), cinematic or artistic content, and motion without lip-sync; the documentation explicitly rules it out for lip-sync talking heads (use veed-ugc or ugc-manual), pure image generation (use nano-banana-pro or morpheus), editing existing videos (use Remotion), and UGC-style talking heads (use veed-ugc). It calls POST https://api.openai.com/v1/videos with prompt (required), input_reference (optional guiding image), model (sora-2 or sora-2-pro, default sora-2), seconds (4, 8, or 12), and size (720x1280, 1280x720, 1024x1792, 1792x1024). The generate_video.py script defaults to 8 seconds, 720x1280, and a 10-second poll interval, with the API key passed via OPENAI_API_KEY or --api-key. Documented notes: image dimensions must match the video size exactly (the script auto-resizes); generation typically takes 1-3 minutes; videos expire after about 1 hour so they should be downloaded immediately; and a typical 8-second file is 1.5-3MB. The accompanying skill-card warns that prompts and optional reference images are sent to OpenAI, that passing an API key on the command line can expose credentials through shell history or process inspection (prefer the environment or a secret manager), that dependencies declare lower bounds rather than locked versions, and that Python 3.10 or later plus network access to OpenAI APIs are required. Prompts and reference images are sent to OpenAI; use content you are authorized to process. Prefer environment or secret-manager key handling over command-line arguments.

Profile published 2026-10-27

What you can do with it

  • Generate MP4 videos from text prompts
  • Animate a still reference image into video
  • Create cinematic or product-shot footage

When to use it

  • When text- or image-driven AI video is needed and lip-sync is not

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Generate an 8-second cinematic video from this reference image
Create a 12-second dusk mountain establishing shot

Monthly Trend

Downloads2.8K
1.3K2.1K3.0K2026-03 · Downloads 1.4K2026-05 · Downloads 1.9K2026-06 · Downloads 2.1K2026-07 · Downloads 2.4K2026-08 · Downloads 2.6K2026-09 · Downloads 2.8K26-0326-09
Stars2
1232026-03 · Stars 22026-05 · Stars 22026-06 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.8K—2
2026-082.6K+7.0%2
2026-072.4K+13.9%2
2026-062.1K+9.4%2
2026-051.9K—2
2026-031.4K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.8 KB · ClawHub v1.0.1
---
name: sora
description: |
  Generate videos from text prompts or reference images using OpenAI Sora.
  
  ✅ USE WHEN:
  - Need AI-generated video from text description
  - Want image-to-video (animate a still image)
  - Creating cinematic/artistic video content
  - Need motion/animation without lip-sync
Show all (129 lines)
  
  ❌ DON'T USE WHEN:
  - Need lip-sync (person speaking) → use veed-ugc or ugc-manual
  - Just need image generation → use nano-banana-pro or morpheus
  - Editing existing videos → use Remotion
  - Need UGC-style talking head → use veed-ugc
  
  INPUT: Text prompt + optional reference image
  OUTPUT: MP4 video (various resolutions/durations)
---

# Sora Video Generation

Generate videos using OpenAI's Sora API.

## API Reference

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

### Parameters

| Parameter | Values | Description |
|-----------|--------|-------------|
| `prompt` | string | Text description of the video (required) |
| `input_reference` | file | Optional image that guides generation |
| `model` | `sora-2`, `sora-2-pro` | Model to use (default: sora-2) |
| `seconds` | `4`, `8`, `12` | Video duration (default: 4) |
| `size` | `720x1280`, `1280x720`, `1024x1792`, `1792x1024` | Output 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

```bash
# 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

| Flag | Description | Default |
|------|-------------|---------|
| `--prompt`, `-p` | Video description (required) | - |
| `--filename`, `-f` | Output file path (required) | - |
| `--input-image`, `-i` | Reference image path | None |
| `--seconds`, `-s` | Duration: 4, 8, or 12 | 8 |
| `--size`, `-sz` | Resolution | 720x1280 |
| `--model`, `-m` | sora-2 or sora-2-pro | sora-2 |
| `--api-key`, `-k` | OpenAI API key | env var |
| `--poll-interval` | Check status every N seconds | 10 |

## API Key

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

## Prompt Engineering for Video

### Good prompts include:

1. **Camera movement**: dolly, pan, zoom, tracking shot
2. **Motion description**: swirling, rising, falling, shifting
3. **Lighting**: golden hour, candlelight, dramatic rim lighting
4. **Atmosphere**: steam, particles, bokeh, haze
5. **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

1. Generate image with Nano Banana Pro (or use existing)
2. Pass image as `--input-image` to Sora
3. Write prompt describing desired motion/atmosphere
4. 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

Popular in Design & Media

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.