4Z API

Create video generation

Endpoint: POST https://4zapi.com/luma/v1/generations

Luma GoAmz-compatible · create video generation (POST /luma/v1/generations).

Request body (application/json)

  • user_prompt (string, required): Video description
  • aspect_ratio (string): Aspect ratio, e.g. 16:9, 9:16, 1:1 ["16:9", "9:16", "1:1"]
  • expand_prompt (boolean): Whether to expand the prompt
  • image_url (string): Starting frame image URL
  • loop (boolean): Whether to loop