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

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

Input

stringrequired

What happens in the video: the scene, the motion and the camera.

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

$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

Generates a 3–30 second video from a text prompt at 720p, 1080p or 4k, with optional HDR.

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