Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

aituber-apiaituber API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

291

周安装

12

GitHub Stars

公开资料未说明

下载量

95
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aituber-api(aituber API 搜索)
来源仓库:https://github.com/aituberapp/ai-video-skill
仓库路径:skills/aituber-api
安装命令:
npx skills add https://github.com/aituberapp/ai-video-skill --skill aituber-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aituberapp/ai-video-skill --skill aituber-api

简介

aituber-api 用于辅助 API 设计、接口文档和服务集成说明。

  • 适合梳理 endpoint、生成 OpenAPI 草稿或检查字段命名。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 需确认真实业务语义和鉴权方式,避免凭空补字段。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

AITuber API

Create AI videos from a script or idea. From 15-second Shorts to 7-minute long-form content. The API handles voice narration (1,300+ voices, any language), AI-generated visuals, word-synced captions, MP4 export, and publishing to YouTube and Instagram.

Base URL: https://app.aituber.app/api/v1 OpenAPI spec: https://app.aituber.app/api/v1/openapi.json API docs: https://app.aituber.app/api-docs

Tip: For the most up-to-date parameter details, examples, and response schemas, refer to the interactive API docs at https://app.aituber.app/api-docs when possible. The reference below covers everything you need to get started, but the docs always reflect the latest API.

Authentication

All endpoints except GET /voices require a Bearer token. Create an API key in the AITuber dashboard at https://app.aituber.app/dashboard/api-keys.

Authorization: Bearer <AITUBER_API_KEY>

Store the key in the AITUBER_API_KEY environment variable.

Complete Workflow

AITuber supports two common flows after generation:

  • Export flow: pick voice, generate video, poll status, export, download
  • Publish flow: pick voice, generate video, poll status, list channels, publish, poll publication status

Step 1: Pick a voice

curl "https://app.aituber.app/api/v1/voices?gender=male&accent=American"

No auth required. Returns an array of voice objects. Use the id field as voiceId when generating.

Step 2: Generate a video

From a script (you write the narration):

curl -X POST "https://app.aituber.app/api/v1/videos/generate" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "script": "The human brain contains roughly 86 billion neurons. Every thought, memory, and emotion is the result of electrical signals racing through this incredible network.",
    "voiceId": "nPczCjzI2devNBz1zQrb",
    "imageStyleId": "cinematic",
    "aspectRatio": "9:16"
  }'

From an idea (AI writes the script):

curl -X POST "https://app.aituber.app/api/v1/videos/generate" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "script": "5 mind-blowing facts about black holes",
    "inputType": "idea",
    "expectedDurationSeconds": 60
  }'

Returns {"videoId": "uuid", "status": "pending"}.

Step 3: Poll for completion

curl "https://app.aituber.app/api/v1/videos/VIDEO_ID" \
  -H "Authorization: Bearer $AITUBER_API_KEY"

Poll every 5-10 seconds. Generation typically takes 1-3 minutes. Wait until status is completed (or failed).

Step 4: Export to MP4

curl -X POST "https://app.aituber.app/api/v1/exports" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "videoId": "VIDEO_ID", "resolution": "1080p" }'

Exporting is free. Requires an active paid subscription. Poll GET /videos/VIDEO_ID and check exportStatus until it is completed (typically 30 seconds to 5 minutes).

Step 5: Download the MP4

curl "https://app.aituber.app/api/v1/exports/download?videoId=VIDEO_ID" \
  -H "Authorization: Bearer $AITUBER_API_KEY"

Returns {"url": "https://...", "videoId": "..."}. The URL is a signed temporary link that expires in 2 minutes. Download immediately.

Step 6: Publish to connected channels

Publishing requires channels to already be connected in the AITuber dashboard and an active paid subscription with the Publish feature. If the video is not exported yet, the API starts the export automatically.

List channels:

curl "https://app.aituber.app/api/v1/channels" \
  -H "Authorization: Bearer $AITUBER_API_KEY"

Publish:

curl -X POST "https://app.aituber.app/api/v1/publications" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "videoId": "VIDEO_ID",
    "caption": "New short is live",
    "publishNow": true,
    "channels": [
      {
        "channelId": "YOUTUBE_CHANNEL_ID",
        "title": "5 Mind-Blowing Facts",
        "tags": ["facts", "science"],
        "categoryId": "27"
      },
    ]
  }'

