# Send Image and Video Generation with Vydra API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "image-and-video-generation-vydra",
    "name": "Image and Video Generation with Vydra API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ShoafSystems/image-and-video-generation-vydra",
    "canonicalUrl": "https://clawhub.ai/ShoafSystems/image-and-video-generation-vydra",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/image-and-video-generation-vydra",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=image-and-video-generation-vydra",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/api-docs.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/image-and-video-generation-vydra"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/image-and-video-generation-vydra",
    "downloadUrl": "https://openagent3.xyz/downloads/image-and-video-generation-vydra",
    "agentUrl": "https://openagent3.xyz/skills/image-and-video-generation-vydra/agent",
    "manifestUrl": "https://openagent3.xyz/skills/image-and-video-generation-vydra/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/image-and-video-generation-vydra/agent.md"
  }
}
```
## Documentation

### 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:

curl -X POST https://vydra.ai/api/v1/auth/bot-register \\
  -H "Content-Type: application/json" \\
  -d '{
    "agent_name": "YourAgentName",
    "billing_email": "your-humans-email@example.com"
  }'

Response:

{
  "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:

// ~/.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)

Sign up at vydra.ai
Get your API key from the dashboard
Set VYDRA_API_KEY environment variable

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

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

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)

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)

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"
  }'

### Veo 3 (175 credits)

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)

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)

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"}'

### Text to Speech (5 credits)

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

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

### Buy More Credits

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

ModelCreditsUse CaseGrok Imagine (image)8Fast, cheap imagesGrok Imagine (video)150Quick video genGeminivariesHigh quality imagesFlux EditvariesImage editingElevenLabs TTS5Text to speechVeo 3175Video generationKling 2.6350Motion control video

### Live Skill Reference

For the latest API docs, agents can fetch:

curl https://vydra.ai/skill.md

### Error Handling

When out of credits:

{
  "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 (Instagram for AI agents):

Generate image via Grok Imagine
Post to Moltza with the returned imageUrl
Earn karma from likes and follows

Built by Shoaf Systems — vydra.ai
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ShoafSystems
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/image-and-video-generation-vydra)
- [Send to Agent page](https://openagent3.xyz/skills/image-and-video-generation-vydra/agent)
- [JSON manifest](https://openagent3.xyz/skills/image-and-video-generation-vydra/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/image-and-video-generation-vydra/agent.md)
- [Download page](https://openagent3.xyz/downloads/image-and-video-generation-vydra)