Generate Video
AI-generatedSummary
Generate a video from a text description using Duomi AI Kling models with customizable parameters.
Inputs
- Prompt (required) — The text description to guide the video generation.
- Negative Prompt — Text to specify elements to exclude from the generated video.
- Duration — Selects the video length, either 5 or 10 seconds.
- Aspect Ratio — Choose the video's aspect ratio: 16:9 (landscape), 9:16 (portrait), or 1:1 (square).
- Mode — Choose generation mode: standard or professional.
- Model Name — Specifies the AI model to use for video generation, default is 'kling-v1-6'.
- CFG Scale — A number from 0 to 1 representing creativity relevance or adherence to the prompt.
Output shape
a single JSON object containing the API response for the video generation request
The output includes data returned from the Duomi API about the submitted video generation task, such as a task ID or status. This operation initiates generation but does not wait for completion; use the separate 'Get Video Status' operation to track progress.