작업 생성
- 작업 생성
- Official docs: https://cloud.tencent.com/document/product/266/126240
Authorizations
Request Body
Prompt
Prompt to prevent the model from generating certain video content.
Example: red
Whether to auto-optimize the prompt. When enabled, optimizes the input prompt for quality. Values:
Enabled:Enabled;
Disabled:Disabled;
Example: Enabled
Output media configuration for the video generation task.
Deduplication ID. Duplicate IDs within three days return an error. Max 50 characters; omit or use empty string to disable deduplication.
Example: mysession
Session context passed through user request data; returned in completion callbacks. Max 1000 characters.
Example: mySessionContext
Task priority (-10 to 10); higher is higher priority; default 0 if omitted.
Example: 10
Reserved for special use.
Example: myextinfo
List of up to three reference images for video generation.
Models supporting multiple images:
- GV: multi-image mode cannot use LastFrameFileId/LastFrameUrl.
- Vidu: multi-image reference video; q2 supports 1–7 images via ObjectId in FileInfos.
Note:
- Max image size 10 MB.
- Formats: jpeg, png.
Media URL used as the last frame for video generation. Notes:
- Supported for GV, Kling, and Vidu only. GV requires FileInfos as the first frame. Kling 2.1 with 1080P resolution, or Vidu q2-pro/q2-turbo, is required to set this field.
- Image size must be under 5 MB.
- Formats: jpeg, jpg, png, webp.
Example: https://test.com/1.png
Model name. Values:
Hailuo:Hailuo: Hailuo;
Kling:Kling: Kling;
Vidu;
Example: GV
Model version. Values:
Hailuo: 02, 2.3, 2.3-fast;
Kling: 1.6, 2.0, 2.1, 2.5, O1, 3.0, 3.0-Omni;
Vidu: q2, q2-pro, q2-turbo, q3-pro, q3-turbo;
Example: 2.3
Scene type. Values:
When ModelName is Kling:
motion_control motion_control: motion control;
avatar_i2v avatar_i2v: digital human;
lip_sync lip_sync: lip sync;
Other ModelName values are not supported.
Example: motion_control
Responses
성공