---
title: "PixVerse V5 - Create video from image"
method: POST
path: "/v1/ai/image-to-video/pixverse-v5"
tags: ["image-to-video"]
---

# PixVerse V5 - Create video from image

`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`

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

## Request body

- Request3
  - `prompt` string, required: Prompt describing the video to generate
  - `resolution` '360p' | '540p' | '720p' | '1080p': The resolution of the generated video
  - `duration` 5 | 8: The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds
  - `negative_prompt` string: Negative prompt to be used for the generation
  - `style` 'anime' | '3d_animation' | 'clay' | 'cyberpunk' | 'comic': The style of the generated video
  - `seed` integer: The same seed and the same prompt given to the same version of the model will output the same video every time
  - `image_url` string, uri, required: URL of the image to use as the first frame
  - `webhook_url` string, 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.

## Response `200`

OK

- GetStyleTransferTaskStatus200Response
  - `data` TaskDetail, required
    - `task_id` string, uuid, required: Task identifier
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Task status
    - `generated` string[], required

## Other responses

- `400`: Bad Request - The server could not understand the request due to invalid syntax.
- `401`: Unauthorized - The client must authenticate itself to get the requested response.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
- `503`: Service Unavailable

---

[API](https://skmtc.dev/magnific/apis/magnific-api.md) · [All operations](https://skmtc.dev/magnific/apis/magnific-api/llms.txt) · [OpenAPI document](https://skmtc.dev/magnific/apis/magnific-api/revisions/60711fb082c7?raw)
