---
title: "WAN 2.2 720p - Create video from image"
method: POST
path: "/v1/ai/image-to-video/wan-v2-2-720p"
tags: ["image-to-video"]
---

# WAN 2.2 720p - Create video from image

`POST /v1/ai/image-to-video/wan-v2-2-720p`

## Request

- Base URL: `https://api.magnific.com`
- URL: `https://api.magnific.com/v1/ai/image-to-video/wan-v2-2-720p`
- Auth: API key in header `x-magnific-api-key`

Generate a video from image using the WAN 2.2 720p model.

## Request body

- ItvwanV22720pRequestContent
  - `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.
  - `image` string, required: The image to use for the video generation. Supported formats: URL of the image or base64 encoding of the image. Each dimension (width and height) must be between 240px and 8000px. Accepted image formats: JPEG, PNG, WebP. Maximum file size: 10MB.
  - `prompt` string: The text content used for the video generation. This is the main description of the video to be generated.
  - `duration` '5' | '10': Video duration in seconds
  - `aspect_ratio` 'auto' | 'widescreen_16_9' | 'social_story_9_16' | 'square_1_1' | 'classic_4_3': Video aspect ratio.`
  - `seed` integer: Random seed for video generation.

## Response `200`

OK - Task created successfully

- CreateImageFromTextFlux200Response
  - `data` Task, required
    - `task_id` string, uuid, required: Task identifier
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Task status

## 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)
