image-to-video

WAN 2.2 580p - Create video from image

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

post/v1/ai/image-to-video/wan-v2-2-580p

Request

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

Request body

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.

imagestring 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.

promptstring

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

seedinteger

Random seed for video generation.

Example request

{
  "webhook_url": "https://www.example.com/webhook",
  "image": "https://img.freepik.com/free-photo/beautiful-girl-dancing_123456-7890.jpg",
  "prompt": "A beautiful girl opens her eyes and smiles warmly, the camera gently zooms in capturing the sparkle in her eyes, soft natural lighting",
  "duration": "5",
  "aspect_ratio": "auto",
  "seed": 70
}

Response

OK - Task created successfully

Example response

{
  "data": {
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

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