image-to-video

Create video from image - Veo 3.1 Lite

Generate a video from an image using Google Veo 3.1 Lite. A cost-efficient variant of Veo 3.1 supporting 720p and 1080p resolutions with optional native audio generation.

post/v1/ai/image-to-video/veo-3-1-lite

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/image-to-video/veo-3-1-lite
  • Auth: API key in header x-magnific-api-key

Request body

webhook_urlstring uri

Webhook URL to notify when the task is completed

imagestring required

Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).

promptstring required

Text prompt describing the video to generate

negative_promptstring

Text describing what to avoid in the generated video

duration4 | 6 | 8

Duration of the generated video in seconds (4, 6, or 8).

resolution'720p' | '1080p'

Resolution of the generated video. Veo 3.1 Lite supports 720p and 1080p.

aspect_ratio'16:9' | '9:16'

Aspect ratio of the generated video. 16:9 for landscape, 9:16 for portrait.

generate_audioboolean

Whether to generate audio for the video

seedinteger

Random seed for reproducibility

Example request

{
  "image": "https://example.com/image.jpg",
  "prompt": "The subject slowly turns their head and smiles"
}

Response

OK - The task exists and the status is returned

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.