4Z API

Vincent Video

Endpoint: POST https://4zapi.com/ent/v2/text2video

Generate videos based on text prompt words.

Request body (application/json)

  • model (string, required): Model name
  • prompt (string, required): text prompt word
  • aspect_ratio (string): Aspect ratio, e.g. 16:9, 9:16, 1:1 ["16:9", "9:16", "4:3", "3:4", "1:1", "auto"]
  • bgm (boolean): Whether to add background music
  • callback_url (string): Task completion callback URL
  • duration (integer): Video duration (seconds)
  • resolution (string): Resolution, such as 720p/1080p
  • seed (integer): Random seed, 0 is random
  • style (string): Style parameter ["general", "anime"]
  • watermark (boolean): Whether to add watermark

Request example

{
  "aspect_ratio": "16:9",
  "duration": 5,
  "model": "viduq2",
  "prompt": "一只猫在草地上奔跑"
}