curl --location --request POST 'https://app-api.pixverse.ai/openapi/v2/image/upload' \
--header 'API-KEY:your-api-key' \
--header 'Ai-trace-id: your-Ai-trace-id' \
--form 'image=@""'
Parameter Name | Required | Type | Description |
---|---|---|---|
image_references | Required | array | Array of reference images (1–3 items), including subjects and/or backgrounds |
prompt | Required | string | To accurately describe the scene, use @ref_name in the prompt. 1. A space must follow @ref_name , e.g., @cat plays 2. The @name used in the prompt must exactly match the ref_name in image_references . |
model | Required | string | Model version, supported in model v4.5 and above |
duration | Required | int | Video duration in seconds, supported 5, 8 |
quality | Required | string | Video resolution |
aspect_ratio | Required | string | Video aspect ratio |
seed | Optional | int | Random seed (used for result reproduction) |