AI Video GeneratorAPI

Generate high-quality videos from text prompts using advanced AI models

video generation~10 credits/callv1.0.0

Endpoint

endpoint
POST https://backend.aaddyy.com/api/ai/video-generation

Authentication

header
Authorization: Bearer YOUR_API_KEY

Parameters

Required

promptrequired

Optional

aspect_ratio
duration
loop
model

Example Request

cURL
curl -X POST https://backend.aaddyy.com/api/ai/video-generation \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A serene mountain landscape at sunset"
  }'

Request Body

json
{
  "prompt": "A serene mountain landscape at sunset"
}

Example Response

json
{
  "success": true,
  "message": "AI Video Generator completed successfully",
  "timestamp": "2026-05-16T12:19:13.511Z",
  "requestId": "req_j7gu5ijvg",
  "data": {
    "cost": 0.1,
    "remainingCredits": 9.95,
    "video": {
      "url": "https://example.com/generated-video-abc.mp4",
      "duration": 5,
      "format": "mp4",
      "aspect_ratio": "16:9"
    }
  }
}

SDK

javascript
import { AADDYY } from 'aaddyy'

const client = new AADDYY()
const result = await client._request('POST', '/api/ai/video-generation', {
  "prompt": "A serene mountain landscape at sunset"
})

Install: npm install aaddyy

Pricing

~10 credits (~$0.10) per request

Rate Limits

10 requests per 1m

Burst: 3