AI Video GeneratorAPI

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

video generation~10 credits/callv1.0.0

Endpoint

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

Authentication

Authorization: Bearer YOUR_API_KEY

Parameters

Required

promptrequired

Optional

aspect_ratio
duration
loop
model

Example Request

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

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

Example Response

{
  "success": true,
  "message": "AI Video Generator completed successfully",
  "timestamp": "2026-04-01T22:36:10.275Z",
  "requestId": "req_6omycvim0",
  "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

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