Video: Text-to-Video

kling-o1-text-to-video (best)

Generate videos from text using Kling O1 (unified generation+editing, native audio, video reference). Input: text prompt, optional video reference. Output: video. Use for: advanced AI video generation, reference-based video creation.

post/api/v1/kling-o1-text-to-video

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/kling-o1-text-to-video
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

webhookstring
team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

promptstring required
webhook_urlstring uri nullable
aspect_ratio'16:9' | '9:16' | '1:1'
duration5 | 10

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.