Kling 2.1 Pro image-to-video — professional fidelity with camera and motion control.
$0.63 per 5s clip · up to $1.26 per 10s
video model · per second of generated video (5s or 10s clips) · one API key, one prepaid balance, no deployment.
Get an API keycurl -X POST https://gpu.swarmdo.com/api/managed/kling-2-1-pro/runsync \
-H "Authorization: Bearer $SWARMDO_API_KEY" -H "content-type: application/json" \
-d '{"input":{"prompt":"a slow dolly-in on a lighthouse at dusk","image":"https://example.com/frame.png","duration":5}}'
{"id":"…","status":"COMPLETED","output":{"video_url":"https://…/out.mp4"}} ← x-swarmdo-charged-cents header carries the charge
| Clip lengths sold | 5, 10 seconds — any other duration is refused (400), and an unstated one is pinned to 5s |
| Long jobs | A job that outlives the call returns an id; poll GET /api/managed/kling-2-1-pro/status/{jobId}. The bill settles against what was actually generated. |
| Output retention | The URL in the reply stays downloadable for 7d; copy the file to your own storage before then. |
| Billing | per second of generated video (5s or 10s clips); prepaid credit, charged only when the call succeeds; the charge is returned in the x-swarmdo-charged-cents header |
All hosted models: /models · full reference: /docs · SDK: npm i @swarmdo/gpu-sdk · MCP: npx -y @swarmdo/gpu-mcp