Poll publication status:

curl "https://app.aituber.app/api/v1/publications/PUBLICATION_ID" \
  -H "Authorization: Bearer $AITUBER_API_KEY"

Poll every 10-15 seconds until the upload reaches a stable state such as published, scheduled, or failed.

Endpoints Reference

GET /voices

List available AI voices. No auth required.

ParamTypeDescription
genderstringFilter: male, female
accentstringFilter: American, British, Australian, Indian
useCasestringFilter: narration, conversational, characters, social_media
searchstringSearch by name or description

Response: array of {id, name, description, previewUrl, gender, age, accent, useCase, optimizedFor}.

POST /videos/generate

Create a new video. Returns {videoId, status}.

Video types (all use this same endpoint):

  1. Faceless narration (images) - Default. AI images with Ken Burns animation. Just send a script or idea.
  2. Faceless narration (video clips) - AI video clips. Set mediaType: "video".
  3. Stock footage - Real stock footage matched to narration. Set mediaType: "stock".
  4. Skeleton template - Viral "what happens if..." X-ray style. Set templateId: "skeleton". Template handles mediaType/style.
  5. Character template - Character-driven stories. Set templateId: "character", inputType: "idea". Only idea mode (AI writes the script for character consistency).

Examples:

// Idea to Video (faceless images, AI writes the script)
{ "script": "5 facts about black holes", "inputType": "idea", "expectedDurationSeconds": 60 }

// Script to Video (video clips, you write the script)
{ "script": "The ocean covers over 70 percent of Earth...", "mediaType": "video" }

// Skeleton template
{ "script": "What happens if you eat 100 bananas", "templateId": "skeleton" }

// Character template
{ "script": "A detective solves a mystery in Tokyo", "templateId": "character", "inputType": "idea", "expectedDurationSeconds": 90 }

// Script with visual control (brackets tell AI what to show)
{ "script": "[A dark forest at night] The wind howled through the trees. [Glowing eyes in the shadows] Something was watching.", "imageStyleId": "cinematic" }
ParamTypeRequiredDescription
scriptstringYesNarration text (script mode) or topic (idea mode). The AI generates visuals automatically. For more control, optionally add visual instructions in brackets: [A dark forest] The wind howled. Each [bracket] tells the AI what to show for that scene.
inputTypestringNoscript (default) or idea. Character template requires idea.
voiceIdstringNoVoice ID from GET /voices. Default: "Adam"
voiceSpeednumberNo0.7 to 1.2. Default: 1.0
mediaTypestringNoimages (default), video, or stock. Ignored when using templates.
aspectRatiostringNo9:16 (default), 16:9, or 1:1
imageQualitystringNoFor images mediaType: basic (1 credit/image), good (3), premium (9), max (45). Ignored when using templates.
imageStyleIdstringNoVisual style: photorealistic (default), cinematic, anime, 3d-pixar, watercolor, comic-book, etc. Ignored when using templates.
captionStyleIdstringNowrap-1 (default), hormozi, classic, karaoke, box, minimal, handwritten, neon. Create custom styles in the dashboard.
captionsEnabledbooleanNoDefault: true
captionPositionstringNobottom (default), center, top
expectedDurationSecondsnumberNoTarget length in seconds (15-420). Required for idea mode. Max 420 (7 minutes).
templateIdstringNoskeleton or character. When using a template, do NOT send mediaType, imageStyleId, or imageQuality. The template handles these automatically.
videoQualitystringNoFor video mediaType: basic, good (default), premium

GET /videos

List your videos. Returns array sorted newest first.

ParamTypeDescription
limitnumberMax results, 1-100. Default: 50

GET /videos/{id}

Get a single video by ID. Use for polling generation and export status.

GET /subscription

Check your plan and credit balance. Returns {plan, status, credits, monthlyCredits}.

POST /exports

Export a completed video to MP4. Free, but requires an active paid subscription.

ParamTypeRequiredDescription
videoIdstringYesVideo ID (must have status: completed)
resolutionstringNo1080p (default) or 4k

GET /exports/download

Get a temporary download URL for a rendered MP4.

