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 Video Edit

Kling (Kuaishou)Video to VideoLive
SchemaAPI docs
kling/kling-4.0-video-edit
Text to videoImage to videoReference to videoVideo editing
$0.14805 / sec · 1080p, input + output seconds
Commercial useSupplier terms
PlaygroundAPI

Input

stringrequired

The change to make. Refer to the video as @Video1 and to images as @Image1, @Image2, …

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/walk.mp4

1 video 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.

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.

booleanDefault: false
enumDefault: "1080p"
booleanDefault: false
enumoptional

$0.14805 / sec · 1080p, input + output seconds · 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 Video Edit

Edits a 3–30 second video from a written instruction at 720p, 1080p or 4k.

The result keeps the length of the input video. Refer to the input video as @Video1 and to reference images as @Image1, @Image2, … in the prompt.

Billed per billable second: the input length plus the output length, which is twice the output length here. HDR adds a fee per output second 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