← 返回
未分类 Key 中文

OATDA Video Status

Check the status of an asynchronous video generation task from OATDA. Triggers when the user wants to check if a video is done generating, retrieve the video...
检查 OATDA异步视频生成任务的状态。当用户想查看视频是否已生成或获取视频时触发。
devcsde devcsde 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 354
下载
💾 0
安装
1
版本
#latest

概述

OATDA Video Status

Check the status of asynchronous video generation tasks. Companion to oatda-generate-video.

API Key Resolution

All commands need the OATDA API key. Resolve it inline for each exec call:

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}"

If the key is empty or null, tell the user to get one at https://oatda.com and configure it.

Security: Never print the full API key. Only verify existence or show first 8 chars.

Prerequisites

The user must provide a task ID from a previous oatda-generate-video call. If they don't have one, tell them to generate a video first.

API Call

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}" && \
curl -s -X GET "https://oatda.com/api/v1/llm/video-status/<TASK_ID>" \
  -H "Authorization: Bearer $OATDA_API_KEY"

Replace with the actual task ID. URL-encode if it contains special characters.

Response Format

{
  "taskId": "minimax-T2V01-abc123def456",
  "status": "completed",
  "videoUrl": "https://cdn.example.com/video.mp4",
  "directVideoUrl": "https://cdn.example.com/video-direct.mp4",
  "provider": "minimax",
  "model": "T2V-01",
  "createdAt": "2026-01-15T10:30:00Z",
  "completedAt": "2026-01-15T10:32:15Z",
  "costs": {
    "totalCost": 0.05,
    "currency": "USD"
  }
}

Status Handling

StatusWhat to tell the user
------------------------------
pending"Your video is queued and hasn't started yet. Check again in a minute."
processing"Your video is being generated. Check again in a minute."
completed"Your video is ready!" — show videoUrl (or directVideoUrl). Mention cost if available.
failed"Video generation failed." — show errorMessage if present. Suggest retrying with different prompt.

Error Handling

HTTP StatusMeaningAction
------------------------------
401Invalid API keyTell user to check their key
404Task not foundVerify task ID is correct. Tasks may expire.
429Rate limitedWait and retry

Example

User: "Check status of video task minimax-T2V01-abc123"

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}" && \
curl -s -X GET "https://oatda.com/api/v1/llm/video-status/minimax-T2V01-abc123" \
  -H "Authorization: Bearer $OATDA_API_KEY"

If completed: "Your video is ready! Download: — Cost: $0.05"

If processing: "Still generating. Try again in about a minute."

Notes

  • This is a GET request — no request body needed
  • Video generation typically takes 30 seconds to 5 minutes
  • Video URLs may be temporary — recommend downloading promptly
  • If processing, suggest waiting 30-60 seconds before rechecking
  • Use oatda-generate-video to start a new video generation

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-07 08:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,490 📥 555,583
design-media

OATDA Generate Image

devcsde
使用 OATDA 统一 API,调用 AI 模型将文本描述转化为图像;在用户请求生成、创建或制作 AI 图像时触发。
★ 0 📥 443
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 323,708