image-to-video

PixVerse V5 - Create video from image

Generate a video using the PixVerse-V5 model. Resolution is specified in the request body.

post/v1/ai/image-to-video/pixverse-v5

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/image-to-video/pixverse-v5
  • Auth: API key in header x-magnific-api-key

Request body

promptstring required

Prompt describing the video to generate

resolution'360p' | '540p' | '720p' | '1080p'

The resolution of the generated video

duration5 | 8

The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds

negative_promptstring

Negative prompt to be used for the generation

style'anime' | '3d_animation' | 'clay' | 'cyberpunk' | 'comic'

The style of the generated video

seedinteger

The same seed and the same prompt given to the same version of the model will output the same video every time

image_urlstring uri required

URL of the image to use as the first frame

webhook_urlstring uri

Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.

Example request

{
  "style": "anime",
  "webhook_url": "https://www.example.com/webhook"
}

Response

OK

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.