Skip to main content
POST
Domestic Video Model Generation

Domestic Video Model Generation

Method and Path

Request Example

Fields

model
string
required
Model name. You can pass either a base model directly or a bundled billing model.
prompt
string
required
Prompt.
seconds
string | integer
Duration. The top-level seconds has the highest priority.
duration
integer
Duration compatibility field.
size
string
Quick size field, such as 720x1280 or 1280x720.
image
string
Single reference image or first-frame image.
images
array<string>
Multiple reference images.
input_reference
string | array<string>
Reference image input, compatible with URL, base64, data URI, and file upload.
metadata
object
Extended parameters. Commonly used metadata.output_config, scene_type, motion_level, offpeak, video_url, file_infos, ext_info.

Scenarios

Rules

  • seconds / duration can be placed at the top level or in metadata
  • The top-level duration has the highest priority
  • scene_type=motion_control must provide a video reference
  • scene_type=lip_sync is counted as 5 seconds if it is less than 5 seconds
  • FileInfos can contain up to 3 items

metadata.output_config

Common fields:
  • resolution
  • aspect_ratio
  • audio_generation
  • duration
  • person_generation
  • input_compliance_check
  • output_compliance_check
  • enhance_switch
  • frame_interpolate
  • logo_add