ParamTypeDescription
videoIdstringFinds the latest completed export for this video

The returned URL expires in 2 minutes. Download immediately.

GET /channels

List connected channels for publishing.

ParamTypeDescription
platformstringOptional filter: youtube, instagram, or all

Response items include: id, platform, platformChannelId, channelName, channelUsername, channelThumbnailUrl, subscriberCount, status, lastSyncedAt.

POST /publications

Publish a completed video to one or more connected channels. The API auto-exports to MP4 if needed.

ParamTypeRequiredDescription
videoIdstringYesVideo ID from POST /videos/generate or GET /videos
sceneExportIdstringNoOptional export ID if you already have a completed export
captionstringNoShared description/caption across platforms
publishNowbooleanNotrue (default) to publish immediately
scheduledAtstringNoRequired when publishNow is false; must be a future ISO 8601 datetime
channelsarrayYesArray of channel objects with channelId plus platform-specific settings

Per-platform channel settings:

  • YouTube: title, tags, categoryId, madeForKids
  • Instagram: instagramPlacement, shareToFeed

GET /publications/{publicationId}

Get publication status after publishing.

Response fields include: id, videoId, channelId, title, description, status, platformVideoId, platformVideoUrl, errorMessage, scheduledAt, publishedAt, createdAt.

Credit Costs

OperationCost
Image (basic)1 credit/image
Image (good)3 credits/image
Image (premium)9 credits/image
Image (max)45 credits/image
Audio narration~50 credits/minute
Video clip (4s)75 credits
Video clip (8s)150 credits
Export to MP4Free

A typical 60-second video with basic image quality costs approximately 75 credits.

Error Handling

HTTP StatusMeaning
401Missing or invalid API key
402Not enough credits. Response includes creditsRequired and creditsAvailable
403Feature requires an active paid subscription
404Resource not found
400Bad request (check error message for details)

Full Example (bash)

# 1. Check credits
curl -s "https://app.aituber.app/api/v1/subscription" \
  -H "Authorization: Bearer $AITUBER_API_KEY" | jq .

# 2. Browse voices
curl -s "https://app.aituber.app/api/v1/voices?gender=female&useCase=narration" | jq '.[0:3]'

# 3. Generate video
VIDEO_ID=$(curl -s -X POST "https://app.aituber.app/api/v1/videos/generate" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "script": "Did you know that octopuses have three hearts and blue blood?",
    "voiceId": "EXAVITQu4vr4xnSDxMaL",
    "imageStyleId": "cinematic",
    "aspectRatio": "9:16"
  }' | jq -r '.videoId')

echo "Video ID: $VIDEO_ID"

# 4. Poll until completed
while true; do
  STATUS=$(curl -s "https://app.aituber.app/api/v1/videos/$VIDEO_ID" \
    -H "Authorization: Bearer $AITUBER_API_KEY" | jq -r '.status')
  echo "Status: $STATUS"
  if [ "$STATUS" = "completed" ] || [ "$STATUS" = "failed" ]; then break; fi
  sleep 10
done

# 5. Export to MP4
curl -s -X POST "https://app.aituber.app/api/v1/exports" \
  -H "Authorization: Bearer $AITUBER_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"videoId\": \"$VIDEO_ID\"}"

# 6. Poll export status
while true; do
  EXPORT_STATUS=$(curl -s "https://app.aituber.app/api/v1/videos/$VIDEO_ID" \
    -H "Authorization: Bearer $AITUBER_API_KEY" | jq -r '.exportStatus')
  echo "Export: $EXPORT_STATUS"
  if [ "$EXPORT_STATUS" = "completed" ] || [ "$EXPORT_STATUS" = "failed" ]; then break; fi
  sleep 10
done

# 7. Download
DOWNLOAD_URL=$(curl -s "https://app.aituber.app/api/v1/exports/download?videoId=$VIDEO_ID" \
  -H "Authorization: Bearer $AITUBER_API_KEY" | jq -r '.url')

curl -L -o video.mp4 "$DOWNLOAD_URL"
echo "Downloaded: video.mp4"

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.55%
按下载量换算37

Claude

29.26%
按下载量换算28

Cursor

19.14%
按下载量换算18

Gemini CLI

8.73%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills