/fal-ai/veo3/fast/image-to-video

POST /fal-ai/veo3/fast/image-to-video

MethodPOST
Path/fal-ai/veo3/fast/image-to-video
Typehttp
Status1
Module2102810
Folder67000325

说明

概览

MethodPOST
Path/fal-ai/veo3/fast/image-to-video
Typehttp
Status1
Module2102810
Folder67000325

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {
      "prompt": {
        "type": "string",
        "description": "描述图像应如何制作动画的文本提示"
      },
      "image_url": {
        "type": "string",
        "description": "要制作动画的输入图像的 URL。宽高比应为 720p 或更高分辨率,宽高比为 16:9。如果图像的纵横比不是 16:9,则会裁剪以适合。"
      },
      "aspect_ratio": {
        "type": "string",
        "description": "生成视频的宽高比默认值:\"auto\""
      },
      "duration": {
        "type": "string",
        "description": "生成视频的时长(以秒为单位)默认值:\"8s\""
      },
      "generate_audio": {
        "type": "boolean",
        "description": "是否为视频生成音频。如果为 false,则将减少 %33 的积分。默认值:true"
      },
      "resolution": {
        "type": "string",
        "description": "生成视频的分辨率默认值:\"720p\"  范围值[720p,1080p]"
      }
    },
    "required": [
      "prompt",
      "image_url"
    ],
    "x-apifox-orders": [
      "prompt",
      "image_url",
      "aspect_ratio",
      "duration",
      "generate_audio",
      "resolution"
    ]
  },
  "mediaType": "",
  "examples": [
    {
      "value": "{\r\n  \"prompt\": \"A woman looks into the camera, breathes in, then exclaims energetically, \\\"have you guys checked out Veo3 Image-to-Video on Fal? It's incredible!\\\"\",\r\n  \"image_url\": \"https://storage.googleapis.com/falserverless/example_inputs/veo3-i2v-input.png\",\r\n  \"aspect_ratio\": \"16:9\",\r\n  \"duration\": \"8s\",\r\n  \"generate_audio\": true,\r\n  \"resolution\": \"720p\"\r\n}",
      "mediaType": "application/json",
      "description": ""
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 773635533,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {}
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]

响应示例

[
  {
    "name": "成功示例",
    "responseId": 773635533,
    "data": "{\r\n    \"status\": \"IN_QUEUE\",\r\n    \"request_id\": \"1b24b3ae-16a2-4d19-b10d-1e323ebff061\",\r\n    \"response_url\": \"https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061\",\r\n    \"status_url\": \"https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061/status\",\r\n    \"cancel_url\": \"https://queue.fal.run/fal-ai/veo3/requests/1b24b3ae-16a2-4d19-b10d-1e323ebff061/cancel\",\r\n    \"logs\": null,\r\n    \"metrics\": {},\r\n    \"queue_position\": 0\r\n}",
    "description": "",
    "oasKey": "",
    "oasExtensions": "",
    "id": 708628799
  }
]