🎉 Free generations on your first purchase of each pack — up to 20 Lite videos + 20 Lite images + 10 Medium videos + 10 Pro images + 2 Pro videos.

Get started

Models and account

Two read endpoints complete the API: the public model list and the authenticated account snapshot. Use them before spending credits.

GET /v1/models

Public, no key required. It returns every tier's limits and the exact credit matrix the API charges.

response
{
  "video": [
    {
      "id": "lite",
      "resolutions": ["480p", "720p"],
      "min_duration": 5,
      "max_duration": 10,
      "supports_audio": false,
      "prices": { "480p": { "5": 3 }, "720p": { "5": 3 } }
    }
  ],
  "image": [
    {
      "id": "lite",
      "resolutions": ["2k"],
      "aspect_ratios": ["1:1", "4:3", "16:9", "9:16", "adaptive"],
      "max_reference_images": 3,
      "credits": 1
    }
  ],
  "max_prompt_length": 8000
}
  • video

    Values
    one object per video tier: id, resolutions, min_duration, max_duration, supports_audio, and prices (resolution → duration → credits)
  • image

    Values
    one object per image tier: id, resolutions, aspect_ratios, max_reference_images, credits
  • max_prompt_length

    Values
    the character limit for prompt (8,000)

GET /v1/account

Authenticated. Returns the credit balance, plan flags and the identity of the key you used.

response
{
  "credits": 120,
  "is_paid": true,
  "is_premium": false,
  "key": { "id": 12, "name": "my-script", "prefix": "du_live_ab12" }
}
  • credits

    Values
    available generation credits
  • is_paid

    Values
    whether the account has bought credits
  • is_premium

    Values
    whether the account can request audio on pro
  • key

    Values
    the key that made this request: id, name and prefix, never the secret

Check credits before a batch, and read prices instead of hard-coding costs. A 402 means the balance is short; nothing was charged.

© 2026 DreamUtopia. All rights reserved.