AI Image & Video Generation API

Professional API for generating high-quality images and videos with transparent credit-based pricing.

🚀 Quick Start

1. Register for an account and get your token:

curl -X POST ulazai.com/api/register/ \
  -H "Content-Type: application/json" \
  -d '{"username":"user","email":"[email protected]","password":"secure123"}'

2. Generate an image:

curl -X POST ulazai.com/api/v1/generate/ \
  -H "Authorization: Token YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A beautiful sunset over mountains","size":"1:1"}'

Image Generation

High-quality images in 15-30 seconds. Multiple sizes: 1:1, 3:2, 2:3.

24 credits per image

Video Generation

Veo3-powered videos in 60-90 seconds. Text-to-video and image-to-video.

240-500 credits per video

Secure API Keys

Token and API Key authentication. Full audit logging and usage tracking.

Up to 5 keys per user

Essential Endpoints

Authentication

POST /api/register/
Create account
POST /api/login/
Get token
POST /api/api-keys/
Create API key

Generation

POST /api/v1/generate/
Generate image
POST /api/v1/generate/video/
Generate video
GET /api/v1/generate/{id}/
Check status

💰 Credit Pricing

Images

• All sizes (1:1, 3:2, 2:3): 24 credits

• Generation time: 15-30 seconds

• High quality guaranteed

Videos

• veo3_fast: 240 credits

• veo3 premium: 500 credits

• Generation time: 60-120 seconds

💡 Pricing example: $10 = 2,400 credits = ~100 images or ~5-10 videos