/fal-ai/veo3

POST /fal-ai/veo3

MethodPOST
Path/fal-ai/veo3
Typehttp
Status1
Module2102810
Folder67000325

说明

官方文档地址:https://fal.ai/models/fal-ai/veo3

概览

MethodPOST
Path/fal-ai/veo3
Typehttp
Status1
Module2102810
Folder67000325

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {
      "prompt": {
        "type": "string"
      },
      "aspect_ratio": {
        "type": "string",
        "description": "生成视频的宽高比。如果设置为 1:1,视频将被外绘。默认值:\"16:9\",范围[16:9,9:16,1:1]"
      },
      "duration": {
        "type": "string",
        "description": "生成视频的时长(以秒为单位)默认值:\"8s\""
      },
      "enhance_prompt": {
        "type": "boolean",
        "description": "是否增强视频生成默认值:true"
      },
      "auto_fix": {
        "type": "boolean",
        "description": "是否通过重写来自动尝试修复未通过内容策略或其他验证检查的提示默认值:true"
      },
      "resolution": {
        "type": "string",
        "description": "生成视频的分辨率默认值:\"720p\"  范围值[720p,1080p]"
      },
      "generate_audio": {
        "type": "boolean",
        "description": "是否为视频生成音频。如果为 false,则将减少 %33 的积分。默认值:true"
      }
    },
    "required": [
      "prompt"
    ],
    "x-apifox-orders": [
      "prompt",
      "aspect_ratio",
      "duration",
      "enhance_prompt",
      "auto_fix",
      "resolution",
      "generate_audio"
    ]
  },
  "mediaType": "",
  "examples": [
    {
      "value": "{\r\n  \"prompt\": \"A casual street interview on a busy New York City sidewalk in the afternoon. The interviewer holds a plain, unbranded microphone and asks: Have you seen Google's new Veo3 model It is a super good model. Person replies: Yeah I saw it, it's already available on fal. It's crazy good.\",\r\n  \"aspect_ratio\": \"16:9\",\r\n  \"duration\": \"8s\",\r\n  \"enhance_prompt\": true,\r\n  \"auto_fix\": true,\r\n  \"resolution\": \"720p\",\r\n  \"generate_audio\": true\r\n}",
      "mediaType": "application/json",
      "description": ""
    }
  ],
  "oasExtensions": ""
}

响应

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

响应示例

[
  {
    "name": "成功示例",
    "responseId": 773097592,
    "data": "{\r\n    \"status\": \"IN_QUEUE\",\r\n    \"request_id\": \"57b19308-8d3e-4196-b8bf-5ca80fa90827\",\r\n    \"response_url\": \"https://queue.fal.run/fal-ai/veo3/requests/57b19308-8d3e-4196-b8bf-5ca80fa90827\",\r\n    \"status_url\": \"https://queue.fal.run/fal-ai/veo3/requests/57b19308-8d3e-4196-b8bf-5ca80fa90827/status\",\r\n    \"cancel_url\": \"https://queue.fal.run/fal-ai/veo3/requests/57b19308-8d3e-4196-b8bf-5ca80fa90827/cancel\",\r\n    \"logs\": null,\r\n    \"metrics\": {},\r\n    \"queue_position\": 0\r\n}",
    "description": "",
    "oasKey": "",
    "oasExtensions": "",
    "id": 708619282
  }
]