Integrate AI generation into your app in minutes.
Include your API key in every request:
X-API-Key: cp_yourkey123...
Get your API key from the dashboard.
/api/generate{
"kind": "video", // "video" or "image"
"model": "seedance-2.0-fast", // model name
"prompt": "a cat dancing in rain", // required
"aspect": "9:16", // "9:16", "16:9", "1:1", "4:3"
"duration": 5, // 5 or 10 (video only)
"init_image_url": "https://..." // optional (image-to-video)
}{
"ok": true,
"jobs": [{
"ok": true,
"urls": ["https://cdn.leonardo.ai/.../video.mp4"],
"cost": 1209
}]
}seedance-2.0seedance-2.0-fastkling-3.0kling-3.0-turbohailuo-2_3hailuo-2_3-fastveo-3.1-fast-generate-001veo-3.1-litesora-2-prosora-2ltxv-2.0-ultraflux-2.1-prophoenix-1.0stable-diffusion-xl| Type | PKR | USD |
|---|---|---|
| Text to Video | PKR 10 | $0.035 |
| Image to Video | PKR 15 | $0.053 |
| Text to Image | PKR 5 | $0.018 |
curl -X POST https://createpulse.online/api/generate \
-H "X-API-Key: cp_yourkey123" \
-H "Content-Type: application/json" \
-d '{
"kind": "video",
"model": "seedance-2.0-fast",
"prompt": "astronaut floating in space, cinematic",
"aspect": "9:16",
"duration": 5
}'| Code | Meaning |
|---|---|
401 | Invalid or missing API key |
402 | Insufficient balance |
400 | Bad request (missing prompt, invalid model) |
500 | Server error (try again) |