Skip to content

Crear tarea

POST
/tencent-vod/v1/aigc-video
  • Crear tarea
  • Official docs: https://cloud.tencent.com/document/product/266/126240

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
object

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

object

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

object

Reserved for special use.
Example: myextinfo

object[]

List of up to three reference images for video generation.

Models supporting multiple images:

  1. GV: multi-image mode cannot use LastFrameFileId/LastFrameUrl.
  2. Vidu: multi-image reference video; q2 supports 1–7 images via ObjectId in FileInfos.

Note:

  1. Max image size 10 MB.
  2. Formats: jpeg, png.

Media URL used as the last frame for video generation. Notes:

  1. 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.
  2. Image size must be under 5 MB.
  3. 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

Éxito

application/json

Playground

Authorization
Body

Samples