Rawswitch
  • Routing
  • Docs
ENKOJAZH
ContactGet API key

Browse

  • All models
  • Image
  • Video

Routes

  • Direct supplier API
  • Partner gateway
  • Self-hosted NPU
Featured
Product attributes on our own NPU

Product

  • Routing API
  • Models
  • Playground
  • Beyond shared routes

Models

  • Image
  • Video
  • Nano Banana 2.1
  • GPT Image 2.6
  • Kling 4.0
  • Product Attributes
  • All models

Routes

  • Direct supplier API
  • Partner gateway
  • Self-hosted NPU
  • Bring your own key

Developers

  • API reference
  • Agent prompts
  • llms.txt
  • Webhooks

Resources

  • Docs
  • Request lifecycle
  • Files

Company

  • Contact
  • Get an API key
One keyEvery model
Queue firstNo dropped requests
Same-model failoverNo silent swaps
Visible routingserved_by + attempts
Signed webhooksStandard Webhooks
Cost per requestLogged
© 2026 Rawswitch
TermsPrivacy
Preview build

Kling 4.0 Image to Video

Kling (Kuaishou)Image to VideoLive
SchemaAPI docs
kling/kling-4.0-image-to-video
Text to videoImage to videoReference to videoVideo editing
$0.24675 / sec · 1080p
Commercial useSupplier terms
PlaygroundAPI

Input

stringoptional

Optional. How the frames should move: the motion and the camera.

filerequired

Hint: pick a file or paste a URL and press Enter. In this preview files stay in your browser; the real API uploads them through POST /v1/files.

  • files.rawswitch.example/samples/mug.jpg

1 image added

filesoptional

Hint: pick a file or paste a URL and press Enter. In this preview files stay in your browser; the real API uploads them through POST /v1/files.

fileoptional

Hint: pick a file or paste a URL and press Enter. In this preview files stay in your browser; the real API uploads them through POST /v1/files.

numberDefault: 5
enumDefault: "1080p"
booleanDefault: false

$0.24675 / sec · 1080p · This is a mock run: no request leaves this page.

Result

Idle
No result yetFill in the input and press Run.

path partner/gateway · Partner gateway

Kling 4.0 Image to Video

Animates a start image into a 3–30 second video, with optional keyframes and end frame, at 720p, 1080p or 4k.

Give a start image, and optionally up to eight keyframes and an end image to pass through.

Billed per second of the requested length by resolution; HDR adds a per-second fee at 1080p and 4k.

Paths behind this model

PathTypeState
partner/gatewayPartner gatewayPrimary

If the primary path fails, the same model is retried on the next path. Rawswitch never swaps in a different model unless you ask for it.

Open API docs