IMA Seedance 2.0 Video Generator

by IMA Studio (imastudio.com)

>

View Chinese version with editor review

安装

claude skill add --url https://github.com/openclaw/skills

必需环境变量

IMA_API_KEY

必需命令行工具

python3ffmpegffprobe

文档

IMA Seedance 2.0 — OpenClaw Calling Protocol

Hard Rule

OpenClaw must call scripts/ima_video_create.py.

OpenClaw must not:

  • build /open/v1/tasks/create payloads
  • compute attribute_id
  • compute credit
  • build src_img_url
  • build src_image
  • build src_video
  • build src_audio

Required Read Order

  1. references/protocols/execution.md
  2. references/protocols/event-stream.md
  3. On demand:

Supported User Intents

  • text-to-video
  • image-to-video
  • first-last-frame transition
  • reference-image-to-video
  • multimodal reference-image-to-video with image / video / audio inputs

Input Entry Points

  • --prompt
  • --model-id
  • --task-type when explicit task type is required
  • --input-images
  • --reference-image
  • --reference-video
  • --reference-audio
  • --extra-params

Stop Conditions

Stop before task creation if:

  • prompt is missing
  • model cannot be resolved
  • reference media preflight validation fails
  • any reference media compliance verification fails
  • create-task returns a hard failure

Task Type Rules

Input patterntask_type
text onlytext_to_video
one imageimage_to_video
explicit first-last-frame with 2 imagesfirst_last_frame_to_video
any video inputreference_image_to_video
any audio inputreference_image_to_video
multiple images without explicit first-last-frame intentreference_image_to_video

Model ID Reference (CRITICAL)

Use exact model_id from this table. Do NOT infer from friendly names.

Friendly Namemodel_idNotes
Seedance 2.0ima-pro✅ Quality priority, 300~900s
Seedance 2.0 Fastima-pro-fast⚠️ Speed priority, 120~600s

User input aliases:

  • Quality/Professional/Pro/专业版/高质量 → ima-pro
  • Fast/Speed/Quick/极速/快速 → ima-pro-fast
  • Default/默认 → ima-pro

Model Selection Priority

  1. User preference (if explicitly stated) → highest priority
  2. Fallback default: ima-pro
TaskDefaultFast Alternative
text_to_videoima-proima-pro-fast
image_to_videoima-proima-pro-fast
first_last_frame_to_videoima-proima-pro-fast
reference_image_to_videoima-proima-pro-fast

Minimal Invocation Examples

bash
# Text to video
python3 {baseDir}/scripts/ima_video_create.py \
  --prompt "a puppy runs across a sunny meadow, cinematic"

# Single image
python3 {baseDir}/scripts/ima_video_create.py \
  --prompt "camera slowly zooms in" \
  --input-images https://example.com/photo.jpg \
  --model-id ima-pro-fast

# Explicit first-last-frame
python3 {baseDir}/scripts/ima_video_create.py \
  --task-type first_last_frame_to_video \
  --prompt "smooth transition" \
  --input-images https://example.com/first.jpg https://example.com/last.jpg

# Multimodal reference mode
python3 {baseDir}/scripts/ima_video_create.py \
  --reference-image https://example.com/product.jpg \
  --reference-video https://example.com/clip.mp4 \
  --reference-audio https://example.com/narration.mp3 \
  --model-id ima-pro-fast

References