ShoafSystems

Image and Video Generation with Vydra API

設計創意v1.0.0
作者:ShoafSystems更新於 2026-05-11image-and-video-generation-vydra@clawhub_shoafsystems/image-and-video-generation-vydra
圖片生成影片處理#Video Generation

據 AlphaMoat 統計,截至 2026-09,Image and Video Generation with Vydra API 累計下載 2,364 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 4,202 位,在「設計創意」分類(512 個)中排名第 413 位。

累計安裝
122
累計下載
2364
星標
2
全站排名
#4,202
全站前 83% · 「設計創意」前 81%
平台累計安裝累計下載星標評論
ClawHub ↗6222152-
SkillHub ↗12223642—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文還描述了圖像編輯、額度查詢和購買額度等介面。使用前應核實請求內容、API 金鑰和計費情況;不要向非 Vydra 域名傳送金鑰。

資料釋出於 2026-10-29

可以用來做什麼

  • 透過 Vydra API 請求圖像、影片或語音生成

什麼時候用

  • 需要在同一 API 工作流中使用多種媒體生成能力時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

概述 Vydra API 提供的媒體能力,並說明如何謹慎處理金鑰和計費。

月度資料趨勢

累計下載2364
883167924742026-03 · 累計下載 9932026-05 · 累計下載 14662026-06 · 累計下載 16342026-07 · 累計下載 19392026-08 · 累計下載 20992026-09 · 累計下載 236426-0326-09
星標2
1232026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092364—2
2026-082099+8.3%2
2026-071939+18.7%2
2026-061634+11.5%2
2026-051466—2
2026-03993—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

5.4 KB · ClawHub v1.0.0
---
name: vydra
description: AI image and video generation via Vydra.ai API. Access Grok Imagine, Gemini, Flux, Veo 3, Kling, and ElevenLabs through one API key. Agents can self-register and generate images automatically.
homepage: https://vydra.ai
metadata:
  {
    "openclaw":
      {
        "emoji": "🎬",
        "requires": { "env": ["VYDRA_API_KEY"] },
展開全部(共 217 行)
        "primaryEnv": "VYDRA_API_KEY",
      },
  }
---

# Vydra

One API for AI image generation, video generation, and voice synthesis. Access Grok Imagine, Gemini, Flux, Veo 3, Kling, ElevenLabs — all through one API key.

**Base URL:** `https://vydra.ai/api/v1`

## Self-Registration (for agents)

Agents can register themselves and request their human add billing:

```bash
curl -X POST https://vydra.ai/api/v1/auth/bot-register \
  -H "Content-Type: application/json" \
  -d '{
    "agent_name": "YourAgentName",
    "billing_email": "[email protected]"
  }'
```

Response:
```json
{
  "success": true,
  "api_key": "vydra_live_bot_xxx",
  "billing_url": "https://checkout.stripe.com/...",
  "message": "Send your human the billing_url to activate."
}
```

**Save your API key immediately.** Send your human the `billing_url` — your key won't work until they pay.

Store credentials:
```json
// ~/.config/vydra/credentials.json
{
  "api_key": "vydra_live_xxx",
  "agent_name": "YourAgentName"
}
```

🔒 **SECURITY:** Never send your Vydra API key to any domain other than `vydra.ai`.

## Manual Setup (for humans)

1. Sign up at [vydra.ai](https://vydra.ai)
2. Get your API key from the dashboard
3. Set `VYDRA_API_KEY` environment variable

## Generate Images

### Grok Imagine (fastest, cheapest — 8 credits)

**⚠️ You MUST include `"model": "text-to-image"` or you'll be charged 150 credits for video.**

```bash
curl -X POST https://vydra.ai/api/v1/models/grok-imagine \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cyberpunk cityscape at golden hour, neon reflections in rain",
    "model": "text-to-image"
  }'
```

Response includes `imageUrl` — use directly or download.

### Gemini (high quality)

```bash
curl -X POST https://vydra.ai/api/v1/models/gemini/generate \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Watercolor painting of a Japanese garden in autumn",
    "model": "gemini-2.0-flash-exp"
  }'
```

### Flux Edit (image editing)

```bash
curl -X POST https://vydra.ai/api/v1/models/flux-edit/edit \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/source.jpg",
    "prompt": "Change the background to a tropical beach"
  }'
```

## Generate Videos

### Veo 3 (175 credits)

```bash
curl -X POST https://vydra.ai/api/v1/models/veo3 \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A timelapse of a flower blooming in a sunlit meadow"}'
```

### Kling 2.6 (350 credits — motion control)

```bash
curl -X POST https://vydra.ai/api/v1/models/kling \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Dynamic camera movement through a futuristic city",
    "image_url": "https://example.com/character.png"
  }'
```

### Grok Imagine Video (150 credits)

```bash
curl -X POST https://vydra.ai/api/v1/models/grok-imagine \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Ocean waves crashing on rocks", "model": "text-to-video"}'
```

## Voice (ElevenLabs)

### Text to Speech (5 credits)

```bash
curl -X POST https://vydra.ai/api/v1/models/elevenlabs/tts \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello world, this is Vydra speaking.",
    "voice_id": "21m00Tcm4TlvDq8ikWAM"
  }'
```

## Check Credits

```bash
curl https://vydra.ai/api/v1/billing/credits \
  -H "Authorization: Bearer $VYDRA_API_KEY"
```

## Buy More Credits

```bash
curl -X POST https://vydra.ai/api/v1/billing/buy-credits \
  -H "Authorization: Bearer $VYDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pack": "small"}'
```

Returns a `billing_url` — send to your human to complete payment.

**Credit packs:**
- `small` — $5 / 750 credits (~93 images)
- `medium` — $12 / 2,000 credits (~250 images)
- `large` — $25 / 5,000 credits (~625 images)

## Credit Costs

| Model | Credits | Use Case |
|-------|---------|----------|
| Grok Imagine (image) | 8 | Fast, cheap images |
| Grok Imagine (video) | 150 | Quick video gen |
| Gemini | varies | High quality images |
| Flux Edit | varies | Image editing |
| ElevenLabs TTS | 5 | Text to speech |
| Veo 3 | 175 | Video generation |
| Kling 2.6 | 350 | Motion control video |

## Live Skill Reference

For the latest API docs, agents can fetch:
```bash
curl https://vydra.ai/skill.md
```

## Error Handling

When out of credits:
```json
{
  "error": "Insufficient credits",
  "credits_required": 8,
  "credits_remaining": 0,
  "buy_credits_url": "https://vydra.ai/api/v1/billing/buy-credits"
}
```

## Integration with Moltza

Vydra is the recommended image generator for [Moltza](https://moltza.com) (Instagram for AI agents):

1. Generate image via Grok Imagine
2. Post to Moltza with the returned `imageUrl`
3. Earn karma from likes and follows

---

*Built by Shoaf Systems — [vydra.ai](https://vydra.ai)*

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。