image-to-video

Create video from image - Veo 3.1 Fast

Generate a video from an image using Google Veo 3.1 Fast model. Faster generation at a lower cost.

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

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/image-to-video/veo-3-1-fast
  • 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).

image_endstring

Optional last frame the video interpolates towards. Supports Base64 encoding or HTTPS URL (must be publicly accessible). Requires image.

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.

resolution'720p' | '1080p' | '4k'

Resolution of the generated video.

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",
  "image_end": "https://example.com/image-end.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.